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 212390 - java.awt.dnd.InvalidDnDOperationException: java.net.URISyntaxException: Illegal character in path at index 83: file:///space/hudson/ergonomics/performance/build/test/unit/work/allPerformance.xml^@
Summary: java.awt.dnd.InvalidDnDOperationException: java.net.URISyntaxException: Illeg...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 14:15 UTC by Petr Cyhelsky
Modified: 2012-05-16 10:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184176


Attachments
stacktrace (3.21 KB, text/plain)
2012-05-11 14:15 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-05-11 14:15:34 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Linux

Stacktrace: 
java.awt.dnd.InvalidDnDOperationException: java.net.URISyntaxException: Illegal character in path at index 83: file:///space/hudson/ergonomics/performance/build/test/unit/work/allPerformance.xml^@
   at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:270)
   at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:73)
   at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:376)
   at org.netbeans.modules.openfile.DefaultExternalDropHandler.getFileList(DefaultExternalDropHandler.java:176)
   at org.netbeans.modules.openfile.DefaultExternalDropHandler.handleDrop(DefaultExternalDropHandler.java:105)
   at org.openide.text.QuietEditorPane$DelegatingDropTarget.drop(QuietEditorPane.java:507)
Comment 1 Petr Cyhelsky 2012-05-11 14:15:39 UTC
Created attachment 119356 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-05-14 09:26:50 UTC
Cannot reproduce. Please, what desktop environment do you use?
From which application did you drag the file(s)? 
Does the file name really end with "^@" or was it somehow corrupted (maybe by the source application)?
Thank you.
Comment 3 Petr Cyhelsky 2012-05-14 10:05:32 UTC
I'n using kubuntu/plasma desktop - the file was dragged from krusader (kubuntu's equivalent of mc) the filename was "allPerformance.xml"
Comment 4 Jaroslav Havlin 2012-05-14 12:37:42 UTC
Still cannot reproduce. Dragging from Krusader works fine for me.
Is the exception thrown every time you perform DnD, or only for this file (allPerformance.xml)?
Dragging from other KDE applications works normally?
Comment 5 Petr Cyhelsky 2012-05-15 11:57:29 UTC
I've tried it several more times, and it is not reproducible now with krusader, but it is reproducible on another machine(xubuntu 10.10) with gnome commander (and with different files, not only this one)
Comment 6 Jaroslav Havlin 2012-05-16 08:44:13 UTC
Thank you. Reproduced on Ubuntu 11.04, Gnome 2, JDK 1.7.0_04 64bit.
Dragging from Gnome Commander does not work, dragging from Nautilus works.
Comment 7 Jaroslav Havlin 2012-05-16 10:24:19 UTC
http://hg.netbeans.org/core-main/rev/0c6ce6e987b1
Fixed. Please verify.