Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 111734 - NPE during build
Summary: NPE during build
Status: CLOSED DUPLICATE of bug 97756
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 1.0 M9   Edit
Assignee: Chuck Bridgham CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 02:55 EDT by Carsten Friedrich CLA
Modified: 2006-09-26 10:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Friedrich CLA 2005-10-06 02:55:59 EDT
I get the following NPE when building my Web Application. I'm not 100% sure but
I think as a result no .jar files are generated for projects the application
depends on (the ones which should end up in .deployables/XXX/WEB-INF/lib/). This
is not a regression problem and also happens in 0.7.

Warning 2005-10-06 16:50:06.226 java.lang.NullPointerException encountered while
running Component Structural Dependency Resolver.
java.lang.NullPointerException
	at
org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent.getComponentTypeId(VirtualComponent.java:90)
	at
org.eclipse.wst.common.componentcore.internal.builder.ReferencedComponentBuilderOperation.getZipFileName(ReferencedComponentBuilderOperation.java:296)
	at
org.eclipse.wst.common.componentcore.internal.builder.ReferencedComponentBuilderOperation.execute(ReferencedComponentBuilderOperation.java:134)
	at
org.eclipse.wst.common.frameworks.internal.datamodel.ExtendableOperationImpl.doExecute(ExtendableOperationImpl.java:129)
	at
org.eclipse.wst.common.frameworks.internal.datamodel.ExtendableOperationImpl$1.run(ExtendableOperationImpl.java:109)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
	at
org.eclipse.wst.common.frameworks.internal.datamodel.ExtendableOperationImpl.execute(ExtendableOperationImpl.java:115)
	at
org.eclipse.wst.common.componentcore.internal.builder.ComponentStructuralBuilderDependencyResolver.build(ComponentStructuralBuilderDependencyResolver.java:57)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
	at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 Chuck Bridgham CLA 2005-10-06 13:54:51 EDT
The component builders are being removed this week.  Dupping against that defect.

*** This bug has been marked as a duplicate of 97756 ***
Comment 2 Carsten Friedrich CLA 2006-07-04 00:37:10 EDT
Problem no longer occurs
Comment 3 John Lanuti CLA 2006-09-26 10:09:43 EDT
Closing.