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 81504

Summary: IllegalStateException: Recursive call to getElementInfo() when creates sesson bean
Product: java Reporter: Petr Blaha <blaha>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED FIXED    
Severity: blocker CC: jbecicka
Priority: P2 Keywords: RANDOM
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NB log
NB log

Description Petr Blaha 2006-07-31 15:52:12 UTC
[build 200607310000, jdk 1.6.0]
Steps:
1) create EJB modules
2) create session bean with local and remote interface
ERROR: java.lang.IllegalStateException: Recursive call to getElementInfo()
Comment 1 Petr Blaha 2006-07-31 15:53:19 UTC
Created attachment 32362 [details]
NB log
Comment 2 Petr Blaha 2006-07-31 15:53:32 UTC
Created attachment 32363 [details]
NB log
Comment 3 Daniel Prusa 2006-08-01 14:40:53 UTC
IllegalStateExceptions can be consequences of AssertionError that was thrown as
the first error/exception after start of the IDE.

java.lang.AssertionError
org.netbeans.api.progress.aggregate.ProgressContributor.progress(ProgressContributor.java:126)
org.netbeans.api.progress.aggregate.ProgressContributor.progress(ProgressContributor.java:106)
org.netbeans.modules.javacore.ProgressDisplayer.step(ProgressDisplayer.java:69)
org.netbeans.modules.javacore.internalapi.ProgressSupport.fireProgressListenerStep(ProgressSupport.java:82)
org.netbeans.modules.javacore.internalapi.ProgressSupport.fireProgressListenerStep(ProgressSupport.java:91)
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:850)

The error rollbacked resolveCodebases method. It seems it was caused by some
race condition during update of progress bars. 
Honzo, can you help with evaluation?
Comment 4 Jan Becicka 2006-08-08 08:32:23 UTC
Checking in JMManager.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v  <-- 
JMManager.java
new revision: 1.129; previous revision: 1.128
done
Comment 5 Jan Becicka 2006-08-11 15:05:16 UTC
Checking in JMManager.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v  <-- 
JMManager.java
new revision: 1.118.2.4.2.4; previous revision: 1.118.2.4.2.3
done
Comment 6 Quality Engineering 2007-09-20 10:58:19 UTC
Reorganization of java component