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 196165 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules
Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.TargetServe...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 16:10 UTC by Sergey Petrov
Modified: 2011-08-01 12:44 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176855


Attachments
stacktrace (699 bytes, text/plain)
2011-03-01 16:10 UTC, Sergey Petrov
Details
stacktrace (699 bytes, text/plain)
2011-03-22 21:27 UTC, bleathem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2011-03-01 16:10:03 UTC
Build: NetBeans IDE Dev (Build 110301-6dd02dea2d1c)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
sj-nb: clean&build maven web project. ee6, gf 3.0.1 set

GUEST: java.lang.NullPointerException
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules(TargetServer.java:894)
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.undeploy(TargetServer.java:713)
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.undeploy(Deployment.java:254)
Caused: Undeployment error:
null

See the server log for details.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.undeploy(Deployment.java:263)
[catch] at org.netbeans.modules.maven.j2ee.J2EEPrerequisitesChecker.checkRunConfig(J2EEPrerequisitesChecker.java:118)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:136)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules(TargetServer.java:894)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.undeploy(TargetServer.java:713)
   at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.undeploy(Deployment.java:254)
   at org.netbeans.modules.maven.j2ee.J2EEPrerequisitesChecker.checkRunConfig(J2EEPrerequisitesChecker.java:118)
   at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:136)
   at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
Comment 1 Sergey Petrov 2011-03-01 16:10:07 UTC
Created attachment 106602 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-16 14:31:06 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176855
Comment 3 bleathem 2011-03-22 21:27:57 UTC
Created attachment 107200 [details]
stacktrace
Comment 4 Exceptions Reporter 2011-06-25 20:37:40 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176855
Comment 5 Petr Hejl 2011-06-30 12:59:03 UTC
Fixed in web-main 1da9a44eb893.
Comment 6 Petr Hejl 2011-06-30 14:05:36 UTC
QE, can you verify?
Comment 7 Tomas Mysik 2011-06-30 14:21:52 UTC
Patch seems to be OK.
Comment 8 Jiri Skrivanek 2011-07-01 10:08:51 UTC
Since I don't have a reproducible test case I can't tell more than that the patch seems to me OK.
Comment 9 Quality Engineering 2011-07-01 14:07:26 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1da9a44eb893
User: phejl@netbeans.org
Log: #196165 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules
Comment 10 Petr Hejl 2011-07-11 14:18:41 UTC
Transplanted as ebe305387d2e.
Comment 11 Quality Engineering 2011-07-16 16:47:46 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/ebe305387d2e
User: phejl@netbeans.org
Log: #196165 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules