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 255170 - IllegalStateException: This connection is not added to the ConnectionManager.
Summary: IllegalStateException: This connection is not added to the ConnectionManager.
Status: RESOLVED DUPLICATE of bug 255524
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 11:31 UTC by Petr Hejl
Modified: 2015-09-23 20:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 134934


Attachments
stacktrace (6.19 KB, text/plain)
2015-09-10 11:31 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2015-09-10 11:31:23 UTC
Build: NetBeans IDE Dev (Build 20150910-6ad45f1e33cb)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
phejl: Using entity classes from database with default datasource, cancelling the add connection wizard.

joostnufan: select a datasource in the new Entity classes from Database wizzard.

GUEST: i was trying to create "new entity classes form database"




Stacktrace: 
java.lang.IllegalStateException: This connection is not added to the ConnectionManager.
   at org.netbeans.api.db.explorer.DatabaseConnection.getJDBCConnection(DatabaseConnection.java:337)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager$2.isEnabled(DBSchemaManager.java:132)
   at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invokeNextActionsOfSameKind(ProgressSupport.java:247)
   at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invoke(ProgressSupport.java:186)
   at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport.invoke(ProgressSupport.java:112)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager.getSchemaElement(DBSchemaManager.java:233)
Comment 1 Petr Hejl 2015-09-10 11:31:26 UTC
Created attachment 156049 [details]
stacktrace
Comment 2 matthias42 2015-09-23 20:12:41 UTC
This is a duplicate of bug 255524. I know that the referenced bug was created after this bug, but I noticed the existence of this bug after I had the mentioned bug inserted and fixed.

Petr could you please test the netbeans nightly build after the fix from 255524 is integrated and verifiy the fix in 255524? Thank you!

*** This bug has been marked as a duplicate of bug 255524 ***