-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
7
-
x86
-
linux
FULL PRODUCT VERSION :
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux alin.solvo.ru 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 17 19:39:28 MSK 2009 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Unexpected exception is raised when using DII and receiving user exception which has a string with non Latin-1 chars.
com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl unmarshalDIIUserException
WARNING: "IOP00710244: (INTERNAL) Unexpected exception while unmarshalling DII user exception"
Caused by: org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1 completed: No
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Force native string charset to UTF-8:
props.setProperty("com.sun.CORBA.codeset.charsets", "0x05010001");
Make dynamic call to method that raises user exception with string property containing non Latin-1 character.
The unmarshalDIIUserException method at CorbaMessageMediatorImpl.java:453 tries to wrap user exception from CDR stream into Any object using default EncapsOutputStream.
That stream has ISO8859-1 charset as default.
If user exception has string with non Latin-1 character then java.nio.charset.UnmappableCharacterException occurs.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
User exception thrown to application context
ACTUAL -
Unexpected Internal exception
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux alin.solvo.ru 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 17 19:39:28 MSK 2009 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Unexpected exception is raised when using DII and receiving user exception which has a string with non Latin-1 chars.
com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl unmarshalDIIUserException
WARNING: "IOP00710244: (INTERNAL) Unexpected exception while unmarshalling DII user exception"
Caused by: org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1 completed: No
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Force native string charset to UTF-8:
props.setProperty("com.sun.CORBA.codeset.charsets", "0x05010001");
Make dynamic call to method that raises user exception with string property containing non Latin-1 character.
The unmarshalDIIUserException method at CorbaMessageMediatorImpl.java:453 tries to wrap user exception from CDR stream into Any object using default EncapsOutputStream.
That stream has ISO8859-1 charset as default.
If user exception has string with non Latin-1 character then java.nio.charset.UnmappableCharacterException occurs.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
User exception thrown to application context
ACTUAL -
Unexpected Internal exception
REPRODUCIBILITY :
This bug can be reproduced always.