eclipse-xtext / eclipse-xtext/xtext
Investigate domain model problems with AnnotationModel.getAnnotationIterator
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 831
- Forks
- 330
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
the reference projects domain model tests with java 17 log
2021-09-22T16:21:23.0173736Z Running org.eclipse.xtext.example.domainmodel.ui.tests.HoverTest
2021-09-22T16:21:25.3159216Z ##[error]Exception in thread "Thread-434" java.lang.NullPointerException: Cannot invoke "org.eclipse.jface.text.source.IAnnotationModel.getAnnotationIterator()" because the return value of "java.util.Map.get(Object)" is null
2021-09-22T16:21:25.3246313Z at org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:744)
2021-09-22T16:21:25.3249917Z at org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:668)
2021-09-22T16:21:25.3253466Z at org.eclipse.jface.text.source.projection.ProjectionSummary.removeSummaries(ProjectionSummary.java:175)
2021-09-22T16:21:25.3261494Z at org.eclipse.jface.text.source.projection.ProjectionSummary.internalUpdateSummaries(ProjectionSummary.java:154)
2021-09-22T16:21:25.3265570Z at org.eclipse.jface.text.source.projection.ProjectionSummary$Summarizer.run(ProjectionSummary.java:74)
to be investigated: is this a problem on our side or a problem that is in platform or fixed in latest platform.
might also be a problem with codeminings
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Java 17 domain model test log, especially HoverTest and the AnnotationModel.java stack trace through ProjectionSummary. Reproduce the failure and compare the behavior with the latest platform; determine whether the cause is in Xtext, the platform, or codemining. Done means identifying the owning component and documenting whether a current failure remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100