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 247012 - NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui.OpenProjects
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui....
Status: RESOLVED DUPLICATE of bug 246971
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:
Depends on:
Blocks:
 
Reported: 2014-09-11 00:32 UTC by wonjunoo
Modified: 2014-09-12 11:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187295


Attachments
stacktrace (4.01 KB, text/plain)
2014-09-11 00:32 UTC, wonjunoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wonjunoo 2014-09-11 00:32:22 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: Launch netbeans

GUEST: win 7 hibernacija

MrLore: Restarted NetBeans (as I was being told a library which isn't used in my project can't be found and therefore my project couldn't be compiled), when it opened I clicked View as the projects pane hadn't opened.

wonjunoo: After the V8.01 upgrade don't open existing project!

GUEST: since last update it start to behave very abnormal




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ui.OpenProjects
   at org.netbeans.modules.jumpto.file.FileSearchAction.isEnabled(FileSearchAction.java:170)
   at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1234)
   at org.openide.awt.Actions$Bridge.prepare(Actions.java:902)
   at org.openide.awt.Actions$MenuBridge.prepare(Actions.java:1221)
   at org.openide.awt.Actions.connect(Actions.java:201)
   at org.openide.awt.Actions$MenuItem.<init>(Actions.java:1571)
Comment 1 wonjunoo 2014-09-11 00:32:24 UTC
Created attachment 149125 [details]
stacktrace
Comment 2 Tomas Zezula 2014-09-11 06:25:25 UTC
The root cause is:

java.lang.AbstractMethodError^M
        at com.sun.jna.Structure.fieldOrder(Structure.java:884)^M
        at com.sun.jna.Structure.getFields(Structure.java:910)^M
        at com.sun.jna.Structure.deriveLayout(Structure.java:1058)^M
        at com.sun.jna.Structure.calculateSize(Structure.java:982)^M
        at com.sun.jna.Structure.calculateSize(Structure.java:949)^M
        at com.sun.jna.Structure.allocateMemory(Structure.java:375)^M
        at com.sun.jna.Structure.<init>(Structure.java:184)^M
        at com.sun.jna.Structure.<init>(Structure.java:172)^M
        at com.sun.jna.Structure.<init>(Structure.java:159)^M
        at com.sun.jna.Structure.<init>(Structure.java:151)^M
        at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier$FILE_NOTIFY_INFORMATION.<init>(WindowsNotifier.java:164)^M
        at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier$FileInfo.<init>(WindowsNotifier.java:283)^M
        at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier.addWatch(WindowsNotifier.java:342)^M
        at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier.addWatch(WindowsNotifier.java:74)^M
        at org.netbeans.modules.masterfs.providers.Notifier$1.addWatch(Notifier.java:111)^M
        at org.netbeans.modules.masterfs.watcher.Watcher$Ext.register(Watcher.java:244)^M
        at org.netbeans.modules.masterfs.watcher.Watcher.register(Watcher.java:118)^M
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.addFileChangeListener(BaseFileObj.java:537)^M
        at org.netbeans.modules.cnd.makeproject.MakeProjectHelperImpl.attachProjectFilesListener(MakeProjectHelperImpl.java:197)^M
        at org.netbeans.modules.cnd.makeproject.MakeProjectHelperImpl.addMakeProjectListener(MakeProjectHelperImpl.java:471)^M
        at org.netbeans.modules.cnd.makeproject.MakeSources.<init>(MakeSources.java:89)^M
        at org.netbeans.modules.cnd.makeproject.MakeProject.<init>(MakeProject.java:211)^M
        at org.netbeans.modules.cnd.makeproject.MakeProjectTypeImpl.createProject(MakeProjectTypeImpl.java:149)^M
        at org.netbeans.modules.cnd.makeproject.MakeBasedProjectFactorySingleton.loadProject(MakeBasedProjectFactorySingleton.java:174)^M
        at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:371)^M
        at org.netbeans.api.project.ProjectManager.access$300(ProjectManager.java:86)^M
        at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:292)^M
        at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:235)^M
        at org.openide.util.Mutex.readAccess(Mutex.java:337)^M
        at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:235)^M
        at org.netbeans.modules.project.ui.OpenProjectList.fileToProject(OpenProjectList.java:1234)^M
        at org.netbeans.modules.project.ui.ProjectChooserAccessory.getProject(ProjectChooserAccessory.java:352)^M
        at org.netbeans.modules.project.ui.ProjectChooserAccessory.access$000(ProjectChooserAccessory.java:89)^M
        at org.netbeans.modules.project.ui.ProjectChooserAccessory$ProjectFileView.run(ProjectChooserAccessory.java:598)^M
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)^M
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)^M
Comment 3 Jaroslav Havlin 2014-09-12 11:24:52 UTC

*** This bug has been marked as a duplicate of bug 246971 ***