java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ProjectManager

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 netbeans.org by Unknown author, 1 year ago
Could not initialize class org.netbeans.api.project.ProjectManager
via GitHub by timperrett
, 1 year ago
Could not initialize class remotely.Protocol$ at __wrapper$1$1f0d05e367554422b5b1348a671df812.__wrapper$1$1f0d05e367554422b5b1348a671df812$.wrapper(<no source file>:30)
via GitHub by yangjiandan
, 2 years ago
Could not initialize class net.opentsdb.tsd.GraphHandler
via Ecosystem JIRA by Andy Lynch, 4 months ago
Could not initialize class com.intellij.tasks.TaskManager
via Google Groups by Unknown author, 10 months ago
Could not initialize class org.camunda.bpm.cockpit.plugin.test.AbstractCockpitPluginTest
via Stack Overflow by Glenn
, 1 year ago
Could not initialize class service.UserServicesImplementationTest
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ProjectManager
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:497)
at org.openide.nodes.Children$ProjectManagerDeadlockDetector.callPMMutexMethod(Children.java:1969)
at org.openide.nodes.Children$ProjectManagerDeadlockDetector.getPMMutex(Children.java:1951)
at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1933)
at org.netbeans.modules.openide.util.DefaultMutexImplementation.doWrapperAccess(DefaultMutexImplementation.java:1099)
at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:226)
at org.openide.util.Mutex.readAccess(Mutex.java:260)
at org.openide.loaders.DataObject.getNodeDelegateImpl(DataObject.java:355)
at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:342)
at org.openide.awt.Toolbar.getDisplayName(Toolbar.java:318)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarContainer.addNotify(ToolbarContainer.java:171)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addImpl(Container.java:1121)
at java.awt.Container.add(Container.java:973)
at org.openide.awt.ToolbarPool.revalidate(ToolbarPool.java:268)
at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:247)
at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:329)
at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:301)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:567)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:542)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:187)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:275)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:264)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:201)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:121)
at org.netbeans.core.windows.Central.setVisible(Central.java:140)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:931)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:105)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:244)
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 org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 more bugmates

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