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.
1. Create an EJB project 2. Launch the dbschema wizard in this project 3. Select only *some* tables in the wizard, not all 4. Finish 5. Expand the newly created db schema -> an error icon will appear
Maybe a false alarm, now I can't reproduce it. I'll look into it more.
I got this behaviour once or twice... IDE restart could load the schema many times.... Event issue? The schema content might not be the issue, more the way nodes are created I think...
Added some diagnostic code, please attach the IDE log file if you encounter it again. Checking in SchemaRootChildren.java; /cvs/db/model/src/org/netbeans/modules/dbschema/nodes/SchemaRootChildren.java,v <-- SchemaRootChildren.java new revision: 1.3; previous revision: 1.2 done
Petre B, can you reproduce, please. Does anyone have reliable steps to reproduce?
Similar problems were reported in the past by Jan Horvath - see issue 54153.
Adding more diagnostics code. Since this is very hard to reproduce, marking as incomplete for now. Checking in src/org/netbeans/modules/dbschema/SchemaElementUtil.java; /cvs/db/model/src/org/netbeans/modules/dbschema/SchemaElementUtil.java,v <-- SchemaElementUtil.java new revision: 1.4; previous revision: 1.3 done
I was finally able to reproduce this again, and based on the IDE log file with diagnostic messages, hopefully track it down and fix it. Checking in src/org/netbeans/modules/dbschema/nodes/SchemaRootChildren.java; /cvs/db/model/src/org/netbeans/modules/dbschema/nodes/SchemaRootChildren.java,v <-- SchemaRootChildren.java new revision: 1.4; previous revision: 1.3 done Attaching the IDE log file after this happened. If you are still able to reproduce after this fix, please reopen.
Created attachment 21134 [details] The IDE log file (line numbers may not be exact because of my local changes)