Buggy code:
public class MultiOrbInitialContext implements Context { private static Hashtable activesInitialsContexts = null ; private static ProtocolCurrent pcur = null ; private static String rmiName = null ; public MultiOrbInitialContext ( ) throws NamingException { } public Object lookup ( String name ) throws NamingException { } public Object lookup ( Name name ) throws NamingException { } public void bind ( String name , Object obj ) throws NamingException { } public void bind ( Name name , Object obj ) throws NamingException { } public void rebind ( String name , Object obj ) throws NamingException { } public void rebind ( Name name , Object obj ) throws NamingException { } public void unbind ( String name ) throws NamingException { } public void unbind ( Name name ) throws NamingException { } public void rename ( String oldName , String newName ) throws NamingException { } public void rename ( Name oldName , Name newName ) throws NamingException { } public NamingEnumeration list ( String name ) throws NamingException { } public NamingEnumeration list ( Name name ) throws NamingException { } public NamingEnumeration listBindings ( String name ) throws NamingException { } public NamingEnumeration listBindings ( Name name ) throws NamingException { } public void destroySubcontext ( String name ) throws NamingException { } public void destroySubcontext ( Name name ) throws NamingException { } public Context createSubcontext ( String name ) throws NamingException { } public Context createSubcontext ( Name name ) throws NamingException { } public Object lookupLink ( String name ) throws NamingException { } public Object lookupLink ( Name name ) throws NamingException { } public NameParser getNameParser ( String name ) throws NamingException { if ( TraceCarol . isDebugJndiCarol ( ) ) { <START_BUG> TraceCarol . debugJndiCarol ( ( ( ( ( "MultiOrbInitialContext.getNameParser(\"" + name ) + "\")//rmi<seq2seq4repair_space>name=\"" ) + ( MultiOrbInitialContext . pcur . getCurrent ( ) . getCurrentRMIName ( ) ) ) + "\"" ) ) ; <END_BUG> } try { return MultiOrbInitialContext . pcur . getCurrentInitialContext ( ) . getNameParser ( name ) ; } catch ( Exception e ) { String msg = "MultiOrbInitialContext.getNameParser(String<seq2seq4repair_space>name)<seq2seq4repair_space>fail" ; TraceCarol . error ( msg , e ) ; throw new NamingException ( msg ) ; } } public NameParser getNameParser ( Name name ) throws NamingException { } public String composeName ( String name , String prefix ) throws NamingException { } public Name composeName ( Name name , Name prefix ) throws NamingException { } public Object addToEnvironment ( String propName , Object propVal ) throws NamingException { } public Object removeFromEnvironment ( String propName ) throws NamingException { } public Hashtable getEnvironment ( ) throws NamingException { } public void close ( ) throws NamingException { } public String getNameInNamespace ( ) throws NamingException { } private String simpleClass ( String c ) { } }

Fix:
TraceCarol . debugJndiCarol ( ( ( ( ( "MultiOrbInitialContext.getNameParser(\"" + name ) + "\")//rmi<seq2seq4repair_space>name=\"" ) + ( MultiOrbInitialContext . pcur . getCurrentRMIName ( ) ) ) + "\"" ) ) ;