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

Martin Malina (JIRA) jira-events at lists.jboss.org
Thu Apr 26 10:01:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688015#comment-12688015 ] 

Martin Malina commented on JBIDE-11351:
---------------------------------------

If what I'm seeing is different from the original scenario, let me know and I can create another JIRA.
My steps:
1. Create a Deploy only server pointing to a remote host.
2. Quit Eclipse
3. Make sure the remote host is not reachable
4. Start Eclipse
5. Drag a simple Dynamic Web Project on the Deploy only server in the Server View
6. ASSERT some sort of error (e.g. Cannot publish to server, server not found...)
FAIL - no error, everything seems to be ok
                
> 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