Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: EAP 5.0.1.CR1, EWP 5.0.1
    • Fix Version/s: EAP 5.0.1
    • Component/s: Seam
    • Labels:
      None
    • Environment:

      all kinds of Java (JDK 1.6, IBM 1.6, OpenJDK 1.6), both RHEL5_x86_64 and RHEL4_x86

      Description

      The following test methods fail:

      FAILED CONFIGURATION: @BeforeMethod resolveTask
      [testng] java.lang.AssertionError: Unexpected response code. expected:<204> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.ResolvedTaskResourceQueryTest$1.onResponse(ResolvedTaskResourceQueryTest.java:69)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.ResolvedTaskResourceQueryTest.resolveTask(ResolvedTaskResourceQueryTest.java:52)
      [testng] ... Removed 28 stack frames
      [testng] SKIPPED CONFIGURATION: @BeforeMethod resolveTask
      [testng] SKIPPED CONFIGURATION: @BeforeMethod resolveTask
      [testng] PASSED: noAuthorizationHeaderTest
      [testng] FAILED: getCategoryListTest("application/xml", "<category><name>School</name></category>")
      [testng] java.lang.AssertionError: Unexpected response code. expected:<200> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest$1.onResponse(CategoryResourceTest.java:67)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest.getCategoryListTest(CategoryResourceTest.java:52)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: getCategoryListTest("application/json", "{"category":{"name":"School"}}")
      [testng] java.lang.AssertionError: Unexpected response code. expected:<200> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest$1.onResponse(CategoryResourceTest.java:67)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest.getCategoryListTest(CategoryResourceTest.java:52)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: createCategoryTest
      [testng] java.lang.AssertionError: Unexpected response code. expected:<201> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest$3.onResponse(CategoryResourceTest.java:120)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest.createCategoryTest(CategoryResourceTest.java:106)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: deleteCategoryTest
      [testng] java.lang.AssertionError: Unexpected response code. expected:<204> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest$2.onResponse(CategoryResourceTest.java:92)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.CategoryResourceTest.deleteCategoryTest(CategoryResourceTest.java:77)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: deleteTaskTest
      [testng] java.lang.AssertionError: Unexpected response code. expected:<204> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest$4.onResponse(TaskResourceTest.java:138)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest.deleteTaskTest(TaskResourceTest.java:124)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: createTaskTest
      [testng] java.lang.AssertionError: Unexpected response code. expected:<201> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest$1.onResponse(TaskResourceTest.java:65)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest.createTaskTest(TaskResourceTest.java:48)
      [testng] ... Removed 26 stack frames
      [testng] FAILED: editTaskTest
      [testng] java.lang.AssertionError: Unexpected response code. expected:<204> but was:<500>
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest$2.onResponse(TaskResourceTest.java:94)
      [testng] at org.jboss.seam.mock.ResourceRequestEnvironment$ResourceRequest.run(ResourceRequestEnvironment.java:168)
      [testng] at org.jboss.seam.example.tasks.test.TaskResourceTest.editTaskTest(TaskResourceTest.java:77)
      [testng] ... Removed 26 stack frames
      [testng] SKIPPED: editTaskTest("application/xml", "<name>Get a haircut</name>")
      [testng] SKIPPED: editTaskTest("application/json", ""name":"Get a haircut"")
      [testng] SKIPPED: editTaskTest("application/atom+xml", "<atom:title>Get a haircut</atom:title>")
      [testng]
      [testng] ===============================================
      [testng] Tasks
      [testng] Tests run: 11, Failures: 7, Skips: 3
      [testng] Configuration Failures: 1, Skips: 2
      [testng] ===============================================

      The whole stacktrace can be seen here: (http://hudson.qa.jboss.com/hudson/view/Seam%20Release/job/seam-eap5-unit-integration-testsuite/jdk=ibm16,label=RHEL5_x86_64/26/consoleFull )

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  mgencur Martin Gencur
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: