Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerRequestExtensionsTests#remoteAddressOrNull with value() fails on Java 13 #23677

Closed
snicoll opened this issue Sep 23, 2019 · 0 comments
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Sep 23, 2019

Stacktrace

java.lang.NullPointerException
	at java.net.InetSocketAddress.equals(InetSocketAddress.java:398)
	at org.assertj.core.util.Objects.areEqual(Objects.java:41)
	at org.assertj.core.internal.StandardComparisonStrategy.areEqual(StandardComparisonStrategy.java:76)
	at org.assertj.core.internal.Objects.areEqual(Objects.java:354)
	at org.assertj.core.internal.Objects.assertEqual(Objects.java:330)
	at org.assertj.core.api.AbstractAssert.isEqualTo(AbstractAssert.java:269)
	at org.springframework.web.servlet.function.ServerRequestExtensionsTests.remoteAddressOrNull with value(ServerRequestExtensionsTests.kt:45)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:567)
@snicoll snicoll added the type: bug A general bug label Sep 23, 2019
@snicoll snicoll added this to the 5.2 GA milestone Sep 23, 2019
@sbrannen sbrannen changed the title ServerRequestExtensionsTests#remoteAddressOrNull with value() fail on Java 13 ServerRequestExtensionsTests#remoteAddressOrNull with value() fails on Java 13 Sep 23, 2019
@jhoeller jhoeller added the in: web Issues in web modules (web, webmvc, webflux, websocket) label Sep 23, 2019
@sdeleuze sdeleuze self-assigned this Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants