Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5087

NullPointerException when do JBoss server publish once the name of the project is changed

    Details

      Description

      To produce:
      1. create a WTP project, such as Web project, add to JBoss Server adapter and then publish it, it works.
      2. rename the project and republish the project, got the NullPointerException:

      java.lang.NullPointerException
      at org.jboss.ide.eclipse.as.core.publishers.PublishUtil.getResources(PublishUtil.java:171)
      at org.jboss.ide.eclipse.as.core.publishers.PublishUtil.getResources(PublishUtil.java:175)
      at org.jboss.ide.eclipse.archives.webtools.modules.LocalZippedPublisherUtil.fullPublish(LocalZippedPublisherUtil.java:186)
      at org.jboss.ide.eclipse.archives.webtools.modules.LocalZippedPublisherUtil.publishModule(LocalZippedPublisherUtil.java:62)
      at org.jboss.ide.eclipse.archives.webtools.modules.WTPZippedPublisher.publishModule(WTPZippedPublisher.java:50)
      at org.jboss.ide.eclipse.as.core.publishers.LocalPublishMethod.publishModule(LocalPublishMethod.java:71)
      at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:65)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:948)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1038)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:872)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maxandersen Max Rydahl Andersen
                Reporter:
                dennyxu Denny Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: