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 248076

Summary: Handling SQL exceptions (closed connections) in dbschema
Product: db Reporter: Exceptions Reporter <exceptions_reporter>
Component: DB schemaAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: alopez, maciekos, thruminds
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212473
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2014-10-21 16:29:12 UTC
This issue was reported manually by maciekos.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
GUEST: deploying REST web service. I can connect to posgresql without problems. but netbeans has an error

GUEST: postgres connection




Stacktrace: 
org.postgresql.util.PSQLException: This connection has been closed.
   at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822)
   at org.postgresql.jdbc2.AbstractJdbc2Connection.getCatalog(AbstractJdbc2Connection.java:986)
   at org.netbeans.modules.dbschema.jdbcimpl.DDLBridge.<init>(DDLBridge.java:70)
   at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.initTables(SchemaElementImpl.java:250)
   at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.initTables(SchemaElementImpl.java:228)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager$3.run(DBSchemaManager.java:207)
Comment 1 Exceptions Reporter 2014-10-21 16:29:14 UTC
Created attachment 150028 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-04-24 21:38:16 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=212473
Comment 3 alopez 2015-07-22 00:01:37 UTC
Created attachment 154781 [details]
stacktrace

Fallo
Comment 4 matthias42 2016-06-13 19:58:11 UTC
*** Bug 257641 has been marked as a duplicate of this bug. ***