public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame()
@ 2004-12-08 21:11 thhal at mailblocks dot com
  2004-12-08 21:13 ` [Bug libgcj/18893] " thhal at mailblocks dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thhal at mailblocks dot com @ 2004-12-08 21:11 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/18893] null pointer exception in the Logger.getCallerStackFrame()
  2004-12-08 21:11 [Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame() thhal at mailblocks dot com
@ 2004-12-08 21:13 ` thhal at mailblocks dot com
  2005-05-17 20:42 ` daney at gcc dot gnu dot org
  2005-09-25 20:22 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: thhal at mailblocks dot com @ 2004-12-08 21:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From thhal at mailblocks dot com  2004-12-08 21:13 -------
Created an attachment (id=7707)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7707&action=view)
test case

type make, then run the resulting executeable gcjtest

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18893


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/18893] null pointer exception in the Logger.getCallerStackFrame()
  2004-12-08 21:11 [Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame() thhal at mailblocks dot com
  2004-12-08 21:13 ` [Bug libgcj/18893] " thhal at mailblocks dot com
@ 2005-05-17 20:42 ` daney at gcc dot gnu dot org
  2005-09-25 20:22 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-05-17 20:42 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18893


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/18893] null pointer exception in the Logger.getCallerStackFrame()
  2004-12-08 21:11 [Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame() thhal at mailblocks dot com
  2004-12-08 21:13 ` [Bug libgcj/18893] " thhal at mailblocks dot com
  2005-05-17 20:42 ` daney at gcc dot gnu dot org
@ 2005-09-25 20:22 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-25 20:22 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-25 20:22 -------
Fixed at least in 4.1.0:
Now calling LogHandler.init()
In LogHandler.init()
Now calling LogUser.init()
25-Sep-05 4:22:27 PM se.tada.tests.LogUser hello
INFO: Hello world

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18893


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-25 20:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-08 21:11 [Bug libgcj/18893] New: null pointer exception in the Logger.getCallerStackFrame() thhal at mailblocks dot com
2004-12-08 21:13 ` [Bug libgcj/18893] " thhal at mailblocks dot com
2005-05-17 20:42 ` daney at gcc dot gnu dot org
2005-09-25 20:22 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).