Bug 191451 - [spell checking] spell checker causes NPE in AbstractDocument.computeIndexInPositionList
Summary: [spell checking] spell checker causes NPE in AbstractDocument.computeIndexInP...
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-06-07 07:14 EDT by Oyvind Harboe CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oyvind Harboe CLA 2007-06-07 07:14:22 EDT
Build ID:  I20070601-1539

Steps To Reproduce:
The Spellchecker causes NPE's. I can't attached the text I'm writing. The file is called "ChangeLog" without an extension.

Exception in thread "org.eclipse.jface.text.reconciler.MonoReconciler" java.lang.NullPointerException
	at org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:472)
	at org.eclipse.jface.text.AbstractDocument.addPosition(AbstractDocument.java:356)
	at org.eclipse.core.internal.filebuffers.SynchronizableDocument.addPosition(SynchronizableDocument.java:189)
	at org.eclipse.jface.text.AbstractDocument.addPosition(AbstractDocument.java:364)
	at org.eclipse.jface.text.source.AnnotationModel.addPosition(AnnotationModel.java:316)
	at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(AnnotationModel.java:279)
	at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:257)
	at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:227)
	at org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy$SpellingProblemCollector.endCollecting(SpellingReconcileStrategy.java:103)
	at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:114)
	at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:80)
	at org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy.reconcile(SpellingReconcileStrategy.java:176)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)


More information:
Comment 1 Dani Megert CLA 2007-06-08 06:37:33 EDT
I tried to reproduce without any luck. Can you provide a simple test case/file to reproduce this?
Comment 2 Dani Megert CLA 2007-06-11 05:35:45 EDT
Waiting for more info.
Comment 3 Dani Megert CLA 2007-06-22 09:59:41 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:51 EDT
.