Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. fillermark_5157
    3. Posts

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    F Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Proget Jenkins Plugin: Not working on Slaves?

      Alex-Hempel said in Proget Jenkins Plugin: Not working on Slaves?:

      Caused by: java.io.NotSerializableException: com.inedo.proget.jenkins.DownloadPackageBuilder

      java.io.NotSerializableException can occur when you serialize an inner class instance because serializing such an inner class instance will result in serialization of its associated outer class instance as well. How to solve it?

      • If the class is yours, make the class serializable by implementing the interface java.io.Serializable.

      • All non primitive members implement Serializable (or are transient instead)

      • If your class is an inner class it's either static or the outer class implements Serializable

      • If the class is 3rd party, but you don't need it in the serialized form, mark the field as transient

      It is important to note that Serialization of inner classes (i.e., nested classes that are not static member classes), including local and anonymous classes, is strongly discouraged.

      posted in Support
      F
      fillermark_5157
    • 1 / 1