Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-90

Seamspace example occasionally fails with a NPE on IBM JVM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0.GA, 2.3.0.GA, 2.4.0.GA, 2.5.0.GA
    • Fix Version/s: 2.7.0.GA
    • Component/s: Seam 2
    • Labels:
    • Environment:

      2.2.0.ER2

    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Build and deploy e.g. Seam Booking example
      2. Login and search for some hotel
      3. Undeploy app and notice following exception:

      Show
      1. Build and deploy e.g. Seam Booking example 2. Login and search for some hotel 3. Undeploy app and notice following exception:
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Documented as Known Issue
    • Release Notes Text:
      Hide
      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.
      Show
      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.

      Description

      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

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                rsmeral Ron Šmeral
                Writer:
                Sneha Agarwal Kumar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: