You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kryo-users
I'm getting:
00:00 TRACE: [kryo] Wrote class 67:
net.rxhub.common.binding.canonical.Envelope
00:00 TRACE: [kryo] Writing field: _Body
(net.rxhub.common.binding.canonical.Envelope)
00:00 TRACE: [kryo] Wrote class 31:
net.rxhub.common.binding.canonical.Body
00:00 TRACE: [kryo] Writing field: _AuditMsg
(net.rxhub.common.binding.canonical.Body)
00:00 TRACE: [kryo] Wrote object: null
00:00 TRACE: [kryo] Writing field: _BenefitsCoordination
(net.rxhub.common.binding.canonical.Body)
java.lang.NullPointerException
at com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData
(FieldSerializer.java:130)
at com.esotericsoftware.kryo.Serializer.writeObject(Serializer.java:
39)
at com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData
(FieldSerializer.java:137)
at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:256)
at net.rxhub.testclients.hessian.TestSerialization.copyKryo
(TestSerialization.java:86)
at
net.rxhub.testclients.hessian.TestSerialization.test_java_vs_hession
(TestSerialization.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit.JUnitStarter.main
(JUnitStarter.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Do I need to do something special to allow null fiels?
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
90)
Nate
unread,
Sep 29, 2009, 5:22:11 PM9/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kryo-users
Some null handling logic was incorrect in FieldSerializer. Fixed in
SVN. Tests updated to include this code path.