Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344961 - NPE during server status update
Summary: NPE during server status update
Status: NEW
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Rob Stryker CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 09:32 EDT by Patric Rufflar CLA
Modified: 2011-05-12 00:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patric Rufflar CLA 2011-05-06 09:32:31 EDT
Build Identifier: 3.2.3

An internal error occurred during: "Updating status for Tomcat v6.0 Server at localhost...".

java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:153)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.handleNonChildUsedBinaryReference(FlatVirtualComponent.java:304)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.addNonChildUsedReference(FlatVirtualComponent.java:279)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.addUsedReferences(FlatVirtualComponent.java:239)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.treeWalk(FlatVirtualComponent.java:168)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.cacheResources(FlatVirtualComponent.java:121)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.fetchResources(FlatVirtualComponent.java:101)
at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.members(FlatComponentDeployable.java:147)
at org.eclipse.wst.server.core.internal.ModulePublishInfo.hasDelta(ModulePublishInfo.java:392)
at org.eclipse.wst.server.core.internal.ServerPublishInfo.hasDelta(ServerPublishInfo.java:428)
at org.eclipse.wst.server.core.internal.Server.hasPublishedResourceDelta(Server.java:1467)
at org.eclipse.wst.server.core.internal.Server$ResourceChangeJob$1.visit(Server.java:210)
at org.eclipse.wst.server.core.internal.Server.visitModule(Server.java:2781)
at org.eclipse.wst.server.core.internal.Server.visit(Server.java:2765)
at org.eclipse.wst.server.core.internal.Server$ResourceChangeJob.run(Server.java:221)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Didn't try

Steps to Reproduce:
What I did before the exception occurred:
1. Start Server
2. Add another source folder to the java build path
3. NPE.
Comment 1 Angel Vera CLA 2011-05-11 13:05:54 EDT
Passing it to JEE as the NPE is inside of FlatComponentDeployable.members
Comment 2 Rob Stryker CLA 2011-05-12 00:25:40 EDT
Hi Patric:

 Can you give me more details from start to finish on how to reproduce this bug? You are using a web project? What version of tomcat, what version of dynamic web project facet, etc?

Thanks.