Buggy code:
public class EjbIIOPService implements Service < EjbIIOPService > { private static final Logger logger = Logger . getLogger ( EjbIIOPService . class ) ; public static final ServiceName SERVICE_NAME = ServiceName . of ( "EjbIIOPService" ) ; private final InjectedValue < EJBComponent > ejbComponentInjectedValue = new InjectedValue < EJBComponent > ( ) ; private final InjectedValue < ComponentView > homeView = new InjectedValue < ComponentView > ( ) ; private final InjectedValue < ComponentView > remoteView = new InjectedValue < ComponentView > ( ) ; private final InjectedValue < POARegistry > poaRegistry = new InjectedValue < POARegistry > ( ) ; private final InjectedValue < NamingContextExt > corbaNamingContext = new InjectedValue < NamingContextExt > ( ) ; private final InjectedValue < ORB > orb = new InjectedValue < ORB > ( ) ; private final InjectedValue < ServiceModuleLoader > serviceModuleLoaderInjectedValue = new InjectedValue < ServiceModuleLoader > ( ) ; private MarshallerFactory factory ; private MarshallingConfiguration configuration ; private EJBMetaData ejbMetaData ; private final Map < String , SkeletonStrategy > beanMethodMap ; private final Map < String , SkeletonStrategy > homeMethodMap ; private final String [ ] beanRepositoryIds ; private final String [ ] homeRepositoryIds ; private final boolean useQualifiedName ; private final Module module ; private ServantRegistry homeServantRegistry ; private ServantRegistry beanServantRegistry ; private ReferenceFactory beanReferenceFactory ; private EJBHome ejbHome ; private InterfaceRepository iri ; private final InjectedValue < POA > irPoa = new InjectedValue < POA > ( ) ; private IIOPMetaData iiopMetaData ; private String name = null ; public EjbIIOPService ( final Map < String , SkeletonStrategy > beanMethodMap , final String [ ] beanRepositoryIds , final Map < String , SkeletonStrategy > homeMethodMap , final String [ ] homeRepositoryIds , final boolean useQualifiedName , final IIOPMetaData iiopMetaData , final Module module ) { } public synchronized void start ( final StartContext startContext ) throws StartException { } @ Override public synchronized void stop ( final StopContext context ) { } public org . omg . CORBA . Object referenceForLocator ( final EJBLocator < ? > locator ) { final EJBComponent ejbComponent = ejbComponentInjectedValue . getValue ( ) ; try { final String earApplicationName = ( ( ejbComponent . getEarApplicationName ( ) ) == null ) ? "" : ejbComponent . getEarApplicationName ( ) ; if ( ( ( ( locator . getBeanName ( ) . equals ( ejbComponent . getComponentName ( ) ) ) && ( locator . getAppName ( ) . equals ( earApplicationName ) ) ) && ( locator . getModuleName ( ) . equals ( ejbComponent . getModuleName ( ) ) ) ) && ( locator . getDistinctName ( ) . equals ( ejbComponent . getDistinctName ( ) ) ) ) { if ( locator instanceof EJBHomeLocator ) { return ( ( org . omg . CORBA . Object ) ( ejbHome ) ) ; } else if ( locator instanceof StatelessEJBLocator ) { return beanReferenceFactory . createReference ( beanRepositoryIds [ 0 ] ) ; } else if ( locator instanceof StatefulEJBLocator ) { final Marshaller marshaller = factory . createMarshaller ( configuration ) ; final ByteArrayOutputStream stream = new ByteArrayOutputStream ( ) ; marshaller . start ( new OutputStreamByteOutput ( stream ) ) ; marshaller . writeObject ( ( ( StatefulEJBLocator ) ( locator ) ) . getSessionId ( ) ) ; marshaller . finish ( ) ; return beanReferenceFactory . createReferenceWithId ( stream . toByteArray ( ) , beanRepositoryIds [ 0 ] ) ; } else if ( locator instanceof EntityEJBLocator ) { final Marshaller marshaller = factory . createMarshaller ( configuration ) ; final ByteArrayOutputStream stream = new ByteArrayOutputStream ( ) ; marshaller . start ( new OutputStreamByteOutput ( stream ) ) ; marshaller . writeObject ( ( ( EntityEJBLocator ) ( locator ) ) . getPrimaryKey ( ) ) ; marshaller . finish ( ) ; return beanReferenceFactory . createReferenceWithId ( stream . toByteArray ( ) , beanRepositoryIds [ 0 ] ) ; } <START_BUG> throw new RuntimeException ( ( "Unkown<seq2seq4repair_space>locator<seq2seq4repair_space>type<seq2seq4repair_space>" + locator ) ) ; <END_BUG> } else { throw new IllegalArgumentException ( ( ( ( "Provided<seq2seq4repair_space>locator<seq2seq4repair_space>" + locator ) + "<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>for<seq2seq4repair_space>EJB<seq2seq4repair_space>" ) + ejbComponent ) ) ; } } catch ( Exception e ) { throw new RuntimeException ( ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>create<seq2seq4repair_space>CORBA<seq2seq4repair_space>Object<seq2seq4repair_space>for<seq2seq4repair_space>" + locator ) + "<seq2seq4repair_space>for<seq2seq4repair_space>EJB<seq2seq4repair_space>" ) + ejbComponent ) , e ) ; } } public Object handleForLocator ( final EJBLocator locator ) { } public static synchronized void rebind ( final NamingContextExt ctx , final String strName , final org . omg . CORBA . Object obj ) throws Exception { } private static String homeServantName ( final String jndiName ) { } private static String beanServantName ( final String jndiName ) { } @ Override public EjbIIOPService getValue ( ) throws IllegalArgumentException , IllegalStateException { } public InjectedValue < ComponentView > getRemoteView ( ) { } public InjectedValue < ComponentView > getHomeView ( ) { } public InjectedValue < EJBComponent > getEjbComponentInjectedValue ( ) { } public InjectedValue < ORB > getOrb ( ) { } public InjectedValue < NamingContextExt > getCorbaNamingContext ( ) { } public InjectedValue < POARegistry > getPoaRegistry ( ) { } public InjectedValue < POA > getIrPoa ( ) { } public InjectedValue < ServiceModuleLoader > getServiceModuleLoaderInjectedValue ( ) { } }

Fix:
throw new RuntimeException ( ( "Unknown<seq2seq4repair_space>locator<seq2seq4repair_space>type<seq2seq4repair_space>" + locator ) ) ;