java.security.AccessControlException: Type "sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl" not allowed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 2803989, 1 year ago
java.security.AccessControlException: Type "sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl" not allowed.
at oracle.cloud.jcs.scanning.impl.extension.access.MemberAccessValidator.checkClassAccess(MemberAccessValidator.java:41)
at oracle.cloud.jcs.scanning.impl.extension.access.MemberAccessValidator.validateReturnObject(MemberAccessValidator.java:32)
at oracle.cloud.jcs.scanning.impl.extension.CloudInvocationHandlerAdapter.invoke(CloudInvocationHandlerAdapter.java:88)
at oracle.cloud.jcs.security.SecurityManager_GRDBI29199zjmny.__fwd__hSaSbhvxIqnHpjK8bD22TBx3qy8__W6y_REF_POLICY_ID_509(SecurityManager_GRDBI29199zjmny.java:1226)
at com.sun.jersey.core.spi.component.ComponentInjector.getFieldValue(ComponentInjector.java:139)
at com.sun.jersey.core.spi.component.ComponentInjector.inject(ComponentInjector.java:84)
at com.sun.jersey.core.spi.component.ProviderFactory.injectOnProviderInstance(ProviderFactory.java:240)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:907)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:403)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:252)
at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:550)
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:201)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:307)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.