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 44950

Summary: Expanding of a class node in the Files view
Product: java Reporter: Marek Grummich <mgrummich>
Component: UnsupportedAssignee: Tomas Hurka <thurka>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: JavaApplication1 - project
Exception
exc stack traces

Description Marek Grummich 2004-06-16 10:55:44 UTC
Build 200406151800, j2sdk1.4.2
- open an attached project in the IDE 
- Clean and build main project (Shift-F11)
- switch to the Files view
- expand JavaApplication1| build| classes| abc|
A.class| class A| nodes
- invoke Clean and build main project (Shift-F11)
action
=> the first attached exception is thrown
- - invoke Clean and build main project
(Shift-F11) action again
=> the second attached exception is thrown
Comment 1 Marek Grummich 2004-06-16 10:56:10 UTC
Created attachment 15740 [details]
JavaApplication1 - project
Comment 2 Marek Grummich 2004-06-16 10:56:51 UTC
Created attachment 15741 [details]
Exception
Comment 3 Milan Kubec 2004-06-16 11:07:07 UTC
Very similar MOFID problem happened to me on JDK 1.5.0 b55 when
expanding package node in just created jar file in Files view. After
exceptions were thrown IDE was unusable - didn't redraw and exceptions
were thrown still on. Restart didn't help and re-scan didn't help
either. The exceptions were thrown even during re-scan. Exc. are
attached. IDE is completly unusable. 
Comment 4 Milan Kubec 2004-06-16 11:07:36 UTC
Created attachment 15742 [details]
exc stack traces
Comment 5 Tomas Hurka 2004-06-16 14:04:56 UTC
Fixed in trunk. Marek's test case now works OK. 
Checking in src/org/netbeans/modules/clazz/ClassDataObject.java;
/cvs/clazz/src/org/netbeans/modules/clazz/ClassDataObject.java,v  <--  
ClassDataObject.java
new revision: 1.61; previous revision: 1.60
done
Checking in src/org/netbeans/modules/clazz/SourceElementImpl.java;
/cvs/clazz/src/org/netbeans/modules/clazz/SourceElementImpl.java,v  <--  
SourceElementImpl.java
new revision: 1.29; previous revision: 1.28
done
Comment 6 Tomas Hurka 2004-06-16 14:06:00 UTC
*** Issue 44664 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Hurka 2004-06-17 09:23:14 UTC
*** Issue 44956 has been marked as a duplicate of this issue. ***
Comment 8 Marek Grummich 2004-08-17 12:38:28 UTC
Verified.