java.io.NotSerializableException: filetree.UserDataRow

Coderanch | Carlos Oliveira | 6 years ago
  1. 0

    Updating a file from an object (ArrayList)

    Coderanch | 6 years ago | Liana Norpunova
    java.io.NotSerializableException: filetree.UserDataRow
  2. 0

    Updating a file from an object (ArrayList)

    Coderanch | 6 years ago | Carlos Oliveira
    java.io.NotSerializableException: filetree.UserDataRow
  3. 0

    Java Serialization Exception Message

    Stack Overflow | 6 years ago | dionysus
    storagejava.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.everbank.uft.entities.ldc.VoidReason
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    For a while, mindc has printed a warning if a composite contains a singleton component and the composite himself is not annotated with @Singleton. With mindc-0.3-SNAPSHOT we still see this warning, but after that we get a java exception because the error class is not serializable. Below the exception "[ IO-001] An error occurs while writting" is caused by java.io.NotSerializableException for org.objectweb.fractal.adl.error.Error. Maybe this is caused by the new error manager which was added in 0.3 ? For now we can avoid the issue by always adding the @Singleton annotation, but other warnings might trigger the same bug. At src/interfaces/HelloworldApplication.adl:4,3: |--> contains Bootstrap as bootstrap; |--> -------------------------------- |--> WARNINIG : sub-component "bootstrap" is singleton. The "@Singleton" annotation should be added on definition Exception in thread "main" org.objectweb.fractal.adl.CompilerError: [ IO-001] An error occurs while writting to file "Can't write binary ADL to file build/interfaces/HelloworldApplication.def". Caused by: org.objectweb.fractal.adl.error.Error at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:83) at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:40) at org.ow2.mind.AbstractVoidVisitorDispatcher.visit(AbstractVoidVisitorDispatcher.java:63) at org.ow2.mind.adl.interfaces.CollectionInterfaceDefinitionSourceGenerator.visit(CollectionInterfaceDefinitionSourceGenerator.java:80) at org.ow2.mind.adl.interfaces.CollectionInterfaceDefinitionSourceGenerator.visit(CollectionInterfaceDefinitionSourceGenerator.java:41) at org.ow2.mind.adl.BasicDefinitionCompiler.visit(BasicDefinitionCompiler.java:96) at org.ow2.mind.adl.BasicDefinitionCompiler.visit(BasicDefinitionCompiler.java:67) at org.ow2.mind.adl.BasicGraphCompiler.visitGraph(BasicGraphCompiler.java:93) at org.ow2.mind.adl.BasicGraphCompiler.visit(BasicGraphCompiler.java:66) at org.ow2.mind.adl.BasicGraphCompiler.visit(BasicGraphCompiler.java:42) at org.ow2.mind.adl.factory.FactoryGraphCompiler.visit(FactoryGraphCompiler.java:69) at org.ow2.mind.adl.factory.FactoryGraphCompiler.visit(FactoryGraphCompiler.java:47) at org.ow2.mind.adl.BasicGraphLinker.visit(BasicGraphLinker.java:85) at org.ow2.mind.adl.BasicGraphLinker.visit(BasicGraphLinker.java:62) at org.ow2.mind.Launcher.compile(Launcher.java:789) at org.ow2.mind.Launcher.compile(Launcher.java:722) at org.ow2.mind.Launcher.compile(Launcher.java:708) at org.ow2.mind.Launcher.main(Launcher.java:864) Caused by: java.io.NotSerializableException: org.objectweb.fractal.adl.error.Error at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.objectweb.fractal.adl.AbstractNode.writeExternal(AbstractNode.java:164) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.objectweb.fractal.adl.AbstractNode.writeExternal(AbstractNode.java:190) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:81)

    JIRA | 6 years ago | Bruno Lavigueur
    org.objectweb.fractal.adl.CompilerError: [ IO-001] An error occurs while writting to file "Can't write binary ADL to file build/interfaces/HelloworldApplication.def". Caused by: org.objectweb.fractal.adl.error.Error
  6. 0

    At src/mindlib/qemu/boot/Bootstrap.adl:30,5: |--> contains Boot as boot; |--> ---------------------- |--> WARNINIG : sub-component "boot" is singleton. The "@Singleton" annotation should be added on definition Exception in thread "main" org.objectweb.fractal.adl.CompilerError: [ IO-001] An error occurs while writting to file "Can't write binary ADL to file /home/haugoug/src/minalogic-svn/SP2/mindlib/target/test/boot.qemu/build/mindlib/qemu/boot/Bootstrap_tmpl_c53d4983.def". Caused by: org.objectweb.fractal.adl.error.Error at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:83) at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:40) at org.ow2.mind.AbstractVoidVisitorDispatcher.visit(AbstractVoidVisitorDispatcher.java:63) at org.ow2.mind.adl.interfaces.CollectionInterfaceDefinitionSourceGenerator.visit(CollectionInterfaceDefinitionSourceGenerator.java:80) at org.ow2.mind.adl.interfaces.CollectionInterfaceDefinitionSourceGenerator.visit(CollectionInterfaceDefinitionSourceGenerator.java:41) at org.ow2.mind.adl.BasicDefinitionCompiler.visit(BasicDefinitionCompiler.java:96) at org.ow2.mind.adl.BasicDefinitionCompiler.visit(BasicDefinitionCompiler.java:67) at org.ow2.mind.adl.BasicGraphCompiler.visitGraph(BasicGraphCompiler.java:93) at org.ow2.mind.adl.BasicGraphCompiler.visit(BasicGraphCompiler.java:66) at org.ow2.mind.adl.BasicGraphCompiler.visit(BasicGraphCompiler.java:42) at org.ow2.mind.adl.factory.FactoryGraphCompiler.visit(FactoryGraphCompiler.java:69) at org.ow2.mind.adl.factory.FactoryGraphCompiler.visit(FactoryGraphCompiler.java:47) at org.ow2.mind.adl.BasicGraphLinker.visit(BasicGraphLinker.java:85) at org.ow2.mind.adl.BasicGraphLinker.visit(BasicGraphLinker.java:62) at org.ow2.mind.Launcher.compile(Launcher.java:786) at org.ow2.mind.Launcher.compile(Launcher.java:719) at org.ow2.mind.Launcher.compile(Launcher.java:705) at org.ow2.mind.Launcher.main(Launcher.java:861) Caused by: java.io.NotSerializableException: org.objectweb.fractal.adl.error.Error at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.objectweb.fractal.adl.AbstractNode.writeExternal(AbstractNode.java:164) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.objectweb.fractal.adl.AbstractNode.writeExternal(AbstractNode.java:190) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.ow2.mind.adl.BinaryADLWriter.visit(BinaryADLWriter.java:81) ... 17 more

    JIRA | 6 years ago | Germain Haugou
    org.objectweb.fractal.adl.CompilerError: [ IO-001] An error occurs while writting to file "Can't write binary ADL to file /home/haugoug/src/minalogic-svn/SP2/mindlib/target/test/boot.qemu/build/mindlib/qemu/boot/Bootstrap_tmpl_c53d4983.def". Caused by: org.objectweb.fractal.adl.error.Error

  1. kjhdofjosvs 1 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. filpgame 4 times, last 2 weeks ago
  4. Handemelindo 15 times, last 3 weeks ago
  5. eti22 1 times, last 1 month ago
11 more registered users
50 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

    filetree.UserDataRow

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
    2. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    3. java.util.ArrayList.writeObject(ArrayList.java:570)
    4. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    5. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    7. java.lang.reflect.Method.invoke(Method.java:597)
    8. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    9. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
    10. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    11. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    12. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    12 frames
  3. filetree
    User$1.actionPerformed
    1. filetree.User.insertrow(User.java:89)
    2. filetree.User$1.actionPerformed(User.java:67)
    2 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    6. java.awt.Component.processMouseEvent(Component.java:6263)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    8. java.awt.Component.processEvent(Component.java:6028)
    9. java.awt.Container.processEvent(Container.java:2041)
    10. java.awt.Component.dispatchEventImpl(Component.java:4630)
    11. java.awt.Container.dispatchEventImpl(Container.java:2099)
    12. java.awt.Component.dispatchEvent(Component.java:4460)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    16. java.awt.Container.dispatchEventImpl(Container.java:2085)
    17. java.awt.Window.dispatchEventImpl(Window.java:2478)
    18. java.awt.Component.dispatchEvent(Component.java:4460)
    19. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    20. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    21. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    22. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    25. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    25 frames