java.util.logging.Logger problem.

Michael Koch konqueror@gmx.de
Thu Dec 2 20:16:00 GMT 2004


Am Donnerstag, 2. Dezember 2004 21:08 schrieb Thomas Hallgren:
> I have a problem using the java.util.logging.Logger from a Java
> function that originates from a JNI call. Apparently I get a null
> pointer exception in the Logger.getCallerStackFrame() method. This
> is the stacktrace:
>
>     at
> _ZN4java4util7logging6Logger19getCallerStackFrameEv(/usr/lib64/libg
>cj.so.5.0.0) at
> _ZN4java4util7logging6Logger3logEPNS1_5LevelEPNS_4lang6StringEP6JAr
>rayIPNS5_6ObjectEE(/usr/lib64/libgcj.so.5.0.0) at
> _ZN4java4util7logging6Logger3logEPNS1_5LevelEPNS_4lang6StringE(/usr
>/lib64/libgcj.so.5.0.0) at
> _ZN4java4util7logging6Logger4infoEPNS_4lang6StringE(/usr/lib64/libg
>cj.so.5.0.0) at
> org.postgresql.pljava.example.Parameters.print(java.sql.Date)(Unkno
>wn Source)
>     at
> _ZN16_Jv_InterpMethod9run_classEP7ffi_cifPvP7ffi_rawS2_(/usr/lib64/
>libgcj.so.5.0.0) at
> _Z18_Jv_CallAnyMethodAPN4java4lang6ObjectEPNS0_5ClassEP10_Jv_Method
>bbP6JArrayIS4_EP6jvalueSB_b(/usr/lib64/libgcj.so.5.0.0) E
>
> Have anyone seen this before or a hunch what the cause might be?
>
> I'm using gcj 3.4.3 on an x86_64 based machine running Linux
> 2.4.21.

Do you have a simple testcase which reproduces this ?


Michael
-- 
Homepage: http://www.worldforge.org/



More information about the Java mailing list