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>
Severity: blocker CC: psuchomel
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
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: 

java.lang.NullPointerException: Must pass non-null build script
        at org.netbeans.modules.mobility.project.J2MEActionProvider$
        at org.netbeans.modules.mobility.project.J2MEActionProvider.invokeAction(
        at org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed(
        at javax.swing.AbstractButton.fireActionPerformed(
        at javax.swing.AbstractButton$Handler.actionPerformed(
Comment 1 kmusham 2008-09-02 21:54:06 UTC
Created attachment 68904 [details]
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.