Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 425994 - Exception during autocompletion
Summary: Exception during autocompletion
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Andreas Sewe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 10:22 EST by Roman Dawydkin CLA
Modified: 2019-07-24 14:36 EDT (History)
1 user (show)

See Also:


Attachments
exception stack trace (6.22 KB, text/plain)
2014-01-17 10:22 EST, Roman Dawydkin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dawydkin CLA 2014-01-17 10:22:55 EST
Created attachment 239100 [details]
exception stack trace

Exception occurs sometimes during using autocompletion. There is nothing notable in editor, it's only in error log. After that, some navigation keys stop working (Home, End, Ctrl+Up, Ctrl+Down, maybe others). Only restart helps. Although there is no "recommenders" in stack trace, it does not happen in Eclipse without Recommenders installed.

Using Eclipse 4.3.1.
Comment 1 Andreas Sewe CLA 2014-01-17 10:43:17 EST
FWIW, I recently had to override isValidPrefix(String prefix) in EmptyCompletionProposal to cause a NPE from appearing (See Bug 425005). Maybe we can solve this in a general fashion.
Comment 2 Roman Dawydkin CLA 2014-01-18 15:18:41 EST
I installed plugin from "Head" update site (version 2.0.5.v20140116-1301) and after a while got exactly the same exception.
Comment 3 Andreas Sewe CLA 2014-01-21 08:11:12 EST
Thanks for testing with the current head.

I was able to reproduce this problem. The proposed fix is in Gerrit [1].

[1] <https://git.eclipse.org/r/#/c/20866/1>
Comment 4 Andreas Sewe CLA 2014-01-21 10:51:32 EST
Fix is deployed on the head update site.

Please close as fixed (or re-open).
Comment 5 Andreas Sewe CLA 2014-01-27 06:21:47 EST
Closing for now.
Comment 6 Roman Dawydkin CLA 2014-01-27 06:24:11 EST
A little late, but... Running latest version for serveral days, no exception happened so far. I guess, it's closed.
Comment 7 Andreas Sewe CLA 2014-01-27 06:36:24 EST
(In reply to Roman Dawydkin from comment #6)
> A little late, but... Running latest version for serveral days, no exception
> happened so far. I guess, it's closed.

No problem. Glad that this solves your problem. Will release the fix as part of 2.0.5 tomorrow.