java.io.NotSerializableException: java.io.ByteArrayOutputStream

Pentaho BI Platform Tracking | Curtis Boyden | 3 years ago
  1. 0

    I have set my default browser to Firefox. No exact repro but it seems pretty consistent if you: 1) Click "Meet the Family" tab 2) Click "Home Page" under "BI Platform" 3) Click back button 4) Close Welcome screen 5) Open Welcome screen from menu NOTE: The java.io.NotSerializableException does NOT appear to be related to the SegFault / Crash. In the console: WARN 27-08 14:15:53,167 - Region Already Exist file WARN 27-08 14:15:53,177 - Could not find configuration [Themes]; using defaults. ERROR 27-08 14:15:53,244 - Disk Write of /analyzer/scripts/analyzer-require-js-cfg.js failed: java.io.NotSerializableException: java.io.ByteArrayOutputStream at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:439) at net.sf.ehcache.Element.writeObject(Element.java:797) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97) at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:413) at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:392) at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:493) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1154) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1138) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) ERROR 27-08 14:15:53,973 - ::: InstaService.BAD_ACTION_SUPPLIED - An invalid action parameter was supplied: getProjects No bp log location saved, using default. [000:000] Browser XEmbed support present: 1 [000:000] Browser toolkit is Gtk2. [000:000] Using Gtk2 toolkit No bp log location saved, using default. [000:028] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:028] No bp log location saved, using default. [000:028] Browser XEmbed support present: 1 [000:028] Browser toolkit is Gtk2. [000:028] Using Gtk2 toolkit [000:000] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:000] No bp log location saved, using default. java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) Segmentation fault (core dumped)

    Pentaho BI Platform Tracking | 3 years ago | Curtis Boyden
    java.io.NotSerializableException: java.io.ByteArrayOutputStream
  2. 0

    I have set my default browser to Firefox. No exact repro but it seems pretty consistent if you: 1) Click "Meet the Family" tab 2) Click "Home Page" under "BI Platform" 3) Click back button 4) Close Welcome screen 5) Open Welcome screen from menu NOTE: The java.io.NotSerializableException does NOT appear to be related to the SegFault / Crash. In the console: WARN 27-08 14:15:53,167 - Region Already Exist file WARN 27-08 14:15:53,177 - Could not find configuration [Themes]; using defaults. ERROR 27-08 14:15:53,244 - Disk Write of /analyzer/scripts/analyzer-require-js-cfg.js failed: java.io.NotSerializableException: java.io.ByteArrayOutputStream at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:439) at net.sf.ehcache.Element.writeObject(Element.java:797) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97) at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:413) at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:392) at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:493) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1154) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1138) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) ERROR 27-08 14:15:53,973 - ::: InstaService.BAD_ACTION_SUPPLIED - An invalid action parameter was supplied: getProjects No bp log location saved, using default. [000:000] Browser XEmbed support present: 1 [000:000] Browser toolkit is Gtk2. [000:000] Using Gtk2 toolkit No bp log location saved, using default. [000:028] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:028] No bp log location saved, using default. [000:028] Browser XEmbed support present: 1 [000:028] Browser toolkit is Gtk2. [000:028] Using Gtk2 toolkit [000:000] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:000] No bp log location saved, using default. java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) Segmentation fault (core dumped)

    Pentaho BI Platform Tracking | 3 years ago | Curtis Boyden
    java.io.NotSerializableException: java.io.ByteArrayOutputStream
  3. 0

    EhCache-based ticket cache - Errors when storing tickets to disk

    GitHub | 2 years ago | jkacer
    java.io.NotSerializableException: net.sf.ehcache.Cache
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ehcache memory only cache attempting to store to disk

    Stack Overflow | 3 years ago | Collin Peters
    java.io.NotSerializableException: intouch.connector.business.LeadSourceCollection
  6. 0

    [cas-user] CAS 4 + EhCache-based ticket cache - Errors when storing tickets to disk

    Google Groups | 2 years ago | Jaroslav Kacer
    java.io.NotSerializableException: net.sf.ehcache.Cache

  1. Malcshour 68 times, last 7 months ago
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.NotSerializableException

    java.io.ByteArrayOutputStream

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.defaultWriteObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
    3. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:439)
    3 frames
  3. Ehcache
    Element.writeObject
    1. net.sf.ehcache.Element.writeObject(Element.java:797)
    1 frame
  4. Java RT
    ObjectOutputStream.writeObject
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
    9. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    9 frames
  5. Ehcache
    DiskStorageFactory$PersistentDiskWriteTask.call
    1. net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)
    2. net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:413)
    3. net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:392)
    4. net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:493)
    5. net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1154)
    6. net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1138)
    6 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    7. java.lang.Thread.run(Thread.java:724)
    7 frames