java.util.logging.Logger problem.
Thomas Hallgren
thhal@mailblocks.com
Thu Dec 2 20:08:00 GMT 2004
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/libgcj.so.5.0.0)
at
_ZN4java4util7logging6Logger3logEPNS1_5LevelEPNS_4lang6StringEP6JArrayIPNS5_6ObjectEE(/usr/lib64/libgcj.so.5.0.0)
at
_ZN4java4util7logging6Logger3logEPNS1_5LevelEPNS_4lang6StringE(/usr/lib64/libgcj.so.5.0.0)
at
_ZN4java4util7logging6Logger4infoEPNS_4lang6StringE(/usr/lib64/libgcj.so.5.0.0)
at
org.postgresql.pljava.example.Parameters.print(java.sql.Date)(Unknown
Source)
at
_ZN16_Jv_InterpMethod9run_classEP7ffi_cifPvP7ffi_rawS2_(/usr/lib64/libgcj.so.5.0.0)
at
_Z18_Jv_CallAnyMethodAPN4java4lang6ObjectEPNS0_5ClassEP10_Jv_MethodbbP6JArrayIS4_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.
Regards,
Thomas Hallgren
More information about the Java
mailing list