1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug Bug in console

Discussion in 'Bugs & Feature Requests' started by davewolax, May 19, 2015.

  1. I see this error in console and I cannot figure out why it happens. is it because player make banners? and why this bug happens. please help!


    Code (Text):
    [20:05:00] [Thread-32/WARN]: java.io.NotSerializableException: org.bukkit.block.banner.Pattern
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1377)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1377)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    [20:05:00] [Thread-32/WARN]:     at java.util.ArrayList.writeObject(ArrayList.java:742)
    [20:05:00] [Thread-32/WARN]:     at sun.reflect.GeneratedMethodAccessor563.invoke(Unknown Source)
    [20:05:00] [Thread-32/WARN]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [20:05:00] [Thread-32/WARN]:     at java.lang.reflect.Method.invoke(Method.java:606)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    [20:05:00] [Thread-32/WARN]:     at java.util.ArrayList.writeObject(ArrayList.java:742)
    [20:05:00] [Thread-32/WARN]:     at sun.reflect.GeneratedMethodAccessor563.invoke(Unknown Source)
    [20:05:00] [Thread-32/WARN]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [20:05:00] [Thread-32/WARN]:     at java.lang.reflect.Method.invoke(Method.java:606)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    [20:05:00] [Thread-32/WARN]:     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.Functions.convertByteData(Functions.java:393)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.database.Database.insertContainer(Database.java:230)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.database.Logger.container_logger(Logger.java:405)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.database.Logger.log_container(Logger.java:318)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.consumer.Process.processContainerTransaction(Process.java:233)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.consumer.Process.processConsumer(Process.java:83)
    [20:05:00] [Thread-32/WARN]:     at net.coreprotect.consumer.Consumer.run(Consumer.java:49)
    [20:05:00] [Thread-32/WARN]:     at java.lang.Thread.run(Thread.java:745)
     
  2. It's your plugin "CoreProtect" which is causing the error(s). It fails parsing the banner object to something it can store in it's database.
    I'm not sure there is any other way of fixing this than reporting this bug to the plugin creator (and possibly temp disable the plugin if the errors are causing you trouble). They are all WARN messages so as long as they don't cause the server to crash or disable certain functions it should be fine leaving it, you will just get some spam until it's fixed.

    Kindly Regards,
    ~Foorack
     
    • Agree Agree x 1
  3. No it doesn't cause crash but spams console a lot . Thanks!
     
  4. shit, i tough its core protect .. is there any similar plugins to core protect ?