java.lang.IllegalStateException: Illegal attempt to load extension: oracle.sqldeveloper.cloud. Extension loading code (such as hook handlers) cannot execute a code path that requires fully loading a different extension outside of the dependency chain.

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 Kevan Gelling, 1 year ago
Illegal attempt to load extension: oracle.sqldeveloper.cloud. Extension loading code (such as hook handlers) cannot execute a code path that requires fully loading a different extension outside of the dependency chain.
java.lang.IllegalStateException: Illegal attempt to load extension: oracle.sqldeveloper.cloud. Extension loading code (such as hook handlers) cannot execute a code path that requires fully loading a different extension outside of the dependency chain.
at oracle.ideimpl.extension.ExtensionManagerImpl.fullyLoadExtension(ExtensionManagerImpl.java:1599)
at oracle.ide.osgi.extension.internal.ClassLoaderProxy.fullyLoadExtensionIfNeeded(ClassLoaderProxy.java:162)
at oracle.ide.osgi.extension.internal.ClassLoaderProxy.loadMetaClass(ClassLoaderProxy.java:130)
at javax.ide.util.MetaClass.toClass(MetaClass.java:104)
at javax.ide.util.MetaClass.toClass(MetaClass.java:95)
at javax.ide.util.MetaClass.newInstance(MetaClass.java:138)
at oracle.dbtools.raptor.connections.OracleConnectionType.getProcessor(OracleConnectionType.java:227)
at oracle.dbtools.raptor.connections.OracleConnectionType.getConnectionProcessors(OracleConnectionType.java:179)
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.shouldEncrypt(RaptorConnectionCreator.java:373)
at oracle.jdevimpl.db.adapter.DatabaseProviderFactory1212.getObjectInstance(DatabaseProviderFactory1212.java:84)
at oracle.adf.share.jndi.ReferenceStoreHelper.getObjectForReference(ReferenceStoreHelper.java:297)
at oracle.adf.share.jndi.ContextImpl.findObject(ContextImpl.java:762)
at oracle.adf.share.jndi.ContextImpl.lookup(ContextImpl.java:160)
at oracle.adf.share.jndi.ContextImpl.lookup(ContextImpl.java:165)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at oracle.jdeveloper.db.DatabaseConnections.getReferenceable(DatabaseConnections.java:890)
at oracle.jdeveloper.db.DatabaseConnections.getProperties(DatabaseConnections.java:928)
at oracle.dbtools.unit_test.UtRepositoryManager.initialize(UtRepositoryManager.java:74)
at oracle.dbtools.unit_test.UtAddin.initialize(UtAddin.java:83)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:496)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:483)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:525)
at oracle.ideimpl.extension.ExtensionManagerImpl._loadExtensionHooks(ExtensionManagerImpl.java:1969)
at oracle.ideimpl.extension.ExtensionManagerImpl.__loadExtensionHooks(ExtensionManagerImpl.java:1923)
at oracle.ideimpl.extension.SameThreadExtensionQueueLoadStrategy.load(SameThreadExtensionQueueLoadStrategy.java:28)
at oracle.ideimpl.extension.SameThreadAndSwingWorkerMixedStrategy.load(SameThreadAndSwingWorkerMixedStrategy.java:22)
at oracle.ideimpl.extension.ExtensionManagerImpl.fullyLoadExtension(ExtensionManagerImpl.java:1672)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1854)
at oracle.ide.Ide.startup(Ide.java:770)
at oracle.ide.osgi.Activator.start(Activator.java:211)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1184)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)
at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1359)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1163)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
at org.netbeans.core.startup.Main.start(Main.java:307)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

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