Re: Connection pool problem - Mailing list pgsql-jdbc

From Stéphane RIFF
Subject Re: Connection pool problem
Date
Msg-id 422583F1.9070002@cerene.fr
Whole thread Raw
In response to Re: Connection pool problem  (Guillaume Cottenceau <gc@mnc.ch>)
Responses Re: Connection pool problem
List pgsql-jdbc
Here is the NullPointerExceptionStack trace
java.lang.NullPointerException
        at
fr.cerene.geosiara.gprs.receiver.SQLoader.saveTrame(SQLoader.java:139)
        at
fr.cerene.geosiara.gprs.receiver.SQLoader$1.run(SQLoader.java:229)
        at java.lang.Thread.run(Thread.java:534)

fr.cerene.geosiara.gprs.receiver.SQLoader.saveTrame(SQLoader.java:139)
        fr.cerene.geosiara.gprs.receiver.SQLoader$1.run(SQLoader.java:229)
        java.lang.Thread.run(Thread.java:534)

but it didn't give more information on the last exception
........
Thanks

Guillaume Cottenceau wrote:

>Oliver Jowett <oliver 'at' opencloud.com> writes:
>
>
>
>>Stéphane RIFF wrote:
>>
>>
>>
>>>2005-03-01 12:23:44,156 : [WARN] SQLoader - java.lang.NullPointerException
>>>
>>>
>>Can you get a stack trace for this exception? (the NPE, not the earlier one)
>>
>>
>
>Stephan - in case, here's a method to get a human readable
>stacktrace given an Exception object, if you don't use java 1.5:
>
>    public static String backtrace( Exception e ) {
>        StackTraceElement[] trace = e.getStackTrace();
>        StringBuffer sb = new StringBuffer();
>        for ( int i = 2; i < trace.length; i++ ) {
>            sb.append( "\t" ).append( trace[i].toString() ).append( "\n" );
>        }
>        return sb.toString();
>    }
>
>
>



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01/03/2005


pgsql-jdbc by date:

Previous
From: Guillaume Cottenceau
Date:
Subject: Re: Connection pool problem
Next
From: Stéphane RIFF
Date:
Subject: Re: Connection pool problem