java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (javax.jdo.JDOPermission getMetadata) at java.security.AccessControlContext.checkPermission(AccessControlContext.java

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

Solutions on the web

via Oracle Community by 3004, 1 year ago
java.security.AccessControlException: access denied (javax.jdo.JDOPermission getMetadata) at java.security.AccessControlContext.checkPermission(AccessControlContext.java
via Oracle Community by 843802, 1 year ago
java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.windowOnTop)at java.security.AccessControlContext.checkPermission(Unknown Source)
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (javax.jdo.JDOPermission getMetadata) at java.security.AccessControlContext.checkPermission(AccessControlContext.java
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at javax.jdo.JDOImplHelper.getInstance(JDOImplHelper.java:61)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.(PersistenceManagerImpl.java:52)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at com.solarmetric.kodo.runtime.JDOVersion.checkValid(JDOVersion.java:31)
at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.(SchemaTool.java:66)
at com.solarmetric.kodo.impl.jdbc.schema.DB.getPersistentTypes(DB.java:253)
at com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDBCPersistenceManagerFactory.java:171)
at com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.privateSetup(PersistenceManagerFactoryImpl.java:504)
at com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:61)
at com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:50)
at tutorial.JDOFactory.getPersistenceManager(Unknown Source)
at tutorial.SavingsAccountBean.setEntityContext(Unknown Source)
at com.sun.ejb.containers.EntityContainer.getPooledEJB(EntityContainer.java:1205)
at com.sun.ejb.containers.EntityContainer.getContext(EntityContainer.java:194)
at tutorial.SavingsAccountBean_RemoteHomeImpl.create(SavingsAccountBean_RemoteHomeImpl.java:41)
at tutorial._SavingsAccountBean_RemoteHomeImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:519)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:204)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC..java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)

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.

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