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 226066 - NullPointerException at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning.addDatabaseConnection
Summary: NullPointerException at org.netbeans.modules.j2ee.common.ui.MissingDatabaseCo...
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
Depends on:
Reported: 2013-02-13 14:23 UTC by muellermi
Modified: 2013-06-14 01:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198567

stacktrace (7.17 KB, text/plain)
2013-02-13 14:23 UTC, muellermi

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2013-02-13 14:23:28 UTC
This bug was originally marked as duplicate of bug 167914, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201302122300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20
OS: Windows 8

User Comments:
muellermi: trying to resolve 2nd Data Source

   at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning.addDatabaseConnection(
   at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning.jButtonAddConnectionActionPerformed(
   at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning.access$100(
   at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning$1.actionPerformed(
   at javax.swing.AbstractButton.fireActionPerformed(
   at javax.swing.AbstractButton$Handler.actionPerformed(
Comment 1 muellermi 2013-02-13 14:23:30 UTC
Created attachment 131348 [details]
Comment 2 muellermi 2013-02-13 14:35:01 UTC
Usually, when NB opens the resolve data source dialog, the data soucre is selected. In this case, two data sources had to be resolved. After resolving the first one, as far as I remember, the second had not been selected. This might have caused the crash.
Comment 3 Martin Janicek 2013-06-13 08:06:40 UTC
Fixed in: web-main #20fe5a5c81ec
Comment 4 Quality Engineering 2013-06-14 01:59:47 UTC
Integrated into 'main-golden', will be available in build *201306132301* on (upload may still be in progress)
User: Martin Janicek <>
Log: #226066 - NullPointerException at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning.addDatabaseConnection