velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
Subject Re: AW: AW: AW: AW: Empty reply from server from time to time (Stacktrace attatched)
Date Fri, 09 Jan 2004 17:14:25 GMT

On Jan 9, 2004, at 11:57 AM, Hans Schmid wrote:

> And even better (after some more loadtests)
>
> 2004-01-09 18:00:02,210 98439 [Thread-3] ERROR
> (gui.framework.AbstractScreen)  - Stacktrace:
> java.lang.NullPointerException
>         at org.apache.velocity.Template.initDocument(Template.java:239)
>         at org.apache.velocity.Template.process(Template.java:164)
>         at

This is exactly what I expected to see earlier w/ your first stack  
trace, as I couldn't understand how it couldn't be there when you saw  
the error that you did saying

"Template.merge() failure. The document is null most likely due to  
parsing error."

Now it all fits, sort of.

More questions :

1) What resource loader are you using?

2) Why does your code, specifically

   
de.einsurance.gui.framework.AbstractScreen.handleRequest(AbstractScreen. 
java:261)

call the process() method on the template?

SNIP

>
> which indicates an initialisation problem as well
>
> and
>
> 2004-01-09 17:59:57,001 93230 [Thread-25] ERROR
> (gui.framework.AbstractScreen)  - Stacktrace:
> java.lang.NullPointerException
>         at
> org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStrin 
> gLite
> ral.java:204)


Something is very sick here.  This looks again like the same thing -  
that the AST wasn't init-ed properly...

Can we see the code for AbstractScreen?

If you don't want to post to a public list, send to me privately...

geir

-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


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


Mime
View raw message