java.io.NotSerializableException

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.

  • No view scope in faces-config.xml
    via Stack Overflow by Amlan Karmakar
    ,
    • java.io.NotSerializableException: org.springframework.jdbc.datasource.DriverManagerDataSource at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject(Unknown Source)[rt.jar:1.7.0_55] at java.util.HashMap.writeObject(Unknown Source)[rt.jar:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeArray(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject(Unknown Source)[rt.jar:1.7.0_55] at java.util.HashMap.writeObject(Unknown Source)[rt.jar:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[rt.jar:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[rt.jar:1.7.0_55] at java.io.ObjectOutputStream.writeObject(Unknown Source)[rt.jar:1.7.0_55] at com.sun.faces.renderkit.ClientSideStateHelper.doWriteState(ClientSideStateHelper.java:325)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.renderkit.ClientSideStateHelper.writeState(ClientSideStateHelper.java:173)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:122)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:166)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:419)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)[jsf-impl-2.1.7-jbossorg-2.jar:] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)[jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)[jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)[jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)[jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Unknown Source)[rt.jar:1.7.0_55]

    Users with the same issue

    Hiren Amaliyar
    11 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    6 times, last one,
    Indri Yunita
    2 times, last one,
    Unknown visitor1 times, last one,
    84 more bugmates