Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 546217 - NPE when opening quick access with existing workspace
Summary: NPE when opening quick access with existing workspace
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 4.12 M1   Edit
Assignee: Andrey Loskutov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-09 02:35 EDT by Lakshmi P Shanmugam CLA
Modified: 2019-04-11 02:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi P Shanmugam CLA 2019-04-09 02:35:59 EDT
eclipse.buildId=4.12.0.I20190408-1800
java.version=11.0.1
java.vendor=AdoptOpenJDK
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IN
Framework arguments:  -keyring /Users/lakshmip/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data 

org.eclipse.core.jobs
Error
Tue Apr 09 11:59:57 IST 2019
An internal error occurred during: "Restore quick access elements".

java.lang.NullPointerException
	at org.eclipse.ui.internal.quickaccess.SearchField.restoreDialogEntries(SearchField.java:690)
	at org.eclipse.ui.internal.quickaccess.SearchField.lambda$1(SearchField.java:664)
	at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:185)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)


Steps:
1. Open an existing workspace which has previous searches in quick access
2. Press Cmd+3 to open the quick access search
3. error dialog is shown 
4. No previous searches are shown in the quick access
Comment 1 Andrey Loskutov CLA 2019-04-09 02:48:29 EDT
Caused by bug 546187 fix. Mickael, please check.
Comment 2 Eclipse Genie CLA 2019-04-09 05:00:37 EDT
New Gerrit change created: https://git.eclipse.org/r/140282
Comment 3 Eclipse Genie CLA 2019-04-09 11:16:11 EDT
New Gerrit change created: https://git.eclipse.org/r/140307
Comment 5 Dani Megert CLA 2019-04-10 04:53:13 EDT
Will you use this bug for the correct fix?
Comment 6 Andrey Loskutov CLA 2019-04-10 05:10:37 EDT
(In reply to Dani Megert from comment #5)
> Will you use this bug for the correct fix?

No. We should have a new one, I will create it.
Comment 7 Andrey Loskutov CLA 2019-04-11 02:21:02 EDT
Verified with I20190410-1800