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.
Build: NetBeans IDE Dev (Build 201109132156) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: muellermi: add persistence unit via context menu Stacktrace: java.lang.IllegalStateException: This method must be called in the event thread. at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport.invoke(ProgressSupport.java:109) at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport.invoke(ProgressSupport.java:94) at org.netbeans.modules.j2ee.common.DatasourceUIHelper.fetchDataSources(DatasourceUIHelper.java:461) at org.netbeans.modules.j2ee.common.DatasourceUIHelper.connect(DatasourceUIHelper.java:473) at org.netbeans.modules.j2ee.common.DatasourceUIHelper.connect(DatasourceUIHelper.java:423) at org.netbeans.modules.web.project.WebJPADataSourceSupport.connect(WebJPADataSourceSupport.java:72)
Created attachment 110751 [details] stacktrace
Created attachment 110776 [details] stacktrace invoke context mennu on package -> create entity class
Created attachment 110804 [details] stacktrace project, right mouse click, add persistence unit
may be caused by recent changes in wizards, start failing on 110913, but this one may be fixable, will evaluate
http://hg.netbeans.org/web-main/rev/ba2929cdf4e4 handle case if pane; constructor is called out of edt
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ba2929cdf4e4 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #202130 code is called from edt and sometimes outside of edt now, wrap sensitive code in appropriate logic