Re: Display String array in FTL

strutstwouser <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
The version is 2.3.15


Daniel Dekany wrote:
> 
> 
> At the first glance looks like a FreeMarker bug to me... Could you
> tell what ${.version} prints?
> 
> For Attila, the trace was:
> 
> freemarker.template.TemplateModelException: Method public java.lang.String
> com.xyz.domain.PostalAddress.getAddressLine(int) threw an exception when
> invoked on com.xyz.domain.PostalAddress@30da30da
>         at
> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
>         [...]
> Caused by: java.lang.NullPointerException
>         at
> freemarker.ext.beans.SimpleMemberModel.unwrapArguments(SimpleMemberModel.java:85)
>         at
> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Display-String-array-in-FTL-tp23632761p23830859.html
Sent from the freemarker-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.