You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Below exception is thrown when calling org.wso2.carbon.utils.i18n.Messages.getMessage() method.
"'Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.wso2.carbon.utils.i18n.Messages
at com.synchronoss.cloud.oauth2.token.handlers.grant.UserStoreUtils.decrypt(UserStoreUtils.java:146)
at com.synchronoss.cloud.oauth2.token.handlers.grant.CustomRefreshGrantHandler.issue(CustomRefreshGrantHandler.java:104)
at org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:301)
at org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:254)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:318)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 56 more
"
This error occurs because Messages class is not initialized at the run time because of another exception. That exception is as below.
"Caused by: java.util.MissingResourceException: Cannot find resource 'org.wso2.carbon.utils.i18n.resource'
at org.wso2.carbon.utils.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.java:251)
at org.wso2.carbon.utils.i18n.MessagesConstants.(MessagesConstants.java:29)
... 69 more
"
This exception happens because the resource.properties file is missing in the "org.wso2.carbon.utils.i18n" package.
Suggested Labels:
Suggested Assignees:
Affected Product Version:
4.6.0 and all the previous versions OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
The text was updated successfully, but these errors were encountered:
Description:
Below exception is thrown when calling org.wso2.carbon.utils.i18n.Messages.getMessage() method.
"'Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.wso2.carbon.utils.i18n.Messages
at com.synchronoss.cloud.oauth2.token.handlers.grant.UserStoreUtils.decrypt(UserStoreUtils.java:146)
at com.synchronoss.cloud.oauth2.token.handlers.grant.CustomRefreshGrantHandler.issue(CustomRefreshGrantHandler.java:104)
at org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:301)
at org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:254)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:318)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 56 more
"
This error occurs because Messages class is not initialized at the run time because of another exception. That exception is as below.
"Caused by: java.util.MissingResourceException: Cannot find resource 'org.wso2.carbon.utils.i18n.resource'
at org.wso2.carbon.utils.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.java:251)
at org.wso2.carbon.utils.i18n.MessagesConstants.(MessagesConstants.java:29)
... 69 more
"
This exception happens because the resource.properties file is missing in the "org.wso2.carbon.utils.i18n" package.
Suggested Labels:
Suggested Assignees:
Affected Product Version:
4.6.0 and all the previous versions
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
The text was updated successfully, but these errors were encountered: