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.
Summary: | [65cat] org.netbeans.api.db.explorer.DatabaseException: Communications link failure Last packet sent to the server was 39 ms ago. | ||
---|---|---|---|
Product: | db | Reporter: | big_al <big_al> |
Component: | Code | Assignee: | David Vancouvering <davidvc> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | romanmostyka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=107341 | ||
Issue Type: | DEFECT | Exception Reporter: | 107341 |
Attachments: | stacktrace |
Description
big_al
2008-09-07 20:01:33 UTC
Created attachment 69253 [details]
stacktrace
It looks like the connection went down, but we should be catching this and displaying a useful error dialog rather than reporting an exception. That's correct. I believe that I had left the laptop for a long time causing the connection to time out. What worried me a bit was the fact that I couldn't reconnect to the database without restarting NetBeans. In the service tab it would show that I had disconnected and re-connected successfully, but every time I tried to obtain the table definitions or view data it would give me the same exception about Communication link failure. I did confirm that I could connect to the database outside NetBeans. Oh, that's particularly disconcerting. I'll see if I can reproduce. Looks like the same issue as 142639 I was waiting for the "test" method but I guess it's been implemented and ready to use *** Issue 127966 has been marked as a duplicate of this issue. *** *** Issue 142639 has been marked as a duplicate of this issue. *** *** Issue 145942 has been marked as a duplicate of this issue. *** It's pretty easy to reproduce this, BTW: - Start MySQL - Connect to a database - Open up the table node - Stop MySQL - Start MySQL - Enjoy the exception 9b6a38761855 Fixed this by having a method that checks the connection, and if it's lost, ask the user if they want to reconnect *** Issue 147246 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *200809180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9b6a38761855 User: David Van Couvering <davidvc@netbeans.org> Log: #146442: [65cat] org.netbeans.api.db.explorer.DatabaseException: Communications link failure Fixed this by having a method that checks the connection, and if it's lost, ask the user if they want to reconnect Verified with build 080918. *** Issue 147365 has been marked as a duplicate of this issue. *** |