Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-1329

EntitlementException locale files missing from ClientSDK

    XMLWordPrintable

    Details

    • Rank:
      1|hzn2jj:

      Description

      When using the ClientSDK to create policies and an exception is thrown in OpenAM as a result of the operation, the resulting exception in the client is an EntitlementException but the locale bundle is missing in the client which results in a MissingResourceException on the client:

      java.util.MissingResourceException: Can't find bundle for base name EntitlementException, locale en_US
      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539)
      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:805)
      at com.sun.identity.entitlement.EntitlementException.getLocalizedMessage(EntitlementException.java:130)
      at com.sun.identity.entitlement.EntitlementException.<init>(EntitlementException.java:76)
      at com.sun.identity.entitlement.opensso.DataStore.add(DataStore.java:445)
      at com.sun.identity.entitlement.opensso.OpenSSOIndexStore.add(OpenSSOIndexStore.java:220)
      at com.sun.identity.entitlement.opensso.OpenSSOIndexStore.add(OpenSSOIndexStore.java:208)
      at com.sun.identity.policy.PolicyManager.replacePolicy(PolicyManager.java:778)

        Attachments

          Activity

            People

            peter.major Peter Major [X] (Inactive)
            markdr Mark de Reeper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: