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

Summary: [40cat] Exception when fixing imports
Product: java Reporter: vanob <vanob>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: mroskanin
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log

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.