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.
Dropping db table on JTable in JFrame throws IllegalState exception. Steps to reproduce: Create Java Project Add JFrame into existing app.namespace Add JTable into JFrame Drag and drop table from Database Runtime window into JTable java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/ at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:1244) at org.netbeans.core.windows.WindowManagerImpl.topComponentActivatedNodesChanged(WindowManagerImpl.java:1099) at org.openide.windows.TopComponent.setActivatedNodes(TopComponent.java:283) at org.netbeans.modules.form.FormDesigner.updateComponentInspector(FormDesigner.java:1317)
Created attachment 39533 [details] exception.txt
NetBeans IDE Dev (Build 070314) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04 Linux version 2.6.17-10-386 running on i386
Entity manager, list and query were added into Other Components, JTable contains colums according db table columns, but clean and build of project generates ... Compiling 3 source files to /home/jirka/NetBeansProjects/JavaApplication49/build/classes /home/jirka/NetBeansProjects/JavaApplication49/src/javaapplication49/NewJFrame.java:42: <nulltype> cannot be dereferenced null.addBinding(binding);
I wasn't able to reproduce it, but the reporter is still able to reproduce it. It seems to be some race condition. Let's see whether the issue will survive switch to trunk. If so, we will have to fix it ;-).
I was able to reproduce this issue some time ago. It should be hopefully fixed by now.
Verified NetBeans IDE Dev (Build 20070424-0751) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Linux version 2.6.17-10-386 running on i386