[
https://issues.apache.org/jira/browse/IVYDE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Lalevée resolved IVYDE-287.
-----------------------------------
Resolution: Duplicate
It has been already fixed with IVYDE-266. Thanks for the report though
> Exception on autocompletion in ivysettings
> ------------------------------------------
>
> Key: IVYDE-287
> URL: https://issues.apache.org/jira/browse/IVYDE-287
> Project: IvyDE
> Issue Type: Bug
> Components: ivysettings editor
> Affects Versions: 2.1.0
> Environment: Windows XP, Indigo
> Reporter: Ed Staub
> Priority: Minor
>
> Autocompletion throws exceptions on certain elements in ivysettings.xml,
> e.g., <settings> and <ivysettings>. The failure is silent and benign, except
> for the error log entries. For newbies like me who are making lots of
> cockpit errors of their own, the log entries are a pain - one more thing to
> rule out.
> Let me know if you need more info.
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.charAt(String.java:695)
> at
> org.apache.ivyde.common.model.IvyFile.getParentTagIndex(IvyFile.java:289)
> at
> org.apache.ivyde.common.model.IvyFile.getParentTagName(IvyFile.java:263)
> at
> org.apache.ivyde.common.completion.IvyCodeCompletionProcessor.computeStructureProposals(IvyCodeCompletionProcessor.java:178)
> at
> org.apache.ivyde.common.completion.IvyCodeCompletionProcessor.computeCompletionProposals(IvyCodeCompletionProcessor.java:56)
> at
> org.apache.ivyde.eclipse.ui.editors.xml.IvyContentAssistProcessor.computeCompletionProposals(IvyContentAssistProcessor.java:71)
> ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira