NullPointerException in RsIterator$ResourceWrapper.beforeClose

2004-02-10 Thread Gary
While running a multi-threaded stress test, I received the following exception: java.lang.NullPointerException at java.lang.Throwable.init(Throwable.java) at java.lang.Throwable.init(Throwable.java) at java.lang.NullPointerException.init(NullPointerException.java:60)

Re: NullPointerException in RsIterator$ResourceWrapper.beforeClose

2004-02-10 Thread Armin Waibel
Hi Gary, Is there a need to synchronize on the object(s)? hmm, no synchronize shouldn't be necessary because PB instance isn't threadsafe all in all. Maybe the object was reclaimed by GC after the ref.get() call. Are you sure that each thread operates on its own PB instance while running