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: java.awt.GradientPaint at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)[:1.6.0_24] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)[:1.6.0_24] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)[:1.6.0_24] at java.util.ArrayList.writeObject(ArrayList.java:570)[:1.6.0_24] at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)[:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)[:1.6.0_24] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)[:1.6.0_24] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)[:1.6.0_24] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)[:1.6.0_24] at java.util.HashMap.writeObject(HashMap.java:1001)[:1.6.0_24] at sun.reflect.GeneratedMethodAccessor259.invoke(Unknown Source)[:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)[:1.6.0_24] at com.sun.faces.renderkit.ClientSideStateHelper.doWriteState(ClientSideStateHelper.java:293)[:2.0.3-SNAPSHOT] at com.sun.faces.renderkit.ClientSideStateHelper.writeState(ClientSideStateHelper.java:167)[:2.0.3-SNAPSHOT] at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:119)[:2.0.3-SNAPSHOT] at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:155)[:2.0.3-SNAPSHOT] at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:221)[:2.0.3-SNAPSHOT] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:406)[:2.0.3-SNAPSHOT] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)[:2.0.3-SNAPSHOT] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)[:2.0.3-SNAPSHOT] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)[:2.0.3-SNAPSHOT] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)[:2.0.3-SNAPSHOT] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)[:2.0.3-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[:6.0.0.20101110-CR1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[:6.0.0.20101110-CR1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[:6.0.0.20101110-CR1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[:6.0.0.20101110-CR1] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)[:6.0.0.20101110-CR1] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593)[:6.0.0.20101110-CR1] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)[:1.1.0.Final] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)[:1.1.0.Final] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)[:6.0.0.20101110-CR1] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)[:6.0.0.20101110-CR1] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[:6.0.0.20101110-CR1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[:6.0.0.20101110-CR1] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)[:6.0.0.20101110-CR1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[:6.0.0.20101110-CR1] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)[:6.0.0.20101110-CR1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)[:6.0.0.20101110-CR1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[:6.0.0.20101110-CR1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[:6.0.0.20101110-CR1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)[:6.0.0.20101110-CR1] at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]

    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