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 226061 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 14:08 UTC by mienamoo
Modified: 2013-02-19 09:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198565


Attachments
stacktrace (1.10 KB, text/plain)
2013-02-13 14:08 UTC, mienamoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2013-02-13 14:08:32 UTC
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)
Comment 1 mienamoo 2013-02-13 14:08:34 UTC
Created attachment 131347 [details]
stacktrace
Comment 2 Martin Janicek 2013-02-13 16:12:15 UTC
Fixed in: web-main #d63e2bf9859e (not in trunk, currently only on javaee7 branch)
Comment 3 Quality Engineering 2013-02-19 01:50:40 UTC
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>
Comment 4 mienamoo 2013-02-19 06:48:33 UTC
Verified with build 201302182300. Thanks for the fix!
Comment 5 Martin Janicek 2013-02-19 08:23:42 UTC
(In reply to comment #4)
> Verified with build 201302182300. Thanks for the fix!

You are welcome! Thanks for the report ;)
Comment 6 mienamoo 2013-02-19 09:07:54 UTC
(In reply to comment #5)
> You are welcome! Thanks for the report ;)

You're welcome! :D