antlr / antlr/antlr4

Cannot invoke "org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess.getPreferenceStore()" because "this.preferenceStoreAccess" is null

Open
#4,458 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

When I was using eclipse version 2023-09, importing the plugin antlr4 ide 0.3.6 and using SyntaxDiagram, I encountered the following error. May I ask everyone how to resolve it? Thank you.
====================================
Cannot invoke 'org. eclipse. xtext. ui. editor. references. IPreferenceStoreAccess. getPreferenceStore()' because 'this. preferenceStoreAccess' is null

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in Eclipse 2023-09 with ANTLR4 IDE 0.3.6 while using SyntaxDiagram. Start from the reported Xtext IPreferenceStoreAccess.getPreferenceStore() exception and determine the relevant IDE integration entry point. Done means SyntaxDiagram no longer raises the null preference-store error in that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.