[jboss-jira] [JBoss JIRA] Closed: (JBAS-5595) fix org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase(tests-iiop).testUnMarshalException

Stefan Guilhen (JIRA) jira-events at lists.jboss.org
Mon Jun 9 20:10:48 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5595?page=all ]

Stefan Guilhen closed JBAS-5595.
--------------------------------

    Resolution: Done

Added a fix to RmiIdUtil.rethrowIfCorbaSystemException method. Test now passes.

> fix org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase(tests-iiop).testUnMarshalException
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5595
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5595
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Dimitris Andreadis
>         Assigned To: Stefan Guilhen
>
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/633/testReport/org.jboss.test.marshaliiop.test/EjbUnMarshalUnitTestCase(tests-iiop)/
> java.rmi.RemoteException: CORBA UNKNOWN 0 No; nested exception is: 
> 	org.omg.CORBA.UNKNOWN: org.omg.CORBA.portable.UnknownException  vmcid: 0x0  minor code: 0  completed: No
> 	at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:282)
> 	at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
> 	at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:149)
> 	at org.jboss.proxy.ejb.DynamicIIOPStub.invokeInt(DynamicIIOPStub.java:243)
> 	at org.jboss.test.marshaliiop.interfaces._MarshalSession_Stub.testMethod(Unknown Source)
> 	at org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase.testUnMarshalException(EjbUnMarshalUnitTestCase.java:48)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
> Caused by: org.omg.CORBA.UNKNOWN: org.omg.CORBA.portable.UnknownException  vmcid: 0x0  minor code: 0  completed: No
> 	at org.jacorb.orb.SystemExceptionHelper.read(Unknown Source)
> 	at org.jacorb.orb.ReplyReceiver.getReply(Unknown Source)
> 	at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
> 	at org.jacorb.orb.Delegate.invoke(Unknown Source)
> 	at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
> 	at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:124)
> 	... 24 more
> Caused by: java.lang.NoSuchMethodException: org.omg.CORBA.portable.UnknownException.<init>(java.lang.String, int, org.omg.CORBA.CompletionStatus)
> 	at java.lang.Class.getConstructor0(Class.java:2678)
> 	at java.lang.Class.getConstructor(Class.java:1629)
> 	... 30 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list