Buggy code:
public class EjbCorbaServant extends Servant implements LocalIIOPInvoker , InvokeHandler { private static final Logger logger = Logger . getLogger ( EjbCorbaServant . class ) ; private final ComponentView componentView ; private final ORB orb ; private final Current poaCurrent ; private final Map < String , SkeletonStrategy > methodInvokerMap ; private final String [ ] repositoryIds ; private final InterfaceDef interfaceDef ; private final String securityDomain ; private final boolean home ; private volatile HomeHandle homeHandle = null ; private volatile EJBMetaData ejbMetaData ; private final SASCurrent sasCurrent ; private final InboundTransactionCurrent inboundTxCurrent ; private final TransactionManager transactionManager ; private final MarshallerFactory factory ; private final MarshallingConfiguration configuration ; private final ClassLoader classLoader ; public EjbCorbaServant ( final Current poaCurrent , final Map < String , SkeletonStrategy > methodInvokerMap , final String [ ] repositoryIds , final InterfaceDef interfaceDef , final ORB orb , final ComponentView componentView , final MarshallerFactory factory , final MarshallingConfiguration configuration , final TransactionManager transactionManager , final ClassLoader classLoader , final boolean home , final String securityDomain ) { } public Object _get_interface_def ( ) { } public String [ ] _all_interfaces ( POA poa , byte [ ] objectId ) { } public OutputStream _invoke ( final String opName , final InputStream in , final ResponseHandler handler ) { if ( EjbCorbaServant . logger . isTraceEnabled ( ) ) { EjbCorbaServant . logger . trace ( ( "EJBObject<seq2seq4repair_space>invocation:<seq2seq4repair_space>" + opName ) ) ; } SkeletonStrategy op = methodInvokerMap . get ( opName ) ; if ( op == null ) { <START_BUG> EjbCorbaServant . logger . debug ( ( ( ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>find<seq2seq4repair_space>opname<seq2seq4repair_space>'" + opName ) + "'<seq2seq4repair_space>valid<seq2seq4repair_space>operations:" ) + ( methodInvokerMap . keySet ( ) ) ) ) ; <END_BUG> throw new BAD_OPERATION ( opName ) ; } final NamespaceContextSelector selector = componentView . getComponent ( ) . getNamespaceContextSelector ( ) ; final ClassLoader oldCl = WildFlySecurityManager . getCurrentContextClassLoaderPrivileged ( ) ; NamespaceContextSelector . pushCurrentSelector ( selector ) ; try { WildFlySecurityManager . setCurrentContextClassLoaderPrivileged ( classLoader ) ; SecurityContext sc = null ; org . omg . CORBA_2_3 . portable . OutputStream out ; try { Object retVal ; if ( ( ! ( home ) ) && ( opName . equals ( "_get_handle" ) ) ) { retVal = new HandleImplIIOP ( orb . object_to_string ( _this_object ( ) ) ) ; } else if ( ( home ) && ( opName . equals ( "_get_homeHandle" ) ) ) { retVal = homeHandle ; } else if ( ( home ) && ( opName . equals ( "_get_EJBMetaData" ) ) ) { retVal = ejbMetaData ; } else { Transaction tx = null ; if ( ( inboundTxCurrent ) != null ) tx = inboundTxCurrent . getCurrentTransaction ( ) ; if ( tx != null ) { transactionManager . resume ( tx ) ; } try { SimplePrincipal principal = null ; Object credential = null ; if ( ( sasCurrent ) != null ) { final byte [ ] incomingName = sasCurrent . get_incoming_principal_name ( ) ; if ( ( incomingName != null ) && ( ( incomingName . length ) > 0 ) ) { if ( ( incomingName . length ) > 0 ) { String name = new String ( incomingName , StandardCharsets . UTF_8 ) ; int domainIndex = name . indexOf ( '@' ) ; if ( domainIndex > 0 ) name = name . substring ( 0 , domainIndex ) ; principal = new SimplePrincipal ( name ) ; credential = sasCurrent ; } } else { final byte [ ] username = sasCurrent . get_incoming_username ( ) ; final byte [ ] incomingPassword = sasCurrent . get_incoming_password ( ) ; if ( ( username . length ) > 0 ) { String name = new String ( username , StandardCharsets . UTF_8 ) ; int domainIndex = name . indexOf ( '@' ) ; if ( domainIndex > 0 ) { name = name . substring ( 0 , domainIndex ) ; } principal = new SimplePrincipal ( name ) ; credential = new String ( incomingPassword , StandardCharsets . UTF_8 ) . toCharArray ( ) ; } } if ( ( securityDomain ) != null ) { sc = SecurityContextFactory . createSecurityContext ( securityDomain ) ; sc . getUtil ( ) . createSubjectInfo ( principal , credential , null ) ; } } final Object [ ] params = op . readParams ( ( ( org . omg . CORBA_2_3 . portable . InputStream ) ( in ) ) ) ; if ( ( ( ! ( home ) ) && ( opName . equals ( "isIdentical" ) ) ) && ( ( params . length ) == 1 ) ) { Object val = params [ 0 ] ; if ( val instanceof Object ) { retVal = handleIsIdentical ( ( ( Object ) ( val ) ) ) ; } else { retVal = false ; } } else { if ( sc != null ) { EjbCorbaServant . setSecurityContextOnAssociation ( sc ) ; } try { final InterceptorContext interceptorContext = new InterceptorContext ( ) ; if ( sc != null ) { interceptorContext . putPrivateData ( SecurityContext . class , sc ) ; } prepareInterceptorContext ( op , params , interceptorContext ) ; retVal = componentView . invoke ( interceptorContext ) ; } finally { if ( sc != null ) { EjbCorbaServant . clearSecurityContextOnAssociation ( ) ; } } } } finally { if ( tx != null ) { if ( ( transactionManager . getStatus ( ) ) != ( Status . STATUS_NO_TRANSACTION ) ) { transactionManager . suspend ( ) ; } } } } out = ( ( org . omg . CORBA_2_3 . portable . OutputStream ) ( handler . createReply ( ) ) ) ; if ( op . isNonVoid ( ) ) { op . writeRetval ( out , retVal ) ; } }

Fix:
EjbCorbaServant . logger . debugf ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>find<seq2seq4repair_space>opname<seq2seq4repair_space>'%s'<seq2seq4repair_space>valid<seq2seq4repair_space>operations:%s" , opName , methodInvokerMap . keySet ( ) ) ;