Bug 1013460 - JBoss Marshalling: NPE in SerializableClass.<init>
Summary: JBoss Marshalling: NPE in SerializableClass.<init>
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Remoting
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: EAP 6.2.0
Assignee: David M. Lloyd
QA Contact: Ladislav Thon
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-30 06:56 UTC by Ladislav Thon
Modified: 2013-12-15 16:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:55:27 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1009112 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1009400 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1009112 1009400

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.


Note You need to log in before you can comment on or make changes to this bug.