java.lang.AssertionError: Object to save cannot be null!

JIRA | Sebastian Vidrio | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    Root Cause Analysis

    1. java.lang.AssertionError

      Object to save cannot be null!

      at water.serial.KeyedBinarySerializer.save()
    2. water.serial
      ObjectTreeBinarySerializer.save
      1. water.serial.KeyedBinarySerializer.save(KeyedBinarySerializer.java:35)
      2. water.serial.KeyedBinarySerializer.save(KeyedBinarySerializer.java:17)
      3. water.serial.ObjectTreeBinarySerializer.save(ObjectTreeBinarySerializer.java:72)
      3 frames
    3. water.api
      ModelsHandler.exportModel
      1. water.api.ModelsHandler.exportModel(ModelsHandler.java:206)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:56)
      2. water.api.RequestServer.handle(RequestServer.java:677)
      3. water.api.RequestServer.serve(RequestServer.java:614)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame