java.lang.ExceptionInInitializerError

Exception #2515715

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Unknown by pattonjg,
  • via Unknown by Dimitris Andreadis,
  • Stack trace

    • java.lang.ExceptionInInitializerError at javax.crypto.SecretKeyFactory.nextSpi(SecretKeyFactory.java:295) at javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:121) at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:160) at oracle.jdevimpl.db.adapter.ReferenceWorker$PBEWorker.<init>(ReferenceWorker.java:129) at oracle.jdevimpl.db.adapter.ReferenceWorker.createDefaultWorker(ReferenceWorker.java:63) at oracle.jdevimpl.db.adapter.DefaultContextWrapper.createDefaultWorker(DefaultContextWrapper.java:239) at oracle.jdevimpl.db.adapter.DefaultContextWrapper.<init>(DefaultContextWrapper.java:129) at oracle.jdevimpl.db.adapter.DefaultContextWrapper.getInstance(DefaultContextWrapper.java:99) at oracle.jdeveloper.db.adapter.DatabaseContextManager.getContextWrapper(DatabaseContextManager.java:72) at oracle.jdeveloper.db.DatabaseConnections.getWrapper(DatabaseConnections.java:142) at oracle.jdeveloper.db.DatabaseConnections.listConnectionsImpl(DatabaseConnections.java:468) at oracle.jdeveloper.db.DatabaseConnections.listConnections(DatabaseConnections.java:453) at oracle.dbtools.raptor.utils.Connections$Store.<init>(Connections.java:519) at oracle.dbtools.raptor.utils.Connections.registerConnectionStore(Connections.java:1987) at oracle.dbtools.raptor.utils.Connections.getStores(Connections.java:1316) at oracle.dbtools.raptor.utils.Connections.getStore(Connections.java:1347) at oracle.dbtools.raptor.utils.Connections.getConnNames(Connections.java:1438) at oracle.dbtools.raptor.navigator.Databases.openImpl(Databases.java:73) at oracle.ide.model.Node.open(Node.java:1045) at oracle.ide.model.Node.open(Node.java:992) at oracle.ide.model.DefaultContainer.getChildren(DefaultContainer.java:76) at oracle.dbtools.raptor.navigator.folders.DatabasesTreeNode.loadChildrenImpl(DatabasesTreeNode.java:84) at oracle.dbtools.raptor.navigator.model.NavigatorTree.loadChildrenSynchronously(NavigatorTree.java:428) at oracle.dbtools.raptor.navigator.model.NavigatorTree.loadChildren(NavigatorTree.java:607) at oracle.dbtools.raptor.navigator.model.NavigatorTree.open(NavigatorTree.java:365) at oracle.dbtools.raptor.navigator.model.NavigatorTree.expand(NavigatorTree.java:764) at oracle.dbtools.raptor.navigator.core.NavigatorWindow.expandVisibleRoot(NavigatorWindow.java:360) at oracle.dbtools.raptor.navigator.core.NavigatorWindow.createGUI(NavigatorWindow.java:122) at oracle.dbtools.raptor.navigator.core.NavigatorWindow.getGUI(NavigatorWindow.java:319) at oracle.ide.docking.DockableWindow.getHostedComponent(DockableWindow.java:238) at com.oracle.jdeveloper.nbwindowsystem.NbDockableContainer.componentOpened(NbDockableContainer.java:171) at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:307) at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1149) at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:798) at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:354) at org.netbeans.core.windows.LazyLoader.lazyLoad(LazyLoader.java:140) at org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:441) at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:204) at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:81) at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:229) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169) at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:89) ... 56 more Caused by: java.lang.SecurityException: Cannot locate policy or framework files! at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:256) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:81) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:78) ... 56 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,