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

ASF subversion and git services commented on OFBIZ-13378:
---------------------------------------------------------

Commit d7aa317edd7e7fcfa9b5240f86e7df79fb695dd3 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d7aa317edd ]

Testing: A commit has been assigned to a person that did not work on it 
(OFBIZ-27796)

It's described in this thread:
https://lists.apache.org/thread/m5srwot7q68xrb0mw740jv625odhg84f

It's in relation with OFBIZ-13378


> Pressing sort button in any UI view will end with NPE
> -----------------------------------------------------
>
>                 Key: OFBIZ-13378
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13378
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: 24.09.05
>         Environment: java 17
> macOS
>            Reporter: Vitaly Repetenko
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 24.09.06
>
>
> Pressing sort button for field ends with error:
> java.lang.NullPointerException: Cannot invoke "Object.getClass()" because 
> "object" is null 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:188)
>  javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:53) 
> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:70)
>  
> if ( (object.getClass().equals(String.class)
> || object instanceof Collection))
>  
> need to be:
>  
> if ( object != null && (object.getClass().equals(String.class) \|\| object 
> instanceof Collection))



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

Reply via email to