[jbosstools-issues] [JBoss JIRA] (JBIDE-11351) getting NPE errors when having local deployer with old file system setup

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Mar 19 10:28:48 EDT 2012


Max Rydahl Andersen created JBIDE-11351:
-------------------------------------------

             Summary: getting NPE errors when having local deployer with old file system setup
                 Key: JBIDE-11351
                 URL: https://issues.jboss.org/browse/JBIDE-11351
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS/Servers
            Reporter: Max Rydahl Andersen
            Assignee: Rob Stryker
             Fix For: 3.3.0.Beta3


opened old workspace with a remote deployment setup without a matching host/path names and I got:

"Could not publish to server" and a NPE exception:

java.lang.NullPointerException
	at org.jboss.ide.eclipse.as.rse.core.RSEUtils.getRSEConfigName(RSEUtils.java:75)
	at org.jboss.ide.eclipse.as.rse.core.RSEUtils.getDeployRootFolder(RSEUtils.java:109)
	at org.jboss.ide.eclipse.as.rse.core.RSEUtils.getDeployRootFolder(RSEUtils.java:79)
	at org.jboss.ide.eclipse.as.rse.core.RSEPublishMethod.loadRemoteDeploymentDetails(RSEPublishMethod.java:169)
	at org.jboss.ide.eclipse.as.rse.core.RSEPublishMethod.publishStart(RSEPublishMethod.java:67)
	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishStart(DeployableServerBehavior.java:64)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:927)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3087)
	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Why arne't our server adapters checking their setup before NPE'ing ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list