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 224115 - NPE at maven.actions.BuildInstallersAction$ContextBuildInstaller.<init>
Summary: NPE at maven.actions.BuildInstallersAction$ContextBuildInstaller.<init>
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-21 03:26 UTC by alied
Modified: 2012-12-28 02:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 177481


Attachments
stacktrace (3.20 KB, text/plain)
2012-12-21 03:26 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2012-12-21 03:26:49 UTC
Build: NetBeans IDE Dev (Build 201212140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Linux

User Comments:
alied: following the JEE tutorial [1], but using maven. right click on the SimpleEE6App.

[1]http://netbeans.org/kb/docs/javaee/javaee-gettingstarted.html

GUEST: starting the IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.apisupport.installer.maven.actions.BuildInstallersAction$ContextBuildInstaller.<init>(BuildInstallersAction.java:122)
   at org.netbeans.modules.apisupport.installer.maven.actions.BuildInstallersAction.createContextAwareInstance(BuildInstallersAction.java:110)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2825)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2921)
   at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1058)
   at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1555)
Comment 1 alied 2012-12-21 03:26:51 UTC
Created attachment 129605 [details]
stacktrace
Comment 2 Milos Kleint 2012-12-27 10:38:38 UTC
https://hg.netbeans.org/core-main/rev/a4b9cf993c48
Comment 3 Quality Engineering 2012-12-28 02:26:46 UTC
Integrated into 'main-golden', will be available in build *201212280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a4b9cf993c48
User: Milos Kleint <mkleint@netbeans.org>
Log: #224115 in some situations context apparently can NOT include a project instance