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

Volodymyr Siedlecki commented on MYFACES-4701:
----------------------------------------------

Easy way to reproduce this – have a page with a form and submit.  Change the 
hidden input jakarta.faces.ViewState's value to "stateless" (or something 
else). The NPE will occur after clicking submit.  

```
Exception thrown by application class 
'org.apache.myfaces.context.ExceptionHandlerUtils.logException:73'
java.lang.NullPointerException: Cannot invoke "java.lang.Object.getClass()" 
because "exception" is null

at 
org.apache.myfaces.context.ExceptionHandlerUtils.logException(ExceptionHandlerUtils.java:73)
at [internal classes] 
```

> Add ability to skip logging of specific exceptions in the ExceptionHandler 
> impl
> -------------------------------------------------------------------------------
>
>                 Key: MYFACES-4701
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4701
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>            Priority: Major
>             Fix For: 5.0.0, 4.0.3, 4.1.1
>
>
> like primefaces.EXCEPTION_TYPES_TO_IGNORE_IN_LOGGING



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to