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

ParameterNamesCodeMiningTest failed in CI job

Open
#3,075 0 comments 0 reactions 0 assignees View on GitHub
bug test
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

See: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/3074/checks?check_run_id=86313496662

```
org.opentest4j.AssertionFailedError: expected: but was:
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertNull.failNotNull(AssertNull.java:50)
at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:35)
at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:30)
at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:279)
at org.eclipse.jdt.text.tests.codemining.ParameterNamesCodeMiningTest.testCollapsedFolding(ParameterNamesCodeMiningTest.java:235)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

```

Contributor guide

Open the contributing guide

Research direction

Start with ParameterNamesCodeMiningTest.testCollapsedFolding at line 235 and the linked CI check. Reproduce the failure and trace the delayed reconciler's null preference store; done means the test completes without the internal error and the assertion passes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.