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 222714 - NullPointerException at org.netbeans.modules.apisupport.installer.actions.BuildInstallersAction$ContextBuildInstaller.actionPerformed
Summary: NullPointerException at org.netbeans.modules.apisupport.installer.actions.Bui...
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-25 16:14 UTC by mienamoo
Modified: 2012-11-30 09:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195653


Attachments
stacktrace (2.93 KB, text/plain)
2012-11-25 16:14 UTC, mienamoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2012-11-25 16:14:51 UTC
Build: NetBeans IDE Dev (Build 201211200002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
mienamoo: I created a suite with 2 modules according to the project operations test suite http://wiki.netbeans.org/TS_71_APISupport_Ant_ProjectOperations. And this exception occurred when trying to build installers.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.apisupport.installer.actions.BuildInstallersAction$ContextBuildInstaller.actionPerformed(BuildInstallersAction.java:145)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
Comment 1 mienamoo 2012-11-25 16:14:53 UTC
Created attachment 128357 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-11-26 14:36:23 UTC
Does not seem to be related to harness, at first sight.
Comment 3 Ondrej Vrabec 2012-11-26 15:32:17 UTC
project.properties in the suite probably misses app.name setting:
> app.name=${branding.token}
Check that it's present or directly attach the file here if reproducible.
Comment 4 Ondrej Vrabec 2012-11-26 15:34:52 UTC
sorry, more likely you were building installers for module suite instead of a platform app
Comment 5 Ondrej Vrabec 2012-11-26 15:37:11 UTC
jtulach's core-main #6a822de260f9
Comment 6 Ondrej Vrabec 2012-11-26 15:41:28 UTC
fix: http://hg.netbeans.org/core-main/rev/2313097f7106
Comment 7 Quality Engineering 2012-11-28 02:34:26 UTC
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2313097f7106
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #222714 - NullPointerException at org.netbeans.modules.apisupport.installer.actions.BuildInstallersAction$ContextBuildInstaller.actionPerformed
Comment 8 mienamoo 2012-11-30 09:19:48 UTC
Verified with build 201211290002.