com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'org.icij.datashare.text.Document'


Solutions on the web

Solution icon of github
via GitHub by Julm
, 9 months ago
Failed to serialize 'org.icij.datashare.text.Document'

Solution icon of stackoverflow
Failed to serialize 'com.hazelcast.map.impl.operation.PartitionWideEntryWithPredicateBackupOperation'

Stack trace

com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'org.icij.datashare.text.Document'
	at com.hazelcast.internal.serialization.impl.SerializationUtil.handleSerializeException(SerializationUtil.java:73)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:143)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:118)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:106)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.spi.impl.NodeEngineImpl.toData(NodeEngineImpl.java:302)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.collection.impl.queue.QueueProxyImpl.offer(QueueProxyImpl.java:76)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.collection.impl.queue.QueueProxyImpl.put(QueueProxyImpl.java:70)[datashare-api-0.5.jar:0.5]
	at org.icij.datashare.concurrent.queue.OutputQueue.put(OutputQueue.java:25)[datashare-api-0.5.jar:0.5]
	at org.icij.datashare.text.extraction.FileParsingTask.process(FileParsingTask.java:65)[datashare-api-0.5.jar:0.5]
	at org.icij.datashare.text.extraction.FileParsingTask.process(FileParsingTask.java:18)[datashare-api-0.5.jar:0.5]
	at org.icij.datashare.concurrent.task.QueueInTask.call(QueueInTask.java:52)[datashare-api-0.5.jar:0.5]
	at org.icij.datashare.concurrent.task.QueueInTask.call(QueueInTask.java:15)[datashare-api-0.5.jar:0.5]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_74]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_74]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_74]
	at java.lang.Thread.run(Thread.java:745)[?:1.8.0_74]
Caused by: java.io.NotSerializableException: sun.nio.cs.UTF_8
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)[?:1.8.0_74]
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[?:1.8.0_74]
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[?:1.8.0_74]
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[?:1.8.0_74]
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[?:1.8.0_74]
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)[?:1.8.0_74]
	at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.write(JavaDefaultSerializers.java:242)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.write(StreamSerializerAdapter.java:43)[datashare-api-0.5.jar:0.5]
	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:140)[datashare-api-0.5.jar:0.5]
	... 14 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

67 times, 1 year ago
12 times, 8 months ago
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
85 more bugmates