🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9236

Re: Problems with DefaultTableModel in java versions?

#9236
From: John P. McGrath
Date: Tue, 02 May 2000 00:00
27 lines
1434 bytes
On Mon, 01 May 2000 11:24:47 -0500, Hilde Lehmann wrote:

> My application has a JTable with a Model that extends
> from DefaultTableModel. If I run inside JBuilder 3
> (which has jdk 1.2) works fine. If I run it outside
> JBuilder with jdk 1.2.1 it also works fine, but if I
> run it with jdk 1.2.2, it crashes with the following
> error:  Does anybody knows if there is a change in the
> new version?
> 
> 
> Exception occurred during event dispatching:
> java.lang.NullPointerException
>  at GbsBook.OutLineModel.getRowCount(OutLineModel.java:19)
>  at javax.swing.JTable.getRowCount(Unknown Source)

There are no changes that I am aware of that would cause a 
NullPointerException.

As the stack trace shows, it occurs in the class "GbsBook.OutLineModel", 
which I presume is one of your classes.  Did you look to see what is at 
line 19 in OutLineModel.java?

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.1378305a762ca0079898c2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <390DAFCF.D562C6F2@intercable.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,938fa266a0ea912c
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: Problems with DefaultTableModel in java versions?
Date: 2000/05/02
Message-ID: <MPG.1378305a762ca0079898c2@forums.borland.com>
X-Deja-AN: 618148275
References: <390DAFCF.D562C6F2@intercable.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing