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 145971 - NullPointerException: Must pass non-null build script
Summary: NullPointerException: Must pass non-null build script
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ tboudreau
URL: http://statistics.netbeans.org/except...
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-09-02 21:54 UTC by kmusham
Modified: 2008-09-30 19:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 14926


Attachments
stacktrace (2.65 KB, text/plain)
2008-09-02 21:54 UTC, kmusham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kmusham 2008-09-02 21:54:01 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException: Must pass non-null build script
        at org.apache.tools.ant.module.api.support.ActionUtils.runTarget(ActionUtils.java:81)
        at org.netbeans.modules.mobility.project.J2MEActionProvider$1.run(J2MEActionProvider.java:251)
        at org.netbeans.modules.mobility.project.J2MEActionProvider.invokeAction(J2MEActionProvider.java:261)
        at org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed(MainProjectAction.java:121)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Comment 1 kmusham 2008-09-02 21:54:06 UTC
Created attachment 68904 [details]
stacktrace
Comment 2 Denis Anisimov 2008-09-12 08:11:06 UTC
This is just general exception report.
Stack trace doesn't show any particular usecase how this exception appears.

Please provide steps how one can get this exception.
Without these steps we are unable to understand the essence of the issue.
Comment 3 _ tboudreau 2008-09-30 19:07:37 UTC
Can happen if the build script was manually deleted - findBuildXml() will return null, but there is no null check.

Now there is.
104583:fbdccf514ab4