My Oracle Support Banner

Tuxedo 9.1 - m3btype Test Fails With CORBA BAD_OPERATION (Doc ID 777682.1)

Last updated on FEBRUARY 12, 2024

Applies to:

Oracle Tuxedo - Version 9.1 to 9.1
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

CONFIGURATION:
Tuxedo 9.1

DESCRIPTION:
The m3btype test fails in the BTYPE::BASIC::Datatypes_WChar_INOUT subtest using the Java client with the Sun JDK Orb.  The failure seems to be caused by testing wide character support. However, if backed out the subtests for wide character support and you get another failure, this one causing a CORBA BAD_OPERATION to be thrown.

This failure occurs with the 1.2.2 JDK. Originally ran this test with the 1.3 JDK, which caused a CORBA marshalling exception to be thrown; however, learned that the 1.3 JDK isn't supported for this environment so switched back to 1.2.2.

Here is the output from the pre-wide character test:

Get the Orb object...
Testing BTYPE::BASIC::Datatypes_IN...
Testing BTYPE::BASIC::Datatypes_INOUT...
*** FAILURE; BTYPE::BASIC::Datatypes_INOUT: org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at com.sun.corba.se.internal.corba.AnyImpl.extract_Object(Unknown Source)
at BTYPE._BASICStub.Datatypes_INOUT(_BASICStub.java:98)
at m3btypec.test_INOUT(m3btypec.java:418)
at m3btypec.main(m3btypec.java:82)
*** FAILURE; BTYPE::BASIC::Datatypes_INOUT:
TypeCode does not match CORBA.tc_string on return
Any does not match a string on return
Testing BTYPE::BASIC::Datatypes_OUT...
Testing BTYPE::BASIC::Long_RES...
Testing BTYPE::BASIC::Short_RES...
Testing BTYPE::BASIC::ULong_RES...
Testing BTYPE::BASIC::UShort_RES...
Testing BTYPE::BASIC::Boolean_RES...
Testing BTYPE::BASIC::Octet_RES...
Testing BTYPE::BASIC::Char_RES...
Testing BTYPE::BASIC::Double_RES...
Testing BTYPE::BASIC::Float_RES...
Testing BTYPE::BASIC::String_RES...
Testing BTYPE::BASIC::Object_RES...
Testing BTYPE::BASIC::TypeCode_RES...
Testing BTYPE::BASIC::Any_RES...
Testing BTYPE::BASIC::NULL_Object_RES...
Testing BTYPE::BASIC::NULL_TypeCode_RES...
Cleanup - delete BtStrapObj ...


Here is the output from the load8 failure:

Get the Orb object...
Testing BTYPE::BASIC::Datatypes_IN...
Testing BTYPE::BASIC::Datatypes_WChar_IN...
Testing BTYPE::BASIC::Datatypes_INOUT...
Testing BTYPE::BASIC::Datatypes_WChar_INOUT...
*** FAILURE; BTYPE::BASIC::Datatypes_WChar_INOUT:
int = org.omg.CORBA.IntHolder@16e7169f; should be: 1234
short = org.omg.CORBA.ShortHolder@1697169f; should be: -1111
int = org.omg.CORBA.IntHolder@169f169f; should be: 12
short = org.omg.CORBA.ShortHolder@1693169f; should be: 167
boolean = org.omg.CORBA.BooleanHolder@168f169f; should be: false
byte1 = org.omg.CORBA.ByteHolder@16bf169f; should be: 6
char = org.omg.CORBA.CharHolder@16af169f; should be: P
double = org.omg.CORBA.DoubleHolder@165f169f; should be: 321.654
float = org.omg.CORBA.FloatHolder@164f169f; should be: 543.876
char * = Test String; should be: gnirtS tseT
TypeCode does not match CORBA.tc_string on return
Any does not match a string on return
wchar = A; should be: P
wchar * = Test String; should be: gnirtS tseT
Testing BTYPE::BASIC::Datatypes_OUT...
Testing BTYPE::BASIC::Datatypes_WChar_OUT...
*** FAILURE; BTYPE::BASIC::Datatypes_OUT:
wchar = org.omg.CORBA.CharHolder@1aaf169f; should be: P
*** FAILURE; BTYPE::BASIC::Datatypes_WChar_IN: org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
at com.sun.CORBA.idl.AnyImpl.insert_wchar(AnyImpl.java:578)
at BTYPE._BASICStub.Datatypes_WChar_IN(_BASICStub.java:293)
at m3btypec.test_IN(m3btypec.java:371)
at m3btypec.main(m3btypec.java:78)
*** FAILURE; BTYPE::BASIC::Datatypes_WChar_INOUT: org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
at com.sun.CORBA.idl.AnyImpl.insert_wchar(AnyImpl.java:578)
at BTYPE._BASICStub.Datatypes_WChar_INOUT(_BASICStub.java:328)
at m3btypec.test_INOUT(m3btypec.java:635)
at m3btypec.main(m3btypec.java:82)
*** FAILURE; BTYPE::BASIC::Datatypes_WChar_OUT org.omg.CORBA.MARSHAL: minor code: 5 completed: No
java.lang.NullPointerException
at m3btypec.test_OUT(m3btypec.java:1125)
at m3btypec.main(m3btypec.java:86)
Exception in thread "main"
*** Creating objref w/oid length 2K
*** Creating objref w/oid length 1K
*** Creating objref w/oid length 255
*** Creating objref w/oid length 128
Executing BASIC_i::Datatypes_IN...
Executing BASIC_i::Datatypes_INOUT...
Executing BASIC_i::Datatypes_OUT...
Executing BASIC_i::Datatypes_WChar_OUT...

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.