velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr. <ge...@adeptra.com>
Subject Re: Velocity initialize failure in resin
Date Thu, 12 Dec 2002 16:25:43 GMT

On Wednesday, December 11, 2002, at 11:01 PM, Yoshia Makino wrote:

> I found the problem.
>
> This was happening because 
> org.apache.commons.collections.ExtendedProperties
> is not very nice.
>
> It was using a while(true) loop and using NullPointerExceptions to 
> figure
> out the EOF of the velocity.properties file.  So when the
> BufferedReader.readLine() was called, it seg faulted when EOF was 
> reached
> instead of throwing a NullPointerException.
>

it *seg faulted*?  Dropping the JVM?


> Althought this must obviously work for most people, it was causing 
> problems
> in this case.
>
-- 
Geir Magnusson Jr                                   203-355-2219(w)
Adeptra, Inc.                                       203-247-1713(m)
geirm@adeptra.com


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message