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.
This issue was reported manually by sj-nb. It already has 2 duplicates Build: NetBeans IDE Dev (Build 201208120001) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22 OS: Windows XP User Comments: bht: See issue 216053, 605614 bht: opening multiple JPA entities, waiting slowly for CPU to settle to 0 before the next one. See issue 216053 Stacktrace: java.lang.IllegalStateException: The current thread is not running userActionTask() at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.assertUserActionTaskThread(AnnotationModelHelper.java:317) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.getCompilationController(AnnotationModelHelper.java:289) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObject.getTypeElement(PersistentObject.java:75) at org.netbeans.modules.j2ee.persistence.spi.jpql.Type.getTypeElement(Type.java:294) at org.netbeans.modules.j2ee.persistence.spi.jpql.Type.constructors(Type.java:115) at org.eclipse.persistence.jpa.internal.jpql.SemanticValidator.visit(SemanticValidator.java:1115)
Created attachment 123037 [details] stacktrace
need to be fixed as part of 216053 fix.
http://hg.netbeans.org/web-main/rev/42c4a850f305 do not call getTypeElement for invalid model. should be fixed but need verification as it's not direct fix.