question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ArrayOutOfBounds exception on deserialization

See original GitHub issue

Getting

java.lang.ArrayIndexOutOfBoundsException
	at nl.adaptivity.xmlutil.serialization.XmlDecoderBase$TagDecoder.decodeSerializableElement(XMLDecoder.kt:535)
	at nl.adaptivity.xmlutil.serialization.XmlDecoderBase$PolymorphicDecoder.decodeSerializableElement(XMLDecoder.kt:1054)
	at kotlinx.serialization.internal.AbstractPolymorphicSerializer.deserialize(AbstractPolymorphicSerializer.kt:59)
	at nl.adaptivity.xmlutil.serialization.XmlDecoderBase$TagDecoder.decodeNullableSerializableElement(XMLDecoder.kt:568)
	at scientifik.gdml.GDMLVolume$$serializer.deserialize(GDMLNode.kt)

on read from complicated input. Specifically this test.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pdvriezecommented, Dec 18, 2019

I’ve just pushed 0.14.0.1 that should fix it. I’ve tested it against your project and the current test works.

0reactions
altavircommented, Dec 18, 2019

@pdvrieze I just checked and the second problem with JS I’ve mentioned above is resolved as well. They were related after all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ArrayIndexOutOfBoundsException when using Json ... - GitHub
When using Json.decodeFromStream, the following exception occurs: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index ...
Read more >
Avro deserialization error - ArrayIndexOutOfBoundsException
The issue was I was creating Avro encoded data using wrong classes. But the bigger issue turned out to be top level unions ......
Read more >
Getting java.lang.ArrayIndexOutOfBoundsException exception ...
These exceptions are thrown when GemFire fails to deserialise a PDX serialised object. Have you made any non backward compatible changes to your...
Read more >
Kafka-Client-0.9.0.1: Throwing an exception while Deserialization a ...
While deserializing, I am throwing a serialization exception ... Caused by: java.lang.ArrayIndexOutOfBoundsException: 6. at org.apache.avro.io.
Read more >
ARRAYINDEXOUTOFBOUNDSE...
A "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 256" error is generated in the handler code. Following is a stack trace of the error ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found