tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Ang. Need Help w. Null Pointer Exception.
Date Wed, 30 Aug 2006 20:12:04 GMT
Simply compare to the key word null:

if ( is != null ) {
  while ( is.read......etc.....) {
  }
}

--David

Steve R Burrus wrote:

> yes the while loop is on line number 19 okay. Please forgive me for my 
> ignorance about this, but I was wondering how I should go about doing 
> that check for a non-null value??
>
> nils-olov.fransson@vgregion.se wrote:
>
>> Is the while... line number 19? If so make atest that is != null 
>> before you
>> continue.
>>
>> Regards
>> Nils-Olov Fransson
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>  
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message