[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Ang. Need Help w. Null Pointer Exception.
From:       David Smith <dns4 () cornell ! edu>
Date:       2006-08-30 20:12:04
Message-ID: 44F5F114.5070901 () cornell ! edu
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic