velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: velocity-log
Date Mon, 10 Jan 2005 09:24:08 GMT
Hi Sujata,

This should go to the user list, too.  You'll have better chances of
getting answers there.  :)
   http://jakarta.apache.org/site/mail2.html#Velocity
   http://mail-archives.apache.org/eyebrowse/SummarizeList?listName=velocity-user@jakarta.apache.org
# You can subscribe by sending an empty mail to
velocity-user-subscribe@jakarta.apache.org

You might want to add information like, any stack traces, what happens
when you render one.vm individually, and some minimal code to
regenerate your problem if possible.

> I have a Servlet that is parsing a velocity file(something.vm)to generate a
> xml file.
> 
> something.vm file contains...
> 
> #parse("one.vm");
> 
> ------
> 
> -----
> 
> #parse("two.vm");
> 
>  
> 
> In the servlet's log i get an exception
> 
> Exception: java.io.IOException: org.xml.sax.SAXParseException: The markup in
> the document following the root element must be well-formed.
> 
> java.io.IOException: org.xml.sax.SAXParseException: The markup in the
> document following the root element must be well-formed.
> 
>  
> 
> and in corresponding velocity log i get an exception like --
> 
> [error] #parse() : arg = one.vm.  Exception : java.lang.NullPointerException
> 
>  
> 
> I think velocity engine is not able to initialise the one.vm file.but
> why??could anybody help me out??

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <shinobu.kawai@gmail.com>

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


Mime
View raw message