Bug 475437 - StringIndexOutOfBoundsException in AbstractNode.getText (159)
Summary: StringIndexOutOfBoundsException in AbstractNode.getText (159)
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext Errors (show other bugs)
Version: 2.8.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Any idea how to reproduce this?
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-08-20 02:26 EDT by EPP Error Reports CLA
Modified: 2015-08-20 02:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2015-08-20 02:26:06 EDT
The following incident was reported via the automated error reporting:


    code:                   2
    plugin:                 org.eclipse.core.jobs_3.7.0.v20150330-2103
    message:                An internal error occurred during: "calculating highlighting".
    fingerprint:            309b0f18
    exception class:        java.lang.StringIndexOutOfBoundsException
    exception message:      String index out of range: 32
    number of children:     0
    
    java.lang.StringIndexOutOfBoundsException: String index out of range: 32
    at java.lang.String.substring(null:-1)
    at org.eclipse.xtext.nodemodel.impl.AbstractNode.getText(AbstractNode.java:159)
    at org.eclipse.xtext.tasks.DefaultTaskFinder.findTasks(DefaultTaskFinder.java:98)
    at org.eclipse.xtext.tasks.DefaultTaskFinder$1.apply(DefaultTaskFinder.java:87)
    at org.eclipse.xtext.tasks.DefaultTaskFinder$1.apply(DefaultTaskFinder.java:1)
    at org.eclipse.xtext.xbase.lib.internal.FunctionDelegate.apply(FunctionDelegate.java:42)
    at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
    at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543)
    at com.google.common.collect.Iterators.addAll(Iterators.java:356)
    at com.google.common.collect.Lists.newArrayList(Lists.java:146)
    at com.google.common.collect.Lists.newArrayList(Lists.java:128)
    at org.eclipse.xtext.xbase.lib.IterableExtensions.toList(IterableExtensions.java:555)
    at org.eclipse.xtext.tasks.DefaultTaskFinder.findTasks(DefaultTaskFinder.java:92)
    at org.eclipse.xtext.tasks.DefaultTaskFinder.findTasks(DefaultTaskFinder.java:66)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator.highlightTasks(DefaultSemanticHighlightingCalculator.java:97)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator.doProvideHighlightingFor(DefaultSemanticHighlightingCalculator.java:68)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator.provideHighlightingFor(DefaultSemanticHighlightingCalculator.java:44)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:53)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:142)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:385)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2$1.exec(HighlightingReconciler.java:325)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2$1.exec(HighlightingReconciler.java:1)
    at org.eclipse.xtext.util.concurrent.CancelableUnitOfWork.exec(CancelableUnitOfWork.java:26)
    at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121)
    at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520)
    at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492)
    at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133)
    at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2.run(HighlightingReconciler.java:320)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
   
  

General Information:

    reported-by:      
    anonymous-id:     50bcde31-a555-420f-8959-ec5c4f93fb61
    eclipse-build-id: 4.5.0.I20150603-2000
    eclipse-product:  nodeclipse.package.enide.product
    operating system: Windows8 6.3.0 (x86_64) - win32
    jre-version:      1.7.0_65-b20

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.jobs_3.7.0.v20150330-2103
    2. org.eclipse.xtext_2.8.3.v201506010551
    3. org.eclipse.xtext.ui_2.8.3.v201506010551
    4. org.eclipse.xtext.util_2.8.3.v201506010551
    5. org.eclipse.xtext.xbase.lib_2.8.3.v201506010551
    6. org.eclipse.xtext.xbase_2.8.3.v201506010551

Please note that:
* Messages, stacktraces, and nested status objects may be shortened.
* Bug fields like status, resolution, and whiteboard are sent
  back to reporters.
* The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.

Other Resources:
* Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/55d483f2e4b0f0b83a6e51cc  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.

This bug was created on behalf of sebastian.zarnekow@xxxxxxxxxxxx.