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 225506

Summary: IllegalArgumentException: failed to parse:application/x-java-openide-nodednd;class=org.openide.nodes.Node;mask=?
Product: platform Reporter: Exceptions Reporter <exceptions_reporter>
Component: NodesAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198161
Attachments: stacktrace

Description Exceptions Reporter 2013-01-30 05:05:24 UTC
This bug was originally marked as duplicate of bug 187882, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: failed to parse:application/x-java-openide-nodednd;class=org.openide.nodes.Node;mask=?
   at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:400)
   at org.openide.nodes.NodeTransfer.createDndFlavor(NodeTransfer.java:129)
   at org.openide.nodes.NodeTransfer.transferable(NodeTransfer.java:147)
   at org.openide.nodes.AbstractNode.clipboardCopy(AbstractNode.java:473)
   at org.openide.loaders.DataNode.clipboardCopy(DataNode.java:620)
   at org.openide.loaders.DataFolder$FolderNode.createNodeTransferable(DataFolder.java:1429)
Comment 1 Exceptions Reporter 2013-01-30 05:05:25 UTC
Created attachment 130810 [details]
stacktrace
Comment 2 Jan Peska 2013-08-19 08:21:15 UTC
Jardo, can you please take a look on this since you've added a logging in there for you to have more info.
Comment 3 Jaroslav Tulach 2013-11-21 13:45:33 UTC
Old JDKs, and old NetBeans versions (7.3beta2). Anyway this looks like a problem on a JDK side. There is low probability of making mistake in static initializer that would demonstrate itself randomly.