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 11216

Summary: Sometimes ClassCastException is shown while compiling
Product: java Reporter: David Kaspar <dkaspar>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: blocker CC: kgardas
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace

Description David Kaspar 2001-04-09 16:31:48 UTC
In the attachment there is stack trace.
Comment 1 David Kaspar 2001-04-09 16:32:55 UTC
Created attachment 1050 [details]
Stack trace
Comment 2 Svata Dedic 2001-04-10 10:00:31 UTC
The bug does not occur regularly - can you give me some clue about other 
circumstances that may cause the bug to happen ?
Comment 3 Svata Dedic 2001-04-10 11:01:13 UTC
[updated from conversation with Karel]
The bug is fully reproducible during the *second* attempt to compile arbitrary 
IDL file (using JDK ORB - only ?).

Comment 4 Svata Dedic 2001-04-10 12:37:43 UTC
Fixed in dev trunk, pending merge for rel32
Comment 5 Svata Dedic 2001-04-11 16:12:54 UTC
Reopening, merging to Release-3.2
Comment 6 Svata Dedic 2001-04-11 16:14:41 UTC
Fixed in release-3.2
Comment 7 Jan Becicka 2001-04-27 14:52:22 UTC
Please reopen if this bug still bothering you.
Comment 8 Karel Gardas 2001-04-30 11:27:01 UTC
This is fixed only partialy. Try using attached test and do this actions:

1) execute it - it adds method into self
2) comment line __class.addMethod (<something>); - which add method into class
3) compile
4) execute it - it find added method and set body, but with wrong indentation
Comment 9 Jan Becicka 2001-05-03 09:27:53 UTC
Huh, it looks like Karel's error.  
Comment 10 Jan Becicka 2001-05-03 09:29:53 UTC
He admitted :-)
Comment 11 Jan Chalupa 2001-05-05 23:26:24 UTC
Target milestone -> 3.2
Comment 12 Quality Engineering 2003-07-01 13:14:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.