myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1727) NullPointerException in ComponentUtils
Date Fri, 24 Mar 2017 16:50:41 GMT

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

Hudson commented on TOBAGO-1727:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #829 (See [https://builds.apache.org/job/Tobago%20Trunk/829/])
TOBAGO-1727: NullPointerException in ComponentUtils (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1788484])
* (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java


> NullPointerException in ComponentUtils
> --------------------------------------
>
>                 Key: TOBAGO-1727
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1727
>             Project: MyFaces Tobago
>          Issue Type: Bug
>            Reporter: Matthias Wronka
>            Assignee: Udo Schnurpfeil
>            Priority: Trivial
>             Fix For: 3.0.4, 3.1.0
>
>
> When a valueBinding cannot be evaluated due to a NullPointer in the expression of a tc:date-value-attribute,
a NPE is thrown that makes it hard to figure out whats the problem.
> {code}
> java.lang.NullPointerException 
>         org.apache.myfaces.tobago.util.ComponentUtils.getConverter(ComponentUtils.java:822)

>         org.apache.myfaces.tobago.internal.component.AbstractUIDate.getPattern(AbstractUIDate.java:38)

>         org.apache.myfaces.tobago.internal.renderkit.renderer.DateRenderer.writeAdditionalAttributes(DateRenderer.java:55)

>         org.apache.myfaces.tobago.internal.renderkit.renderer.InRenderer.encodeBeginField(InRenderer.java:136)

>         org.apache.myfaces.tobago.internal.renderkit.renderer.DateRenderer.encodeBeginField(DateRenderer.java:70)

>         org.apache.myfaces.tobago.internal.renderkit.renderer.LabelLayoutRendererBase.encodeBegin(LabelLayoutRendererBase.java:65)
>         javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:587) 
>         org.apache.myfaces.tobago.internal.util.RenderUtils.encode(RenderUtils.java:95)

>         org.apache.myfaces.tobago.internal.util.RenderUtils.encode(RenderUtils.java:79)

> {code}
> It would be better, if the EL-Problem would be logged.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message