This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java.util.logging.Logger problem.
- From: Thomas Hallgren <thhal at mailblocks dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 02 Dec 2004 21:08:02 +0100
- Subject: java.util.logging.Logger problem.
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