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

java.net.URL should be (de)serializable out of the box #412

Closed
magro opened this issue Mar 24, 2016 · 0 comments
Closed

java.net.URL should be (de)serializable out of the box #412

magro opened this issue Mar 24, 2016 · 0 comments

Comments

@magro
Copy link
Collaborator

magro commented Mar 24, 2016

roundTrip(57, 57, new URL("https://github.com/EsotericSoftware/kryo")); fails with

java.lang.NullPointerException
        at java.net.URLStreamHandler.sameFile(URLStreamHandler.java:407)
        at java.net.URLStreamHandler.equals(URLStreamHandler.java:333)
        at java.net.URL.equals(URL.java:870)
        at org.junit.Assert.isEquals(Assert.java:131)
        at org.junit.Assert.equalsRegardingNull(Assert.java:127)
        at org.junit.Assert.assertEquals(Assert.java:111)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at com.esotericsoftware.kryo.KryoTestCase.doAssertEquals(KryoTestCase.java:269)
        at com.esotericsoftware.kryo.KryoTestCase.roundTripWithStreamFactory(KryoTestCase.java:209)
        at com.esotericsoftware.kryo.KryoTestCase.roundTrip(KryoTestCase.java:81)

This was originally reported in magro/memcached-session-manager#283

@magro magro closed this as completed in c10fd76 Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant