Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ObjectOutputStream.writeObject() has thrown a NotSerializableException
    Java Runtime
    2
    0
    0
  2. ObjectOutputStream.writeObject0() has thrown a NotSerializableException
    Java Runtime
    204
    150
    106

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.io.NotSerializableException: com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
3 matching frames hidden
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
69 frames hidden

Solution

chinthana10 months ago

Your object contains member variables which are themselves not serializable 'ReportDataStoreRegion'. If you really want to serialize your object. One option would be to declare the variable as transient so that it is not serialized.

Check the source of this solution for more info

External results for this pattern (10)

  1. L-Lavignevia GitHub1 day ago
  2. Idanatcoxvia GitHub1 day ago
    java.io.PrintStream
    Show stack trace
  3. ggprivatvia GitHub2 days ago
    com.github.appreciated.app.layout.builder.entities.NavigationElementInfo
    Show stack trace
  4. leleujvia GitHub3 days ago
    Exception thrown in state 'viewRegistration' of flow 'mfa-gauth'
    Show stack trace
  5. nagraj321via GitHub1 week ago
    org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject
    Show stack trace
  6. Björn Mehnervia Google Groups1 week ago
    HotswapSpringCallback_1796692748
    Show stack trace
  7. Sergiovia Google Groups1 week ago
    com.pagosonline.ppp4.core.common.util.EntityValidator
    Show stack trace
  8. Christophervia Google Groups1 week ago
    org.springframework.security.web.firewall.RequestWrapper
    Show stack trace
  9. Andy1221via GitHub4 weeks ago
    remote file operation failed: /data/jenkins/w/workspace/<PATH> at hudson.remoting.Channel@d62dcd4:Channel to /10.11.4.31: java.io.IOException: Unable to serialize org.jenkinsci.plugins.jvctb.perform.JvctbPerformer$1@6e79cf3b
    Show stack trace
  10. IanMayovia GitHub1 month ago
    Debrief.Wrappers.Track.LightweightTrackWrapper$LightweightTrackInfo
    Show stack trace