public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
Date: Wed, 24 Jan 2007 19:32:00 -0000 [thread overview]
Message-ID: <20070124193221.20258.qmail@sourceware.org> (raw)
In-Reply-To: <20070124154101.3913.mcvet@redhat.com>
------- Additional Comments From mark at klomp dot org 2007-01-24 19:32 -------
(In reply to comment #2)
> Thanks to Mark's recent patch, we now know which Exception it was:
>
> java.lang.NullPointerException
> at frysk.proc.BitfieldAccessor.getIntField(FryskGui)
> at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
> at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
> at frysk.gui.register.RegisterWindow.refreshList(FryskGui)
That seems to indicate that value is null. Maybe the following debug info helps
find the real problem, or at least verifies that value is indeed null.
diff -u -r1.34 RegisterWindow.java
--- frysk-gui/frysk/gui/register/RegisterWindow.java 23 Jan 2007 16:47:34
-0000 1.34
+++ frysk-gui/frysk/gui/register/RegisterWindow.java 24 Jan 2007 19:30:31 -0000
@@ -484,6 +484,10 @@
int bitlength = register.getLength() * 8;
BigInteger value
= (BigInteger)model.getValue(iter, (DataColumnObject)cols[11]);
+
+ if (value == null)
+ System.err.println("Whoa! value null with: " + register);
+
RegisterView view = register.getViews()[0];
// Binary little endian
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2007-01-24 19:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 15:41 [Bug general/3913] New: " mcvet at redhat dot com
2007-01-24 16:31 ` [Bug general/3913] " mcvet at redhat dot com
2007-01-24 17:59 ` mcvet at redhat dot com
2007-01-24 18:23 ` mcvet at redhat dot com
2007-01-24 19:32 ` mark at klomp dot org [this message]
2007-01-24 19:33 ` mark at klomp dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070124193221.20258.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--cc=frysk-bugzilla@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).