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.
Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: Linux User Comments: GUEST: after program start GUEST: just start the netbeans ide. GUEST: I was trying to create a new java project. xav0989: Started the application. Oracle Java 8 on Ubuntu 14.04.1 x64. Could not reproduce. GUEST: This problem started appearing after I upgraded from Ubuntu 13.04 to 13.10. I'm unable to load the Projects & Files view on the side menu GUEST: Tried to view the project files. Please help. It didnt do anything but throw an error. GUEST: Trying to Show Project View GUEST: projects not open GUEST: The window won't let me open the project view, or anything else for that matter GUEST: unable to view projects in netbeans 7.4 GUEST: I open NetBeans IDE 6.9.1 and I have reseted the windows, perhaps before the loading prozess of NetBeans have been finished GUEST: NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource GUEST: Installed in Ubuntu, click Window > Projects GUEST: ubuntu 14.04 GUEST: A java.lang.NoClassDefFoundError exception has occurred. Please report this at http://www.netbeans.org/community/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your /root/.netbeans/7.3.1/var/log folder. GUEST: On ubuntu 14.04, just install netbeans 8.0 and run it. It will result in the same error Stacktrace: java.lang.NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource at org.openide.explorer.view.ExplorerDragSupport.getDefaultGestureRecognizer(ExplorerDragSupport.java:241) at org.openide.explorer.view.ExplorerDragSupport.activate(ExplorerDragSupport.java:217) at org.openide.explorer.view.TreeView.setDragSource(TreeView.java:504) at org.netbeans.modules.project.ui.ProjectTab.<init>(ProjectTab.java:202) at org.netbeans.modules.project.ui.ProjectTab.<init>(ProjectTab.java:182) at org.netbeans.modules.project.ui.ProjectTab.getDefault(ProjectTab.java:332)
Created attachment 149881 [details] stacktrace
I've been able to reproduce the bug and it is also preventing me from opening certain views (e.g. the project and file views), if I manage to get netbeans to open.
Apparently it's related to running java on MIR rather than X. https://bugs.launchpad.net/xmir/+bug/1232471
SEVERE [global] java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32 at java.awt.dnd.DragSource.load(DragSource.java:135) at java.awt.dnd.DragSource.<clinit>(DragSource.java:147) JDK problem
https://answers.launchpad.net/ubuntu/+question/236451