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.
This bug was originally marked as duplicate of bug 239540, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Windows 7 User Comments: gbivins: building maven project javydreamercsw: After changing the local repository on maven's settings.xml. Stacktrace: java.lang.NullPointerException at java.io.File.<init>(File.java:360) at org.netbeans.modules.maven.apisupport.CoSApplicationLateBoundChecker.checkRunConfig(CoSApplicationLateBoundChecker.java:132) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:159) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Created attachment 146553 [details] stacktrace
http://hg.netbeans.org/core-main/rev/8cd34accaa50 I don't fully understand why the null exception appears so I've added an assert next to the fix, so those with asserts on will see another exception here until I understand the problem :)
Integrated into 'main-silver', will be available in build *201404080419* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8cd34accaa50 User: Milos Kleint <mkleint@netbeans.org> Log: #243564 npe check
Still occurs with the latest nightly build (NetBeans IDE Build 201407080001) on Windows 8. When trying to execute my NBP application, I get the following NPE: java.lang.NullPointerException at java.io.File.<init>(File.java:360) at org.netbeans.modules.maven.apisupport.CoSApplicationLateBoundChecker.checkRunConfig(CoSApplicationLateBoundChecker.java:133) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:162) [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Notes: building the application works fine Product Version = NetBeans IDE Dev (Build 201407080001) (#d5f5bf8ec3be) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_05-b13
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=208926
Created attachment 164264 [details] stacktrace <Forne?a uma descri??o do problema ou as etapas a serem reproduzidas>