myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pervasync (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2513) NullpointException running Trinidad with Tomcat 8
Date Sun, 19 Oct 2014 20:14:33 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176412#comment-14176412
] 

Pervasync commented on TRINIDAD-2513:
-------------------------------------

Yes same issue. 

However the fix was not complete. For example, line 255

String value = TagUtils.getString(_type.getValue(null));

in file

trinidad/trinidad-impl/target/maven-faces-plugin/main/java/org/apache/myfaces/trinidadinternal/taglib/convert/ConvertDateTimeTag.java

causes the same nullPointException


> NullpointException running Trinidad with Tomcat 8
> -------------------------------------------------
>
>                 Key: TRINIDAD-2513
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2513
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 2.1.0-core
>         Environment: Tomcat 8
>            Reporter: Pervasync
>            Priority: Blocker
>
> We have a Apache Trinidad based app that runs fine with Tomcat 6 and 7. The same app
throws the following exception on Tomcat 8. Trinidad lib version was 2.1.0 and MyFaces lib
version was 2.1.16.
> org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jspx
at line 14
> 11:                 <link rel="shortcut icon" href="/pervasync/images/pvs_logo_32_32.ico"/>
> 12:             </trh:head>
> 13:             <trh:body>
> 14:                 <tr:document title="...">
> 15:                     <head>
> 16:                         <link rel="shortcut icon" type="image/png" href="/pervasync/images/pvs_logo_32_32.png"/>
> 17:                     </head>
> Stacktrace:
>     at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
>     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
>     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:335)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
> ...
> Caused by: java.lang.NullPointerException
>     at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:113)
>     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperty(UIXComponentELTag.java:297)
>     at org.apache.myfaces.trinidadinternal.taglib.core.CoreDocumentTag.setProperties(CoreDocumentTag.java:179)
>     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:284)
>     at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:98)
>     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.createComponent(UIXComponentELTag.java:223)
>     at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:1195)
>     at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:514)
>     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:113)
>     at org.apache.jsp.login_jspx._jspx_meth_tr_005fdocument_005f0(login_jspx.java:282)
>     at org.apache.jsp.login_jspx._jspx_meth_trh_005fbody_005f0(login_jspx.java:250)
>     at org.apache.jsp.login_jspx._jspx_meth_trh_005fhtml_005f0(login_jspx.java:175)
>     at org.apache.jsp.login_jspx._jspx_meth_f_005fview_005f0(login_jspx.java:135)
>     at org.apache.jsp.login_jspx._jspService(login_jspx.java:96)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
>     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>     ... 56 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message