This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]