Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352037 - [implementation] Regular IllegalStateExceptions from ProjectionTextStore.get()
Summary: [implementation] Regular IllegalStateExceptions from ProjectionTextStore.get()
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-07-13 19:18 EDT by Shaun Crampton CLA
Modified: 2011-07-18 09:49 EDT (History)
1 user (show)

See Also:


Attachments
Stack trace (3.95 KB, text/plain)
2011-07-13 19:18 EDT, Shaun Crampton CLA
no flags Details
Full .log file from my broken workspace. (517.37 KB, text/x-log)
2011-07-15 12:32 EDT, Shaun Crampton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Crampton CLA 2011-07-13 19:18:07 EDT
Build Identifier: 20110615-0604

For the last couple of days I've been regularly (hourly) seeing an IllegalStateException while editing.  The exception is followed by garbled dialog boxes (have to force them to redraw by dragging offscreen before their content shows).  The affected editor is toast, it shows garbled text and I can't save it.  I have to quit Ecipse and then kill the process (it sticks around without any UI).

Most recent example, I was editing an unsaved new class file.  I think I moved the cursor with the mouse and then started typing.

I first saw the problem a day or two ago in eclipse 3.6, I upgraded to 3.7 but I'm using the old workspace.

I'll attach the stack trace of the exception.

Reproducible: Sometimes
Comment 1 Shaun Crampton CLA 2011-07-13 19:18:58 EDT
Created attachment 199628 [details]
Stack trace
Comment 2 Shaun Crampton CLA 2011-07-13 19:30:31 EDT
Attached the stack trace.  Unfortunately, ProjectionTextStore.get() doesn't populate the exception chain when it throws a new IllegalStateException.
Comment 3 Dani Megert CLA 2011-07-14 02:12:36 EDT
In which editor does it happen?

Please attach the entire .log.

Do you also see it using http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php?

More precise steps would be appreciated.
Comment 4 Shaun Crampton CLA 2011-07-15 12:30:31 EDT
I recreated my workspace and the problem seems to have gone away.  Haven't seen it for at least a day.  I'll attach the log anyway in case it rings any bells.
Comment 5 Shaun Crampton CLA 2011-07-15 12:32:03 EDT
Created attachment 199758 [details]
Full .log file from my broken workspace.
Comment 6 Shaun Crampton CLA 2011-07-15 12:42:56 EDT
I was using a Java editor.  Annoyingly, I couldn't seem to repro the problem at will, it would just happen about once per hour when I was clicked and typed into an editor.  I'm doing Android dev so eclipse can be a bit sluggish, maybe the sluggishness was letting me hit a race by typing and clicking too close together.

Since (touch-wood) creating a new workspace seems to have cured the problem, maybe you could just add some more diagnostics to the area (chaining the exception would be a good start) so that if it reproduces later we'll get a bit more to go on.

The version you suggested for me to try sounds to be older (by a couple of days) than the one I was using but I'd already hit the issue on both 3.6 and (a newer version of) 3.7.  Was there a specific reason for trying that exact release?
Comment 7 Dani Megert CLA 2011-07-18 09:49:06 EDT
The log doesn't provide more details that would allow us to find the source of the problem. Marking as WORKSFORME as the problems seems resolved with the new workspace and we can't do much without more detailed steps.

> The version you suggested for me to try sounds to be older (by a couple of
> days) than the one I was using but I'd already hit the issue on both 3.6 and (a
> newer version of) 3.7.  Was there a specific reason for trying that exact
> release?
The indicated download is the pure SDK without additional bundles.