[jboss-jira] [JBoss JIRA] (JGRP-2431) Fix NPE when debugging Message::readHeader

Diego Lovison (Jira) issues at jboss.org
Wed Jan 8 10:00:42 EST 2020


     [ https://issues.redhat.com/browse/JGRP-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Lovison reassigned JGRP-2431:
-----------------------------------

    Assignee: Diego Lovison  (was: Bela Ban)


> Fix NPE when debugging Message::readHeader
> ------------------------------------------
>
>                 Key: JGRP-2431
>                 URL: https://issues.redhat.com/browse/JGRP-2431
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Diego Lovison
>            Assignee: Diego Lovison
>            Priority: Optional
>
> When debugging the following method a NPE will throw if you try to evaluate the "hdr" expression.
> {code:java}
>     protected static Header readHeader(DataInput in) throws IOException, ClassNotFoundException {
>         short magic_number=in.readShort();
>         Header hdr=ClassConfigurator.create(magic_number);
>         hdr.readFrom(in);
>         return hdr;
>     }
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list