[jbosstools-issues] [JBoss JIRA] (JBIDE-17300) NPE when starting a remote server with no launch or shutdown command
Rob Stryker (JIRA)
issues at jboss.org
Tue Jul 8 05:08:25 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982921#comment-12982921 ]
Rob Stryker commented on JBIDE-17300:
-------------------------------------
This is intentional. You cannot have a blank startup command. If you wish to not have any startup command, you should mark your servers as externally managed... not have a blank startup command.
When a blank or whitespace-only startup or shutdown command is present, the default will be used instead.
> NPE when starting a remote server with no launch or shutdown command
> --------------------------------------------------------------------
>
> Key: JBIDE-17300
> URL: https://issues.jboss.org/browse/JBIDE-17300
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta2
> Environment: Eclipse Luna M6
> JBT nightly 4.2.0-SNAPSHOT (Beta2-v20140519-0530-B8820)
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
>
> When you try to start a remote AS7, you get a NPE popup window with no details.
> This is in the workspace log:
> {code}
> !ENTRY org.jboss.ide.eclipse.as.rse.core 4 0 2014-05-19 13:55:19.968
> !MESSAGE
> !STACK 0
> java.lang.NullPointerException
> at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
> at java.util.regex.Matcher.reset(Matcher.java:309)
> at java.util.regex.Matcher.<init>(Matcher.java:229)
> at java.util.regex.Pattern.matcher(Pattern.java:1093)
> at org.eclipse.rse.internal.services.shells.TerminalServiceHostShell.writeToShell(TerminalServiceHostShell.java:158)
> at org.jboss.ide.eclipse.as.rse.core.RSEHostShellModel$ServerShellModel.createStartupShell(RSEHostShellModel.java:106)
> at org.jboss.ide.eclipse.as.rse.core.StandardRSEStartLaunchDelegate.executeRemoteCommand(StandardRSEStartLaunchDelegate.java:126)
> at org.jboss.ide.eclipse.as.rse.core.StandardRSEJBossStartLaunchDelegate.actualLaunch(StandardRSEJBossStartLaunchDelegate.java:39)
> at org.jboss.ide.eclipse.as.rse.core.StandardRSEStartLaunchDelegate.launch(StandardRSEStartLaunchDelegate.java:59)
> at org.jboss.ide.eclipse.as.rse.core.subsystems.RSECommandLineLaunchController.launch(RSECommandLineLaunchController.java:73)
> at org.jboss.ide.eclipse.as.wtp.core.server.launch.ControllableServerLaunchConfiguration.launch(ControllableServerLaunchConfiguration.java:52)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:884)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
> at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3541)
> at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3477)
> at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
> One other symptom is that when I open the Launch config from Server editor, both the fields for Startup and Shutdown scripts are empty - shouldn't they show the calculated script?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list