Bug 1013460

Summary: JBoss Marshalling: NPE in SerializableClass.<init>
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ladislav Thon <lthon>
Component: RemotingAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED CURRENTRELEASE QA Contact: Ladislav Thon <lthon>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: bmaxwell, brian.stansberry, tcerar
Target Milestone: ER7   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ladislav Thon 2013-09-30 06:56:37 UTC
[Putting to the Remoting component, as there is no Marshalling component.]

During EAP 6.2.0.ER3 testing, I've ran the JBoss Marshalling test suite against productized JBoss Marshalling. Specifically, that's the test suite from 1.4.0.Final against 1.4.0.Final-redhat-1. During this testing, I've seen a NPE in the constructor of the SerializableClass class on 64-bit RHEL5 with Oracle Java 7.

The test run is at https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-60-marshalling-testsuite-RHEL-JDK-matrix-QE/jdk=java17_default,label=RHEL5_x86_64/19/

Given that the same test was passing fine during EAP 6.2.0.ER1, which has the same version of JBoss Marshalling (actually the JARs in ER1 and ER3 are binary identical according to SHA512), I'm inclined to say that it's an intermittent test failure; on the other hand, a NPE in production code doesn't look OK.

---

And now looking at JBoss Marshalling 1.4.1, it looks like it has a fix for this problem. Can we have Marshalling updated?

Comment 1 David M. Lloyd 2013-09-30 15:38:22 UTC
Sure thing.  This is devel_ack+ as far as I'm concerned (still need to get those permissions worked out...).

Comment 6 Ladislav Thon 2013-10-22 09:28:02 UTC
Sounds strange, but I'm still seeing this in ER6 with Marshalling 1.4.1.

Specifically, it's the SimpleMarshallerTests.testExternalizableConstructed test. See https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-60-marshalling-testsuite-RHEL-JDK-matrix-QE/jdk=java17_default,label=RHEL5_x86_64/21/

Comment 7 David M. Lloyd 2013-10-23 03:10:29 UTC
Hmm, it seems some bugfix from master didn't get into the 1.4 and 1.x branches... in any case, I have a fix for it.  I'll have to do a 1.4.2 release for it though.  I'll post here when it's done.

Comment 8 David M. Lloyd 2013-10-23 03:32:17 UTC
I've released 1.4.2.Final.

Comment 11 Ladislav Thon 2013-11-05 13:25:17 UTC
Verified with EAP 6.2.0.ER7.