com.hazelcast.nio.serialization.HazelcastSerializationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • User Object Serialization Exception
    via GitHub by Julm
    ,
  • karaf cellar NotSerializableException
    via Stack Overflow by Jeff
    ,
  • Sending an email with pre-populated server info seems to create an error. The following code to send an email fails silently: {code:xml} <cfmail from = "mark.drew@gmail.com" to = "mark.drew@gmail.com" server="smtp.gmail.com" username="mark.drew@gmail.com" password="" port="465" usetls="true" useSSL="yes" type="html" subject="This will fail" > Hello world! </cfmail> {code} Looking in the console we get the following error: {code} java.io.NotSerializableException: sun.nio.cs.UTF_8 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at lucee.runtime.spooler.SpoolerEngineImpl.store(SpoolerEngineImpl.java:221) at lucee.runtime.spooler.SpoolerEngineImpl.add(SpoolerEngineImpl.java:143) at lucee.runtime.net.smtp.SMTPClient.send(SMTPClient.java:657) at lucee.runtime.tag.Mail.doEndTag(Mail.java:537) at mailing.index_cfm$cf.call(/Users/markdrew/Servers/lucee-5.0.0.43-express/webapps/ROOT/mailing/index.cfm:15) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:901) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:844) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2240) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2232) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2204) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:570) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:100) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {code}
    via by Mark Drew,
  • I'm using a local SMTP server, and sending using a function which include this tag: {noformat} <cfmail to="#ARGUMENTS.to#" from="#ARGUMENTS.from#" replyto="#ARGUMENTS.replyTo#" bcc="#mailBcc#" subject="#subject#"> TEST </cfmail> {noformat} I don't get any error from the mail server, Lucee or Apache. However, Tomcat is showing this. {noformat} java.io.NotSerializableException: sun.nio.cs.UTF_8 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at lucee.runtime.spooler.SpoolerEngineImpl.store(SpoolerEngineImpl.java:223) at lucee.runtime.spooler.SpoolerEngineImpl.add(SpoolerEngineImpl.java:145) at lucee.runtime.net.smtp.SMTPClient.send(SMTPClient.java:669) at lucee.runtime.tag.Mail.doEndTag(Mail.java:537) at component.message_cfc$cf.udfCall1(/var/www/--------/component/Message.cfc:101) at component.message_cfc$cf.udfCall(/var/www/--------/component/Message.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:336) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:751) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1591) at webroot._public.assets.cfm.contact_us_cfm$cf.call(/var/www/--------/contact_us.cfm:24) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:825) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:820) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:811) at webroot._public.index_cfm$cf.call(/var/www/--------/index.cfm:91) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:825) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:820) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:225) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2267) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2259) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2227) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:608) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at mod_cfml.core.invoke(core.java:152) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Daniel C,
    • 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

    Users with the same issue

    asvid
    67 times, last one,
    batwalrus76
    12 times, last one,
    Hronom
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    84 more bugmates