This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/23800] New: Exception in thread "main" java.lang.NullPointerException at java.lang.Object.getClass()
- From: "thompson at fresno dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2005 19:49:17 -0000
- Subject: [Bug libgcj/23800] New: Exception in thread "main" java.lang.NullPointerException at java.lang.Object.getClass()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
X-Bugzilla-Reason: CC
Background: I upgraded from Fedora Core 3 to Fedora Core 4 and now
Jreepad-1.4.1.jar doesn't execute. I reported it to the Jreepad author who
indicated I should report it to the libgcj maintainer since it might represent a
significant bug in the library (see copy of e-mail exchange below). When I
upgraded to libgcj 4.0.1, I still get a similar error.
[mailing-lists] [ jreepad-Bugs-1286236 ] upgrade from Fedora Core 3 to 4 kills
jreepad
Date: Today 11:24:29
From: "SourceForge.net" <noreply@sourceforge.net>
To: noreply@sourceforge.net
Bugs item #1286236, was opened at 2005-09-09 18:06
Message generated for change (Comment added) made by danstowell
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=613614&aid=1286236&group_id=96093
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: david a thompson (dathomp1)
Assigned to: Nobody/Anonymous (nobody)
Summary: upgrade from Fedora Core 3 to 4 kills jreepad
Initial Comment:
Background: I'm using Jreepad-1.4.1.jar - the program
worked fine with Fedora Core 3
Problem: upgraded to Fedora Core 4 and now I get:
[root@localhost ~]# java -jar
/usr/local/bin/Jreepad-1.4.1.jar
Exception in thread "main" java.lang.NullPointerException
at java.lang.Object.getClass()
(/usr/lib/libgcj.so.6.0.0)
at
jreepad.JreepadView.JreepadView(jreepad.JreepadNode)
(Unknown Source)
at jreepad.JreepadView.JreepadView() (Unknown Source)
at
jreepad.JreepadViewer.JreepadViewer(java.lang.String,
java.lang.String) (Unknown Source)
at jreepad.JreepadViewer.main(java.lang.String[])
(Unknown Source)
at gnu.java.lang.MainThread.call_main()
(/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run()
(/usr/lib/libgcj.so.6.0.0)
[root@localhost ~]#
I'm guessing that FC4 had an update to libgcj (the rpm
is libgcj-4.0.0-8) which has caused Jreepad some
unhappiness...
Best wishes -- it's a great piece of software.
Alan
----------------------------------------------------------------------
>Comment By: Dan Stowell (danstowell)
Date: 2005-09-09 18:24
Message:
Logged In: YES
user_id=920180
Hi - Thanks for the notice, but from the system output it looks like the
problem is not inside Jreepad but in the "Object" class (!) - probably
something very dodgy in the "libgcj" release you've just downloaded.
Please forward the report onto whoever maintains libcgj, since it is
potentially quite a wide-ranging bug!
Best
Dan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=613614&aid=1286236&group_id=96093
--
Summary: Exception in thread "main"
java.lang.NullPointerException at
java.lang.Object.getClass()
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thompson at fresno dot edu
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23800