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 222839, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201302070001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21 OS: Windows 7 User Comments: mienamoo: I pulled changes from our repository, which included renaming a web module (including the folder name), so that the project that was open no longer existed on the file system. GUEST: idle GUEST: rebuild Stacktrace: java.lang.NullPointerException at java.io.File.<init>(File.java:251) at org.netbeans.modules.maven.j2ee.ear.EarImpl.getContentDirectory(EarImpl.java:353) at org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule.getContentDirectory(J2eeModule.java:269) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:153) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:819) at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:548)
Created attachment 131347 [details] stacktrace
Fixed in: web-main #d63e2bf9859e (not in trunk, currently only on javaee7 branch)
Integrated into 'main-golden', will be available in build *201302182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d63e2bf9859e User: Martin Janicek <mjanicek@netbeans.org> Log: #226061 - NullPointerException at java.io.File.<init>
Verified with build 201302182300. Thanks for the fix!
(In reply to comment #4) > Verified with build 201302182300. Thanks for the fix! You are welcome! Thanks for the report ;)
(In reply to comment #5) > You are welcome! Thanks for the report ;) You're welcome! :D