From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20439 invoked by alias); 24 Jan 2007 19:32:51 -0000 Received: (qmail 20259 invoked by uid 48); 24 Jan 2007 19:32:21 -0000 Date: Wed, 24 Jan 2007 19:32:00 -0000 Message-ID: <20070124193221.20258.qmail@sourceware.org> From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070124154101.3913.mcvet@redhat.com> References: <20070124154101.3913.mcvet@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00155.txt.bz2 List-Id: ------- 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.