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 193296 - [70cat] NullPointerException at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules
Summary: [70cat] NullPointerException at org.netbeans.modules.j2ee.deployment.impl.Tar...
Status: RESOLVED DUPLICATE of bug 194197
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 16:21 UTC by Chiana
Modified: 2011-01-10 23:26 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174386


Attachments
stacktrace (921 bytes, text/plain)
2010-12-12 16:21 UTC, Chiana
Details
stacktrace (921 bytes, text/plain)
2010-12-17 06:02 UTC, Chiana
Details
stacktrace (921 bytes, text/plain)
2010-12-17 12:35 UTC, Chiana
Details
stacktrace (921 bytes, text/plain)
2010-12-24 14:00 UTC, jbsabmello
Details
stacktrace (921 bytes, text/plain)
2010-12-26 21:33 UTC, jbsabmello
Details
stacktrace (921 bytes, text/plain)
2011-01-10 22:05 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2010-12-12 16:21:29 UTC
Build: NetBeans IDE Dev (Build 201012120001)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows Vista

User Comments:
Chiana: Saved a class, I think it compiled it before throwing this.

kganfield: using Message Driven Bean wizard to create mdb. Target server is GF 3.01




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getDeploymentDirectoryModules(TargetServer.java:885)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:788)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:435)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:358)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
Comment 1 Chiana 2010-12-12 16:21:33 UTC
Created attachment 103987 [details]
stacktrace
Comment 2 Chiana 2010-12-17 06:02:16 UTC
Created attachment 104180 [details]
stacktrace

Created a new data source in the "New Persistence Unit" dialog
Comment 3 Chiana 2010-12-17 12:35:19 UTC
Created attachment 104207 [details]
stacktrace

Don't think this was caused by NB but reports it anyway, background cause is probable "STOP 0x000000F4" on one of my servers, but I cannot be absolutley sure that is the cause.
Comment 4 Exceptions Reporter 2010-12-17 12:35:27 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=174386
Comment 5 jbsabmello 2010-12-24 14:00:33 UTC
Created attachment 104477 [details]
stacktrace
Comment 6 jbsabmello 2010-12-26 21:33:42 UTC
Created attachment 104511 [details]
stacktrace
Comment 7 Vince Kraemer 2011-01-10 22:05:14 UTC
Created attachment 104858 [details]
stacktrace

when I save a file that is assigned to a server...

start the ide
register a gf server
start the server
create a web app project
create a web service
make a change to NewWebService.java and save it.
Comment 8 Exceptions Reporter 2011-01-10 22:05:25 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=174386
Comment 9 Vince Kraemer 2011-01-10 23:26:44 UTC
I filed a different report for this and have checked in a fix to web-main

*** This bug has been marked as a duplicate of bug 194197 ***