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 243582 - NullPointerException at org.netbeans.modules.db.explorer.action.ConnectAction$ConnectionDialogDisplayer.supportsConnectWithoutUsername
Summary: NullPointerException at org.netbeans.modules.db.explorer.action.ConnectAction...
Status: RESOLVED DUPLICATE of bug 244350
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-04 18:22 UTC by Lukas Jungmann
Modified: 2014-08-13 12:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208933


Attachments
stacktrace (3.73 KB, text/plain)
2014-04-04 18:22 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2014-04-04 18:22:43 UTC
Build: NetBeans IDE Dev (Build 20140403-9b4f328ea89f)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Mac OS X

User Comments:
jungi: trying to connect to oracledb




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.action.ConnectAction$ConnectionDialogDisplayer.supportsConnectWithoutUsername(ConnectAction.java:393)
   at org.netbeans.modules.db.explorer.action.ConnectAction$ConnectionDialogDisplayer.showDialog(ConnectAction.java:190)
   at org.netbeans.modules.db.explorer.action.ConnectAction$ConnectionDialogDisplayer.showDialog(ConnectAction.java:173)
   at org.netbeans.modules.db.explorer.action.ConnectAction.performAction(ConnectAction.java:125)
   at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
Comment 1 Lukas Jungmann 2014-04-04 18:22:47 UTC
Created attachment 146561 [details]
stacktrace
Comment 2 Libor Fischmeistr 2014-04-05 08:26:24 UTC
Please provide steps to reproduce and specify what JDBC driver did you use.
Comment 3 Lukas Jungmann 2014-04-07 08:09:24 UTC
-register connection to oracle db in the IDE using Oracle thin driver/ojdbc6
-test the connection (connect to the DB, execute some select,...)

=> works fine

-restart IDE
-double-click on the connection in the services tab to reconnect to the DB

=> NPE
Comment 4 matthias42 2014-08-13 12:36:40 UTC
Same backtrace.

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