-
Bug
-
Resolution: Done
-
Major
-
7.3.0.GA.CR2
-
None
When using IBM JDK with SecurityManager option, a programmatic Fault returns a different Exception than a SOAPFaultException
@Test public void testHelloError() { try { proxy.helloError("Fault for test purpose"); Assert.fail("This should throw a SOAPFaultException"); } catch (SOAPFaultException ex) { SOAPFault fault = ex.getFault(); Assert.assertEquals("Fault for test purpose", fault.getFaultString()); //.... } }
Exception:
org.junit.ComparisonFailure: expected:<[Fault for test purpose]> but was:<[WFLYEJB0442: Unexpected Error]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.as.test.integration.ws.basic.BasicTests.testHelloError(BasicTests.java:69)
- is cloned by
-
WFLY-13056 Unexpected Error instead of SOAPFaultException when using IBM JDK and SecurityManager
- Closed