java.lang.NullPointerException: Attempt to invoke interface method 'void org.postgresql.core.ProtocolConnection.close()' on a null object reference

Stack Overflow | Nikhil Arya | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Issues with linking android with postgresql using jdbc driver

    Stack Overflow | 8 months ago | Nikhil Arya
    java.lang.NullPointerException: Attempt to invoke interface method 'void org.postgresql.core.ProtocolConnection.close()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'void org.postgresql.core.ProtocolConnection.close()' on a null object reference

      at org.postgresql.jdbc.PgConnection.close()
    2. org.postgresql.jdbc
      PgConnection.finalize
      1. org.postgresql.jdbc.PgConnection.close(PgConnection.java:690)
      2. org.postgresql.jdbc.PgConnection.finalize(PgConnection.java:924)
      2 frames
    3. Java RT
      Thread.run
      1. java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:191)
      2. java.lang.Daemons$FinalizerDaemon.run(Daemons.java:174)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames