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 51098 - ClassCastException after DnD of a java file
Summary: ClassCastException after DnD of a java file
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 19:47 UTC by Tim Lebedkov
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2004-11-02 19:47:10 UTC
Just dragged a java file from one folder to another:

Annotation: Exception occurred in Request Processor
java.lang.ClassCastException
	at
org.netbeans.modules.java.Parsing$1.resourceParsed(Parsing.java:37)
	at
org.netbeans.modules.javacore.JMManager$6.run(JMManager.java:1307)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Martin Matula 2004-11-03 09:03:41 UTC
What build are you using?
Comment 2 Tim Lebedkov 2004-11-03 10:02:39 UTC
041028
Comment 3 Martin Matula 2004-11-03 10:36:10 UTC
This is really weird. Seems like the data object returned for a given
resource is not a JavaDataObject. I'll look at it.
Comment 4 Martin Matula 2005-01-20 15:01:19 UTC
Has anybody seen this in the recent builds? I am not able to reproduce
it. An updated stacktrace with steps to reproduce would be appreciated.
Comment 5 Tim Lebedkov 2005-01-20 22:36:45 UTC
I can't reproduce it too
Comment 6 Tim Lebedkov 2005-01-20 22:36:58 UTC
ok