Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361636 - IndexOutOfBoundsException in MarkupMonoReconciler
Summary: IndexOutOfBoundsException in MarkupMonoReconciler
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.6.0   Edit
Assignee: David Green CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 07:39 EDT by Steffen Pingel CLA
Modified: 2011-11-04 15:19 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (5.14 KB, application/octet-stream)
2011-11-04 15:18 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-10-21 07:39:00 EDT
I believe I got the exception below while editing a copy of http://wiki.eclipse.org/Mylyn/Contributor_Reference in a text editor. Unfortunately I don't have steps to reproduce.

Exception in thread "org.eclipse.mylyn.internal.wikitext.ui.editor.reconciler.MarkupMonoReconciler" java.lang.IndexOutOfBoundsException: end
	at java.util.regex.Matcher.region(Matcher.java:895)
	at org.eclipse.mylyn.internal.wikitext.mediawiki.core.validation.CommentValidationRule.findProblem(CommentValidationRule.java:37)
	at org.eclipse.mylyn.wikitext.core.validation.ValidationRule.findProblems(ValidationRule.java:60)
	at org.eclipse.mylyn.wikitext.core.validation.MarkupValidator.validate(MarkupValidator.java:46)
	at org.eclipse.mylyn.internal.wikitext.ui.editor.validation.DocumentRegionValidator.computeProblems(DocumentRegionValidator.java:76)
	at org.eclipse.mylyn.internal.wikitext.ui.editor.validation.DocumentRegionValidator.validate(DocumentRegionValidator.java:63)
	at org.eclipse.mylyn.internal.wikitext.ui.editor.reconciler.MarkupValidationReconcilingStrategy.reconcile(MarkupValidationReconcilingStrategy.java:79)
	at org.eclipse.mylyn.internal.wikitext.ui.editor.reconciler.MultiReconcilingStrategy.reconcile(MultiReconcilingStrategy.java:72)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
Comment 1 David Green CLA 2011-11-04 15:17:23 EDT
Thanks for the bug Steffen.  Created review http://review.mylyn.org/#change,100
Comment 2 David Green CLA 2011-11-04 15:18:39 EDT
Fixed
Comment 3 David Green CLA 2011-11-04 15:18:40 EDT
Created attachment 206481 [details]
mylyn/context/zip