-
Bug
-
Resolution: Incomplete
-
P3
-
None
-
23
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
eclipse tests JDK23 only on Linux, still may be relevant on other OS
A DESCRIPTION OF THE PROBLEM :
Some junit tests in eclipse IDE fail on JDK 23 (even after updating to 23.0.2) randomly with a NullpointerException that should be impossible since the value is guaranteed to be not null.
REGRESSION : Last worked in version 21.0.6
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I don’t know how to boil it down a small reproducer. I don’t know how to proceed without linking to external resources.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no NPE
ACTUAL -
java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.dom.rewrite.TargetSourceRangeComputer$SourceRange.getStartPosition()" because "range" is null
at org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteAnalyzer.getExtendedEnd(ASTRewriteAnalyzer.java:264)
---------- BEGIN SOURCE ----------
org.eclipse.jdt.core.tests.rewrite.modifying.ASTRewritingModifyingReplaceTest.test0014a
---------- END SOURCE ----------
eclipse tests JDK23 only on Linux, still may be relevant on other OS
A DESCRIPTION OF THE PROBLEM :
Some junit tests in eclipse IDE fail on JDK 23 (even after updating to 23.0.2) randomly with a NullpointerException that should be impossible since the value is guaranteed to be not null.
REGRESSION : Last worked in version 21.0.6
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I don’t know how to boil it down a small reproducer. I don’t know how to proceed without linking to external resources.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no NPE
ACTUAL -
java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.dom.rewrite.TargetSourceRangeComputer$SourceRange.getStartPosition()" because "range" is null
at org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteAnalyzer.getExtendedEnd(ASTRewriteAnalyzer.java:264)
---------- BEGIN SOURCE ----------
org.eclipse.jdt.core.tests.rewrite.modifying.ASTRewritingModifyingReplaceTest.test0014a
---------- END SOURCE ----------