1 Reply Latest reply on Jun 13, 2008 9:09 AM by Elvis D,

    Error when trying to publish a newly created application 2.1.1

    Elvis D, Novice

      When i try to publish my app. i get a nullpointer exception and the app isn't deployed...


      Seam 2.0.2
      JBossTools 2.1.1
      eclipse 3.3.2
      jdk 6


      Here the log


      !ENTRY org.eclipse.wst.server.core 4 0 2008-06-12 17:08:17.892
      !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)