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 182811 - IllegalStateException: Too many org.netbeans.modules.web.project.ui.EjbsNodeFactory$EjbNodeList$2 in non-private processor. Use own static final RequestProcessor RP = new RequestProcessor(...)!
Summary: IllegalStateException: Too many org.netbeans.modules.web.project.ui.EjbsNodeF...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 17:02 UTC by Petr Jiricka
Modified: 2010-03-31 11:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167042


Attachments
stacktrace (754 bytes, text/plain)
2010-03-25 17:02 UTC, Petr Jiricka
Details
stacktrace (706 bytes, text/plain)
2010-03-29 08:42 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-03-25 17:02:26 UTC
Build: NetBeans IDE Dev (Build web-main-2852-on-100325)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125
OS: Mac OS X

User Comments:
pjiricka: Creating a web project.




Stacktrace: 
java.lang.IllegalStateException: Too many org.netbeans.modules.web.project.ui.EjbsNodeFactory$EjbNodeList$2 in non-private processor. Use own static final RequestProcessor RP = new RequestProcessor(...)!
   at org.openide.util.RequestProcessor.post(RequestProcessor.java:366)
   at org.netbeans.modules.web.project.ui.EjbsNodeFactory$EjbNodeList.checkView(EjbsNodeFactory.java:151)
   at org.netbeans.modules.web.project.ui.EjbsNodeFactory$EjbNodeList.keys(EjbsNodeFactory.java:99)
   at org.netbeans.spi.project.ui.support.NodeFactorySupport$DelegateChildren$2.run(NodeFactorySupport.java:266)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1367)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1905)
Comment 1 Petr Jiricka 2010-03-25 17:02:34 UTC
Created attachment 95845 [details]
stacktrace
Comment 2 David Konecny 2010-03-25 19:48:07 UTC
Andrey, that's yours. Looking at the code I would expect that once you get instance of EjbJar you could just add listener to it and fire changes when there is a change instead of periodically checking it whenever keys() is called.
Comment 3 Sergey Petrov 2010-03-29 08:42:25 UTC
Created attachment 96142 [details]
stacktrace

new web project is created  in fresh ide
Comment 4 Exceptions Reporter 2010-03-31 06:30:57 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167042
Comment 5 Andrey Yamkovoy 2010-03-31 11:12:07 UTC
Fixed in the web-main.