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 253251

Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.getDescriptorPath
Product: serverplugins Reporter: supunsmsm
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal CC: asankamadhawa, jbadcode, thruminds
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218239
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description supunsmsm 2015-06-30 04:40:22 UTC
This bug was originally marked as duplicate of bug 207036, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 8

User Comments:
GUEST: err

GUEST: err

GUEST: err

GUEST: err

GUEST: er

GUEST: err

GUEST: java.lang.NullPointerException
	at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.getDescriptorPath(ServerFileDistributor.java:123)
	at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.createModuleChangeDescriptor(ServerFileDistributor.java:137)
	at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave(ServerFileDistributor.java:270)
	at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distributeOnSave(ServerFileDistributor.java:206)
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChangesOnSave(TargetServer.java:252)
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:886)
	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:548)
[catch] at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:452)
	at java.util.concurrent.Executors$Run

GUEST: err

supunsmsm: <Please provide a description of the problem or the steps to reproduce> Background error and unknown

GUEST: err




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.getDescriptorPath(ServerFileDistributor.java:123)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.createModuleChangeDescriptor(ServerFileDistributor.java:137)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave(ServerFileDistributor.java:270)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distributeOnSave(ServerFileDistributor.java:206)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChangesOnSave(TargetServer.java:249)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:883)
Comment 1 supunsmsm 2015-06-30 04:40:25 UTC
Created attachment 154434 [details]
stacktrace
Comment 2 Petr Hejl 2015-06-30 10:19:59 UTC
Are there any reproducible steps? What project and server do you use?
Comment 3 thruminds 2016-01-14 14:24:39 UTC
Created attachment 158128 [details]
stacktrace

Deploying EJB module to Oracle Weblogic
Comment 4 thruminds 2016-01-14 14:48:39 UTC
Created attachment 158129 [details]
stacktrace

deploying and ejb project to weblogic
Comment 5 thruminds 2016-03-22 13:50:28 UTC
Created attachment 158970 [details]
stacktrace

Shutting down WebLogic 12c while it was redeploying an EAR project