[jboss-jira] [JBoss JIRA] (JGRP-2431) Fix NPE when debugging Message::readHeader
Bela Ban (Jira)
issues at jboss.org
Wed Jan 8 10:05:38 EST 2020
[ https://issues.redhat.com/browse/JGRP-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-2431:
---------------------------
Fix Version/s: 4.1.9
> 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
> Fix For: 4.1.9
>
>
> 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