This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244607 - NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui.OpenProjects
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui....
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 244674 246972 247002 247995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-20 17:30 UTC by mizero87
Modified: 2014-10-17 10:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179843


Attachments
stacktrace (2.58 KB, text/plain)
2014-05-20 17:30 UTC, mizero87
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mizero87 2014-05-20 17:30:49 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1689-on-20140519)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
GUEST: ???

GUEST: Just ran updates on three plugins, restarted IDE, now projects will not open. Sorry I don't have more detailed steps to reproduce, I'm not sure which plugins were just updated.

GUEST: just startet Netbeans 7.0

mizero87: Please Help. Have no idea about what happened.

GUEST: launch nb 7




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui.OpenProjects
   at org.netbeans.modules.project.ant.ProjectLibraryProvider.getOpenAreas(ProjectLibraryProvider.java:184)
   at org.netbeans.modules.project.libraries.LibraryAccessor.getOpenAreas(LibraryAccessor.java:100)
   at org.netbeans.api.project.libraries.LibraryManager.getOpenManagers(LibraryManager.java:554)
   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibrarySourceForBinaryQuery.preInit(J2SELibrarySourceForBinaryQuery.java:131)
   at org.netbeans.modules.java.j2seplatform.J2SEPlatformWarmUp.preInitJ2SELibsSFBQ(J2SEPlatformWarmUp.java:62)
   at org.netbeans.modules.java.j2seplatform.J2SEPlatformWarmUp.run(J2SEPlatformWarmUp.java:56)
Comment 1 mizero87 2014-05-20 17:30:51 UTC
Created attachment 147348 [details]
stacktrace
Comment 2 Tomas Stupka 2014-07-18 11:57:46 UTC
*** Bug 244674 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Stupka 2014-07-18 12:02:02 UTC
checked a bunch of last reports - all of them have 
java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
comming out of the scope of org.netbeans.api.project.ui.OpenProjects init

please evaluate
Comment 4 Jaroslav Havlin 2014-08-15 08:29:04 UTC
It seems that this problem has two possible causes:

1) Update of development version (using menu Tools -> Plugins -> Updates)
   - The change in one of the libraries in not compatible
     with some modules.
   - Please download the latest development build and reinstall the IDE.

2) Unsupported version of JNA library is in the class path
   - Remove the library, e.g. delete or move the JAR file, or use
     different JDK. The path of the library is usually
     C:\Program Files\Java\jdk{version}\jre\lib\ext\jna-{version}.jar
   - See bug 246033.

Thank you for reporting.
Comment 5 Tomas Stupka 2014-09-12 11:00:50 UTC
*** Bug 246972 has been marked as a duplicate of this bug. ***
Comment 6 Tomas Stupka 2014-09-12 11:26:07 UTC
*** Bug 247002 has been marked as a duplicate of this bug. ***
Comment 7 Tomas Stupka 2014-10-17 10:02:35 UTC
*** Bug 247995 has been marked as a duplicate of this bug. ***