db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From travis stevens <Travis.Stev...@noaa.gov>
Subject [SOURCE] Issue #TRQS104 - Use of null object
Date Tue, 31 Dec 2002 21:38:52 GMT
You can view the issue detail at the following URL:

Type :        Defect
Issue Id :    TRQS104
Reported by: travis stevens
             Travis.Stevens@noaa.gov - (Travis.Stevens@noaa.gov)


Summary: Use of null object
Description: In the class:

Looking at the source code, lines around line  444 from the 3.0 release looks
like this:

if (local == null)
   System.out.println("ERROR!! Attempt to define foreign"
   + " key with nonexistent column, "
   + local.getName() + ", in table, "
   + currTable.getName() + "!");

The if statement is local == null.  In The System.out command, we try to use a
method using the local object, which of course is null.

(Note, I also entered this into bugzilla which I soon found out was the wrong place to submit
it to.)
Status: New

View raw message