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 213602 - java.sql.SQLException: no database metadata available
Summary: java.sql.SQLException: no database metadata available
Status: RESOLVED DUPLICATE of bug 206835
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 14:07 UTC by luki100011
Modified: 2012-06-08 14:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189008


Attachments
stacktrace (590 bytes, text/plain)
2012-06-05 14:07 UTC, luki100011
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luki100011 2012-06-05 14:07:45 UTC
This bug was originally marked as duplicate of bug 170090, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

User Comments:
sunbiz: Connecting to MySQL database table by right-click on table name and Connect




Stacktrace: 
java.sql.SQLException: no database metadata available
   at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.isReadOnly(DefaultAdaptor.java:438)
   at org.netbeans.modules.db.explorer.node.ConnectionNode.updateLocalProperties(ConnectionNode.java:181)
   at org.netbeans.modules.db.explorer.node.ConnectionNode.access$200(ConnectionNode.java:75)
   at org.netbeans.modules.db.explorer.node.ConnectionNode$2.run(ConnectionNode.java:319)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 luki100011 2012-06-05 14:07:51 UTC
Created attachment 120375 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-06-07 09:15:21 UTC
As stated in the original issue, it is difficult to evaluate this bug.
Please, can you describe steps to reproduce? Thank you.
Comment 3 Jaroslav Havlin 2012-06-08 14:24:15 UTC
Field DefaultAdaptor.dmd changed during invocation of ConnectionNode.updateLocalProperties. Probably broken or closed connection.

*** This bug has been marked as a duplicate of bug 206835 ***