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.
[build 20050912] Steps: 1) start IDE 2) add App server and start PointBase database 3) create new web project with one servlet 4) invoke Use database action 5) stop PointBase 6) close IDE ERROR: exception is thrown
Created attachment 24724 [details] IDE log
The cause of the exception is that the connection was broken. You would have got the same exception in the IDE if you tried to close the connection after stopping PointBase. Do you think that exceptions thrown while closing the connections upon shutdown should not be reported (or should be only reported to the message log)?
I think reports the exception to a log is sufficient.
Fixed. Checking in src/org/netbeans/api/db/explorer/ConnectionManager.java; /cvs/db/src/org/netbeans/api/db/explorer/ConnectionManager.java,v <-- ConnectionManager.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/db/DatabaseModule.java; /cvs/db/src/org/netbeans/modules/db/DatabaseModule.java,v <-- DatabaseModule.java new revision: 1.41; previous revision: 1.40 done Checking in src/org/netbeans/modules/db/explorer/DatabaseConnection.java; /cvs/db/src/org/netbeans/modules/db/explorer/DatabaseConnection.java,v <-- DatabaseConnection.java new revision: 1.42; previous revision: 1.41 done Checking in src/org/netbeans/modules/db/runtime/DatabaseRuntimeManager.java; /cvs/db/src/org/netbeans/modules/db/runtime/DatabaseRuntimeManager.java,v <-- DatabaseRuntimeManager.java new revision: 1.9; previous revision: 1.8 done RCS file: /cvs/db/test/unit/src/org/netbeans/modules/db/DatabaseModuleTest.java,v done Checking in test/unit/src/org/netbeans/modules/db/DatabaseModuleTest.java; /cvs/db/test/unit/src/org/netbeans/modules/db/DatabaseModuleTest.java,v <-- DatabaseModuleTest.java initial revision: 1.1 done
Forgot to mark as fixed.
[build 20051103]