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 210424

Summary: IllegalStateException: The current thread is not running userActionTask()
Product: javaee Reporter: Vladimir Riha <vriha>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: VERIFIED FIXED    
Severity: normal CC: hmichel, vriha
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 186470
Attachments: stacktrace
stacktrace

Description Vladimir Riha 2012-03-30 11:44:55 UTC
Build: NetBeans IDE Dev (Build 201203291138)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
vriha: Happened when going to New FIle | Persistence | Entity class from Database and pressing Next




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.persistenceapi.metadata.orm.annotation.EntityImpl.getTable(EntityImpl.java:200)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator.processEntities(JavaPersistenceGenerator.java:312)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator.access$000(JavaPersistenceGenerator.java:104)
Comment 1 Vladimir Riha 2012-03-30 11:45:00 UTC
Created attachment 117536 [details]
stacktrace
Comment 2 Sergey Petrov 2012-03-30 11:50:49 UTC
should be caused by  http://netbeans.org/bugzilla/show_bug.cgi?id=206851 fix, need to rollback for now
Comment 3 Sergey Petrov 2012-03-30 14:36:37 UTC
http://hg.netbeans.org/web-main/rev/be5d9eb02c92 comment main changes
Comment 4 Quality Engineering 2012-04-02 15:55:17 UTC
Integrated into 'main-golden', will be available in build *201204021038* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/be5d9eb02c92
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #210424, #206851 comment changes
Comment 5 Michel Graciano 2012-04-02 16:08:19 UTC
Created attachment 117675 [details]
stacktrace

Opening wizard Entity classes from Database
Comment 6 Vladimir Riha 2012-04-03 07:54:10 UTC
verified

Product Version: NetBeans IDE Dev (Build 201204021038)