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 257554

Summary: RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
Product: platform Reporter: dascjo
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal CC: jaseem
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 172785
Attachments: stacktrace

Description dascjo 2016-01-13 22:39:56 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 25.65-b01, OpenJDK Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
GUEST: on starting netbeans

jaseem: Installed netbeans7.4 in my ubuntu 13.10. Installation was successful. The error occured when I tried to run netbeans.I have both oracle jdk and openjdk7 in my sytem.I tried reinstalling by changing the default java.But the problem didn't disappear

GUEST: Installing NetBeans 7.4

dascjo: Starting up Netbeans.  That's it.

GUEST: on starting netbeans

GUEST: Starting the IDE.

GUEST: Run NetBeans 7.4 on Ubuntu 13.10

GUEST: while start netbeans on a virtual maschine xenserverhost

GUEST: Starting netbeans

GUEST: This computer switched to the new Ubuntu Mir display server which might be related to this problem.
This problem occurred after I activated the new Ubuntu Mir display server. I switched back to the X Window System which works fine with NetBeans. The same is true for exception 713463.

GUEST: ubuntu 14.04 virtual server . no gpu in vm config

GUEST: Starting IDE in Ubuntu 14.04.01

GUEST: I was just trying to boot NetBeans for the first time.

For whatever it is worth, there was also some error about git when the install completed.

Moreover, I had the same (or similiar) problems with v6.9.  I installed this version hoping that whatever issue I had before might be resolved.




Stacktrace: 
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:148)
   at org.netbeans.core.windows.view.ui.toolbars.DnDSupport.<clinit>(DnDSupport.java:118)
   at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:132)
   at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:312)
   at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:400)
Comment 1 dascjo 2016-01-13 22:39:59 UTC
Created attachment 158120 [details]
stacktrace
Comment 2 dascjo 2016-01-15 17:54:17 UTC
The issue will reveal itself when running CentOS (build 1511) that uses JDK 1.8.65, but does not reveal itself when running CentOS (build 1503) that uses JDK 1.7.75.  Simply reverting the JDK from 1.8.65 to 1.7.75 did not fix the problem.  Pointing Netbeans to a different installed JDK via the netbeans.conf file or using the netbeans_jdkhome run option failed to work as well.

I wonder if the problem may be in the installer (netbeans-8.0.2-cpp-linux.sh).  The installer does not seem to run correctly with the 1.8.65 JDK.  It seems to go inactive for about 5 minutes during the install before the "Finish" message appears.  I did not see this behavior when running the install with JDK 1.7.75 (CentOS build 1503).
Comment 3 Martin Entlicher 2016-05-16 16:23:12 UTC
A bug of Unity-Mir. See: https://bugs.launchpad.net/unity-mir/+bug/1250613