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 166367 - Broken connection on mysql leads to exception while building metadatamodel
Summary: Broken connection on mysql leads to exception while building metadatamodel
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: matthias42
URL: http://statistics.netbeans.org/except...
Keywords:
: 175384 208263 248157 262518 268434 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 20:43 UTC by haskovec
Modified: 2016-11-04 21:16 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144538


Attachments
stacktrace (4.78 KB, text/plain)
2009-06-01 20:43 UTC, haskovec
Details
stacktrace (3.61 KB, text/plain)
2009-11-03 17:57 UTC, javadimon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haskovec 2009-06-01 20:43:06 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, x86

User Comments:
mar: error when getting list of tables in db after some time

GUEST: I was just installing the UML plug-in

GUEST: installing the portal pack 3.0.1

rjt: Browsing tables in a DB. DB is not the default for this connection, but user has permission to see it.



Stacktrace: 
org.netbeans.modules.db.metadata.model.api.MetadataModelException: org.netbeans.modules.db.metadata.model.api.MetadataException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was61574 seconds ago.The last packet sent successfully to the server was 61574 seconds ago, which  is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
        at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:99)
        at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89)
        at org.netbeans.modules.db.explorer.node.TableNodeProvider.initialize(TableNodeProvider.java:99)
        at org.netbeans.api.db.explorer.node.NodeProvider.getNodes(NodeProvider.java:103)
        at org.netbeans.modules.db.explorer.node.NodeRegistry.getNodes(NodeRegistry.java:149)
        at org.netbeans.api.db.explorer.node.ChildNodeFactory.createKeys(ChildNodeFactory.java:104)
Comment 1 haskovec 2009-06-01 20:43:21 UTC
Created attachment 83082 [details]
stacktrace
Comment 2 javadimon 2009-11-03 17:57:16 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31-14-generic, i386

User Comments: 


Stacktrace: 
java.net.SocketException: Connection timed out
        at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java:0)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3227)
Comment 3 javadimon 2009-11-03 17:57:20 UTC
Created attachment 90461 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-11-03 17:57:28 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144538
Comment 5 Exceptions Reporter 2009-11-17 00:15:48 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144538
Comment 6 Exceptions Reporter 2009-11-18 00:05:15 UTC
This issue already has 13 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144538
Comment 7 matthias42 2013-07-02 19:22:10 UTC
*** Bug 208263 has been marked as a duplicate of this bug. ***
Comment 8 matthias42 2013-07-02 19:31:51 UTC
*** Bug 175384 has been marked as a duplicate of this bug. ***
Comment 9 matthias42 2015-02-06 19:39:32 UTC
Reassigned - I'll have to look into this.
Comment 10 matthias42 2015-02-06 19:40:54 UTC
*** Bug 248157 has been marked as a duplicate of this bug. ***
Comment 11 matthias42 2016-06-21 19:55:02 UTC
*** Bug 262518 has been marked as a duplicate of this bug. ***
Comment 12 matthias42 2016-11-04 21:16:59 UTC
*** Bug 268434 has been marked as a duplicate of this bug. ***