java.io.NotSerializableException: org.bukkit.Color #780


  • Defect
  • Fixed
  • Accepted
Closed
Assigned to Intellii
  • BillyGalbreath created this issue Nov 26, 2016

    I keep seeing this stacktrace in my console. It seems to be random, so idk how to reproduce it other than let CoreProtect run for a few hours and hope it pops up.

    Running Paper-933 (1.11) and CoreProtect 2.14.1 (from Spigot)

    [04:58:34 WARN]: java.io.NotSerializableException: org.bukkit.Color
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    [04:58:34 WARN]:        at java.util.ArrayList.writeObject(ArrayList.java:762)
    [04:58:34 WARN]:        at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    [04:58:34 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [04:58:34 WARN]:        at java.lang.reflect.Method.invoke(Method.java:497)
    [04:58:34 WARN]:        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    [04:58:34 WARN]:        at java.util.ArrayList.writeObject(ArrayList.java:762)
    [04:58:34 WARN]:        at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    [04:58:34 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [04:58:34 WARN]:        at java.lang.reflect.Method.invoke(Method.java:497)
    [04:58:34 WARN]:        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    [04:58:34 WARN]:        at java.util.HashMap.internalWriteEntries(HashMap.java:1777)
    [04:58:34 WARN]:        at java.util.HashMap.writeObject(HashMap.java:1354)
    [04:58:34 WARN]:        at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
    [04:58:34 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [04:58:34 WARN]:        at java.lang.reflect.Method.invoke(Method.java:497)
    [04:58:34 WARN]:        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    [04:58:34 WARN]:        at java.util.ArrayList.writeObject(ArrayList.java:762)
    [04:58:34 WARN]:        at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    [04:58:34 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [04:58:34 WARN]:        at java.lang.reflect.Method.invoke(Method.java:497)
    [04:58:34 WARN]:        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    [04:58:34 WARN]:        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    [04:58:34 WARN]:        at net.coreprotect.Functions.convertByteData(Functions.java:258)
    [04:58:34 WARN]:        at net.coreprotect.database.Database.insertBlock(Database.java:192)
    [04:58:34 WARN]:        at net.coreprotect.database.Logger.log_break(Logger.java:184)
    [04:58:34 WARN]:        at net.coreprotect.consumer.Process.processBlockBreak(Process.java:201)
    [04:58:34 WARN]:        at net.coreprotect.consumer.Process.processConsumer(Process.java:84)
    [04:58:34 WARN]:        at net.coreprotect.consumer.Consumer.run(Consumer.java:105)
    [04:58:34 WARN]:        at java.lang.Thread.run(Thread.java:745)
    
  • BillyGalbreath added the tags New Defect Nov 26, 2016
  • BillyGalbreath edited description Nov 26, 2016
  • Intellii removed a tag New Nov 26, 2016
  • Intellii added a tag Accepted Nov 26, 2016
  • BillyGalbreath edited description Nov 26, 2016
  • jammasterz posted a comment Dec 12, 2016

    This happens when a player puts a map to the woodland mansion inside an inventory


    Edited Dec 12, 2016
  • Intellii posted a comment Dec 12, 2016

    This has now been fixed in CoreProtect v2.14.2.


    Edited Dec 13, 2016
  • Intellii closed issue Dec 12, 2016
  • Intellii added a tag Fixed Dec 12, 2016

To post a comment, please login or register a new account.