[
https://issues.jboss.org/browse/JBIDE-16542?page=com.atlassian.jira.plugi...
]
Rob Stryker resolved JBIDE-16542.
---------------------------------
Resolution: Done
replicated and fixed. Seems the string is often "!Session" instead of
"!Session " so I decreased the substring by 1 point. No longer able to
replicate.
constant error when switching to server view about importing server
log
-----------------------------------------------------------------------
Key: JBIDE-16542
URL:
https://issues.jboss.org/browse/JBIDE-16542
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Beta1
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Fix For: 4.2.0.Beta2
Created mulitple servers and now i'm getting dialog saying "importing server
log" has encountered a problem.
from error log:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1875)
at org.jboss.ide.eclipse.as.ui.views.LogSession.processLogLine(LogSession.java:50)
at org.jboss.ide.eclipse.as.ui.views.LogReader.parseLogFile(LogReader.java:96)
at
org.jboss.ide.eclipse.as.ui.views.ServerLogView$ReloadLogJob.run(ServerLogView.java:268)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira