[
https://issues.jboss.org/browse/JBIDE-10890?page=com.atlassian.jira.plugi...
]
Pavol Srna commented on JBIDE-10890:
------------------------------------
Verified on jbdevstudio-product-universal-5.0.0.v201203010100M-H88-Beta1.
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