Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 922059

Summary: Seamspace example occasionally fails with a NPE on IBM JVM
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Ron Šmeral <rsmeral>
Component: SeamAssignee: Marek Novotny <mnovotny>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Marek Schmidt <maschmid>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: amelicha, mnovotny, snagarwa, wfk-docs
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
The Seamspace example fails with a NullPointerException while submitting a new blog entry on the IBM virtual machine. This issue is caused by a defect in the IBM virtual machine. The fix for this issue has been deferred until the IBM virtual machine is fixed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 13:18:29 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:
Embargoed:

Description Ron Šmeral 2013-03-15 13:34:29 UTC
Description of problem:
There is an old issue that happens to show up in the Seamspace example.
It occurs only on IBM JDK (1.6, possibly 1.7 too) is already documented in two Seam JIRAs [1] [2].
The seamspace example throws a NullPointerException from Seam's class org.jboss.seam.security.permission.EntityIdentifierStrategy when invoking #{blog.saveEntry}.

[1] https://issues.jboss.org/browse/JBSEAM-4586
[2] https://issues.jboss.org/browse/JBPAPP-2377

Version-Release number of selected component (if applicable):
2.2.0.ER2

How reproducible:
Not always reproducible:
Build and deploy the seamspace example to an EAP6 instance running on an IBM JDK 1.6 and run the tests.

Actual results:
The createBlogTest fails with: java.lang.AssertionError: Unexpected number of blog entries. expected:<3> but was:<0>.

Expected results:
Tests should pass.

Comment 2 Marek Novotny 2013-03-18 08:29:59 UTC
 https://issues.jboss.org/browse/JBPAPP-2377 is not resolved as FIXED, but DEFERRED as it is bug in IBM JVM.

Comment 3 Sneha 2013-03-22 09:25:03 UTC
Doc Text updated.

Comment 4 Sneha 2013-03-22 09:28:36 UTC
Doc Text updated.