eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

AnnotateAssistTest1d8.testAnnotateMethod_TypeParameter2 test failed on Mac in the I-build

Open
#60 2 comments 0 reactions 0 assignees View on GitHub
help wanted test
Dominant language
Java
Stars
59
Forks
127
Avg merge
21h 41m
Merged PRs (30d)
31

Description

The test org.eclipse.jdt.ui.tests.quickfix.AnnotateAssistTest1d8.testAnnotateMethod_TypeParameter2 failed on Mac in the build [I20220519-0130](https://download.eclipse.org/eclipse/downloads/drops4/I20220519-0130/testResults.php), with the below error

```java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:208)
at java.base/java.util.Arrays$ArrayList.(Arrays.java:4137)
at java.base/java.util.Arrays.asList(Arrays.java:4122)
at org.eclipse.jdt.ui.tests.quickfix.AbstractAnnotateAssistTests.collectAnnotateProposals(AbstractAnnotateAssistTests.java:82)
at org.eclipse.jdt.ui.tests.quickfix.AnnotateAssistTest1d8.testAnnotateMethod_TypeParameter2(AnnotateAssistTest1d8.java:1133)
```
test results link : [I20220519-0130/testresults/html/org.eclipse.jdt.ui.tests_ep424I-unit-mac64-java17_macosx](https://download.eclipse.org/eclipse/downloads/drops4/I20220519-0130/testresults/html/org.eclipse.jdt.ui.tests_ep424I-unit-mac64-java17_macosx.cocoa.x86_64_17.html)

Contributor guide

Open the contributing guide

Research direction

Start with org.eclipse.jdt.ui.tests.quickfix.AbstractAnnotateAssistTests.collectAnnotateProposals at line 82 and the failing AnnotateAssistTest1d8.testAnnotateMethod_TypeParameter2 at line 1133. Reproduce or inspect the I20220519-0130 Mac Java 17 test result, then determine why the proposal collection contains a null value; done means the test no longer fails with the reported NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.