[Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame()
thhal at mailblocks dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 8 21:11: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
Andrew Haley reports that this cannot be reproduced with 4.0-pre so perhaps this
has been fixed already.
--
Summary: null pointer exception in the
Logger.getCallerStackFrame()
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thhal at mailblocks dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC host triplet: Linux 2.4.21 on x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18893
More information about the Java-prs
mailing list