pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stéphane RIFF <stephane.riff@cerene.fr>
To: pgsql-jdbc@postgresql.org
Subject: Re: Connection pool problem
Date: Wed, 02 Mar 2005 10:14:25 +0100
Message-ID: <422583F1.9070002@cerene.fr> (raw)
In-Reply-To: <87is4av40x.fsf@meuh.mnc.ch>
References: <42242041.8030604@cerene.fr>
	<422456E7.8060303@opencloud.com>
	<42246A2E.60604@cerene.fr>
	<4224CF2C.7020208@opencloud.com>
	<87is4av40x.fsf@meuh.mnc.ch>

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




view thread (9+ messages)  latest in thread

Message-ID: <422583F1.9070002@cerene.fr>
Permalink:  ../422583F1.9070002@cerene.fr/
Also on:    postgresql.org/message-id/422583F1.9070002@cerene.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: stephane.riff@cerene.fr
  Subject: Re: Connection pool problem
  In-Reply-To: <422583F1.9070002@cerene.fr>
  References: <42242041.8030604@cerene.fr> <422456E7.8060303@opencloud.com> <42246A2E.60604@cerene.fr> <4224CF2C.7020208@opencloud.com> <87is4av40x.fsf@meuh.mnc.ch> <422583F1.9070002@cerene.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox