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 50479 - [40cat] Exception when fixing imports
Summary: [40cat] Exception when fixing imports
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 13:27 UTC by vanob
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (106.21 KB, text/plain)
2004-10-15 13:28 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2004-10-15 13:27:25 UTC
[ BUILD # : 200410121800 ]
[ JDK VERSION : J2SE 1.5.0 ]

I was working normally. Pressed Alt+Shift+f.
The exception happened.
Attaching ide.log
Comment 1 vanob 2004-10-15 13:28:29 UTC
Created attachment 18319 [details]
ide.log
Comment 2 Martin Roskanin 2004-10-15 14:29:18 UTC
CCE in java module. Reassigning for evaluation

*********** Exception occurred ************ at 5:24 PM on Oct 15, 2004
Annotation: Exception occurred in Request Processor
java.lang.ClassCastException: org.netbeans.jmi.javamodel.Catch$Impl
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.checkUpToDate(SemiPersistentElement.java:226)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterImpl.getTypeName(ParameterImpl.java:105)
	at org.netbeans.jmi.javamodel.Parameter$Impl.getTypeName(Unknown Source)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterImpl.getChildren(ParameterImpl.java:241)
	at org.netbeans.jmi.javamodel.Parameter$Impl.getChildren(Unknown Source)
	at
org.netbeans.modules.editor.java.JavaFixAllImports.findPotentialClassNames(JavaFixAllImports.java:485)
	at
org.netbeans.modules.editor.java.JavaFixAllImports.findPotentialClassNames(JavaFixAllImports.java:491)
	at
org.netbeans.modules.editor.java.JavaFixAllImports.findPotentialClassNames(JavaFixAllImports.java:491)
Comment 3 Martin Matula 2004-10-15 16:19:16 UTC
This was fixed some time ago.