You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Doug Breaux <br...@us.ibm.com> on 2018/06/14 14:41:58 UTC

Re: s:fielderror not working in Java 8, WebSphere


On 2018/05/22 18:24:34, breaux@us.ibm.com <br...@us.ibm.com> wrote: 
> Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX.
> 
> We have a JSP with a plain <s:fielderrors /> element that works without issue when we switch WebSphere back to Java 7, but in Java 8 produces the following error:
> 
> 2018-05-22 12:43:24,384 ERROR [freemarker.runtime]: error - Error executing FreeMarker template
> FreeMarker template error:
> Java method "AbstractCollection.size()" threw an exception when invoked on LinkedHashMap$LinkedKeySet object "[]"; see cause exception in the Java stack trace.

FYI, after pursuing as IBM Java issue, it now appears to be an issue with a 3rd-party agent installed to the JVM, and am pursuing with them.

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


Re: s:fielderror not working in Java 8, WebSphere

Posted by Arjuna Bandara <ar...@gmail.com>.
I have faced similar issue. problem is on Java 8.

On Thu, Jun 14, 2018, 8:12 PM Doug Breaux <br...@us.ibm.com> wrote:

>
>
> On 2018/05/22 18:24:34, breaux@us.ibm.com <br...@us.ibm.com> wrote:
> > Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX.
> >
> > We have a JSP with a plain <s:fielderrors /> element that works without
> issue when we switch WebSphere back to Java 7, but in Java 8 produces the
> following error:
> >
> > 2018-05-22 12:43:24,384 ERROR [freemarker.runtime]: error - Error
> executing FreeMarker template
> > FreeMarker template error:
> > Java method "AbstractCollection.size()" threw an exception when invoked
> on LinkedHashMap$LinkedKeySet object "[]"; see cause exception in the Java
> stack trace.
>
> FYI, after pursuing as IBM Java issue, it now appears to be an issue with
> a 3rd-party agent installed to the JVM, and am pursuing with them.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>