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 225609 - IllegalStateException: The Java DB (Network) driver was not found
Summary: IllegalStateException: The Java DB (Network) driver was not found
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 18:05 UTC by TigeKala
Modified: 2013-02-10 01:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198238


Attachments
stacktrace (3.36 KB, text/plain)
2013-01-31 18:05 UTC, TigeKala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TigeKala 2013-01-31 18:05:34 UTC
This bug was originally marked as duplicate of bug 203831, 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.3 RC1 (Build 201301240957)
VM: Java HotSpot(TM) Client VM, 20.13-b02, Java(TM) SE Runtime Environment, 1.6.0_38-b05
OS: Windows 8

User Comments:
TigeKala: Tried to connect JavaDB




Stacktrace: 
java.lang.IllegalStateException: The Java DB (Network) driver was not found
   at org.netbeans.modules.derby.ConnectDatabaseAction.performAction(ConnectDatabaseAction.java:104)
   at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
   at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
   at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:583)
Comment 1 TigeKala 2013-01-31 18:05:37 UTC
Created attachment 130906 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-02-05 16:20:49 UTC
Please try to open you Services window, right-click node Databases -> Java DB, and select Properties... Is the Java DB installation set correctly?

In Databases -> Drivers -> Java DB (Network), right-click, Customize, are some Driver File(s) set and do they exist?

Did you import settings from previous installation, or do you have a clean install?

Thank you.
Comment 3 Jaroslav Havlin 2013-02-08 14:46:34 UTC
I was able to reproduce the bug.
Probably, it is better to show an info message and suggest opening 
"Add Driver" dialog instead of throwing an exception.

Fixed in http://hg.netbeans.org/core-main/rev/62c8254e25fc

Thank you for reporting.
Comment 4 Quality Engineering 2013-02-10 01:41:51 UTC
Integrated into 'main-golden', will be available in build *201302092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/62c8254e25fc
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #225609: IllegalStateException: The Java DB (Network) driver was not found