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 205048

Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave
Product: serverplugins Reporter: abien <abien>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: bleathem, dejan2601, gopal123_acharya
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 174393
Attachments: stacktrace
stacktrace

Description abien 2011-11-13 10:58:13 UTC
Build: NetBeans IDE Dev (Build 201111110600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-11M3527
OS: Mac OS X

User Comments:
bleathem: Saving a java file

bleathem: Editing the return string of a java class.

gopal123_acharya: java.lang.RuntimeException exception has occurred




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave(ServerFileDistributor.java:431)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distributeOnSave(ServerFileDistributor.java:224)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChangesOnSave(TargetServer.java:255)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:877)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:497)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:414)
Comment 1 abien 2011-11-13 10:58:14 UTC
Created attachment 113163 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-02-15 13:00:57 UTC
Created attachment 115750 [details]
stacktrace
Comment 3 Exceptions Reporter 2012-03-09 13:35:15 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=174393
Comment 4 Petr Hejl 2012-04-12 12:53:36 UTC
Fixed in web-main 740fa4d56884. Please verify.
Comment 5 Quality Engineering 2012-04-13 09:49:16 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/740fa4d56884
User: Petr Hejl <phejl@netbeans.org>
Log: #205048 NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave