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.
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)
Created attachment 68904 [details] stacktrace
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.
Can happen if the build script was manually deleted - findBuildXml() will return null, but there is no null check. Now there is. 104583:fbdccf514ab4