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

Summary: NullPointerException: Must pass non-null build script
Product: javame Reporter: kmusham <kmusham>
Component: Build SystemAssignee: _ tboudreau <tboudreau>
Status: RESOLVED FIXED    
Severity: blocker CC: psuchomel
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=14926
Issue Type: DEFECT Exception Reporter: 14926
Attachments: stacktrace

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