[ https://issues.apache.org/jira/browse/MYFACES-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-4647. ---------------------------------------- Resolution: Fixed Thanks for the PRs! > PushContextImpl send - NPE when no channel found for user > --------------------------------------------------------- > > Key: MYFACES-4647 > URL: https://issues.apache.org/jira/browse/MYFACES-4647 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 4.0.0, 4.0.1 > Reporter: Milan Siebenbürger > Priority: Minor > Fix For: 4.0.2, 4.1.0, 5.0.0 > > > When trying to send a push message to a user who has already destroyed his > web socket connection, PushContextImpl.send throws NPE > java.lang.NullPointerException: Cannot invoke "java.util.Set.size()" because > "channelTokenSet" is null > at > org.apache.myfaces.push.cdi.PushContextImpl.send(PushContextImpl.java:134) > at > org.apache.myfaces.push.cdi.PushContextImpl.send(PushContextImpl.java:122) > Method should be null safe, just to continue with next user identification. -- This message was sent by Atlassian Jira (v8.20.10#820010)