java.lang.NullPointerException

Oracle Community | 807546 | 1 decade ago
  1. 0

    HELP pls!!!!! writeObject caused Stack Overflow?

    Oracle Community | 1 decade ago | 807546
    java.lang.NullPointerException
  2. 0

    writeObject() works fine, readObject() encounters null pointer exception??

    Oracle Community | 1 decade ago | 807546
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.lang.NullPointerException

      No message provided

      at remulac.BridgeColl.TreeNode.hashCode()
    2. remulac.BridgeColl
      TreeNode.hashCode
      1. remulac.BridgeColl.TreeNode.hashCode(TreeNode.java:147)
      1 frame
    3. Java RT
      ObjectInputStream.readObject
      1. java.util.Hashtable.put(Hashtable.java:394)
      2. java.util.Hashtable.readObject(Hashtable.java:838)
      3. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      5. java.lang.reflect.Method.invoke(Method.java:324)
      6. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
      7. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
      8. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      9. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      10. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      11. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      12. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      13. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      14. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
      15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
      16. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      17. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      18. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      19. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      20. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
      21. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
      22. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      23. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      24. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      25. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      26. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
      27. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
      28. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      29. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      30. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      31. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      32. java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      33. java.util.Hashtable.readObject(Hashtable.java:836)
      34. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      35. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      36. java.lang.reflect.Method.invoke(Method.java:324)
      37. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
      38. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
      39. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      40. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      41. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      42. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      43. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      44. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      45. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
      46. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
      47. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      48. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      49. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      50. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      51. java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      51 frames
    4. remulac.BridgeColl
      BridgeCollector.main
      1. remulac.BridgeColl.Topology.<init>(Topology.java:1504)
      2. remulac.BridgeColl.BridgeCollector.<init>(BridgeCollector.java:40)
      3. remulac.BridgeColl.BridgeCollector.main(BridgeCollector.java:221)
      3 frames