[jbosstools-issues] [JBoss JIRA] (JBIDE-10890) Guard for StringIndexOutOfBoundsException in NewProjectPostProcessor
Koen Aers (JIRA)
jira-events at lists.jboss.org
Mon Feb 13 11:49:00 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koen Aers resolved JBIDE-10890.
-------------------------------
Resolution: Done
revision 38665
> Guard for StringIndexOutOfBoundsException in NewProjectPostProcessor
> --------------------------------------------------------------------
>
> Key: JBIDE-10890
> URL: https://issues.jboss.org/browse/JBIDE-10890
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Reporter: Koen Aers
> Assignee: Koen Aers
> Fix For: 3.3.0.Beta1
>
>
> This happens when the user abandons the command without creating the project:
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1937)
> at org.jboss.tools.forge.ui.console.NewProjectPostProcessor.postProcess(NewProjectPostProcessor.java:54)
> at org.jboss.tools.forge.ui.console.ForgeCommandProcessor$1.run(ForgeCommandProcessor.java:53)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
--
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