Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 237443 - ArrayIndexOutOfBoundsException in FastPartitioner.documentChanged2
Summary: ArrayIndexOutOfBoundsException in FastPartitioner.documentChanged2
Status: RESOLVED DUPLICATE of bug 182935
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 05:54 EDT by utilisateur_768 CLA
Modified: 2008-06-17 06:17 EDT (History)
1 user (show)

See Also:


Attachments
part of the log file for the error (22.08 KB, text/plain)
2008-06-17 05:54 EDT, utilisateur_768 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description utilisateur_768 CLA 2008-06-17 05:54:53 EDT
Created attachment 105147 [details]
part of the log file for the error

Build ID: I20080609-1311

I got a "mix up" in my java editor today. I had just done an "Assign statement to new local variable", and then i tried to modify the local name, and when i pressed ENTER, the buffer got mixed up : like splitted and randomly merged.

There were errors in the java code.

I think there still are timing issues in eclipse code...

Here is a sum-up of the stack traces (for search).

java.lang.ArrayIndexOutOfBoundsException: 52
	at org.eclipse.jface.text.rules.FastPartitioner.documentChanged2(FastPartitioner.java:307)
	at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:672)
	at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:759)


java.lang.IllegalStateException
	at org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480)
	at org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:4905)
	at org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:220)

java.lang.IllegalStateException
	at org.eclipse.jface.text.projection.ProjectionTextStore.internalError(ProjectionTextStore.java:85)
	at org.eclipse.jface.text.projection.ProjectionTextStore.get(ProjectionTextStore.java:152)
	at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:995)
Comment 1 Dani Megert CLA 2008-06-17 06:03:20 EDT
Can you reproduce?

*** This bug has been marked as a duplicate of bug 182935 ***
Comment 2 utilisateur_768 CLA 2008-06-17 06:17:01 EDT
no, sorry