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 - Handling SQL exceptions (closed connections) in dbschema
Summary: Handling SQL exceptions (closed connections) in dbschema
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 16:29 UTC by Exceptions Reporter
Modified: 2016-06-13 19:58 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212473


Attachments
stacktrace (1.17 KB, text/plain)
2014-10-21 16:29 UTC, Exceptions Reporter
Details
stacktrace (1.17 KB, text/plain)
2015-07-22 00:01 UTC, alopez
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***