I am getting null pointer exception while publishing dynamic web project on jboss using eclipse

Posted by Rozer on Stack Overflow See other posts from Stack Overflow or by Rozer
Published on 2010-06-13T14:36:10Z Indexed on 2010/06/13 14:52 UTC
Read the original article Hit count: 580

Filed under:
|
|

I am getting null pointer exception while publishing dynamic web project on jboss using eclipse

Environment details

Version: 3.3.2
Build id: M20080221-1800
Jboss: 3.2.3
JDK 1.5

I have checked with google, but nothing work, can anyone suggest me what is the root cause for that Following is the log trace may be help to understance the situation

!ENTRY org.eclipse.wst.server.core 4 0 2010-06-13 19:03:44.568
!MESSAGE Error calling delegate restart() JBOSS 4.0

!ENTRY org.eclipse.wst.server.core 4 0 2010-06-13 19:39:34.365
!MESSAGE Could not publish to the server.
!STACK 0
java.lang.NullPointerException
    at org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities.getDeployUriOfComponent(ComponentUtilities.java:327)
    at org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeployable.getURI(J2EEFlexProjDeployable.java:429)
    at org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher.guessModuleName(AntPublisher.java:259)
    at org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher.getPublishProperties(AntPublisher.java:224)
    at org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher.publish(AntPublisher.java:110)
    at org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour.publishModule(GenericServerBehaviour.java:84)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:835)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
    at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
    at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
    at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse