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

Rob Stryker (JIRA) jira-events at lists.jboss.org
Fri May 11 03:32:18 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-11351.
---------------------------------

    Resolution: Done


1) Create a server and runtime, put it in rse mode, fill out the data
2) Delete the runtime, but do not delete the server
3) try to publish something to this server 
                
> 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