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 207036 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.getDescriptorPath
Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileD...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 10:29 UTC by Alniks
Modified: 2012-04-12 13:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184237


Attachments
stacktrace (1.37 KB, text/plain)
2012-01-08 10:29 UTC, Alniks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alniks 2012-01-08 10:29:19 UTC
This bug was originally marked as duplicate of bug 204751, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

User Comments:
Alniks: when editing css

vriha: Editing jsp in enterprise application




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:255)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:877)
Comment 1 Alniks 2012-01-08 10:29:22 UTC
Created attachment 114715 [details]
stacktrace
Comment 2 Petr Hejl 2012-04-12 13:30:55 UTC
Seems to be some URL mismatch in project and/or server plugin. However in order to fix this we need to know at least which server was used to run the project. Unfortunately I can't find it from logs - the project seems to be maven.

It would be even better to know steps to reproduce.
Thanks.