Buggy code:
public class SharedObjectContainerFactory { private static Trace debug = Trace . create ( "containerfactory" ) ; private static Hashtable containerdescriptions = new Hashtable ( ) ; public static final SharedObjectContainerDescription addDescription ( SharedObjectContainerDescription scd ) { } public static final List getDescriptions ( ) { } private static void debug ( String msg ) { } private static void dumpStack ( String msg , Throwable e ) { } protected static List getDescriptions0 ( ) { } protected static SharedObjectContainerDescription addDescription0 ( SharedObjectContainerDescription n ) { } public static final boolean containsDescription ( SharedObjectContainerDescription scd ) { } protected static boolean containsDescription0 ( SharedObjectContainerDescription scd ) { } protected static SharedObjectContainerDescription getDescription0 ( SharedObjectContainerDescription scd ) { } protected static SharedObjectContainerDescription getDescription0 ( String name ) { } public static final SharedObjectContainerDescription getDescriptionByName ( String name ) throws SharedObjectContainerInstantiationException { } public static ISharedObjectContainer makeSharedObjectContainer ( SharedObjectContainerDescription desc , String [ ] argTypes , Object [ ] args ) throws SharedObjectContainerInstantiationException { <START_BUG> SharedObjectContainerFactory . debug ( ( ( ( ( ( ( "makeSharedObjectContainer(" + desc ) + "," ) + argTypes ) + "," ) + args ) + ")" ) ) ; <END_BUG> if ( desc == null ) throw new SharedObjectContainerInstantiationException ( "SharedObjectContainerDescription<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>null" ) ; SharedObjectContainerDescription cd = SharedObjectContainerFactory . getDescription0 ( desc ) ; if ( cd == null ) throw new SharedObjectContainerInstantiationException ( ( ( "SharedObjectContainerDescription<seq2seq4repair_space>named<seq2seq4repair_space>'" + ( desc . getName ( ) ) ) + "'<seq2seq4repair_space>not<seq2seq4repair_space>found" ) ) ; Class [ ] clazzes = null ; ISharedObjectContainerInstantiator instantiator = null ; try { instantiator = ( ( ISharedObjectContainerInstantiator ) ( cd . getInstantiator ( ) ) ) ; clazzes = AbstractFactory . getClassesForTypes ( argTypes , args , cd . getClassLoader ( ) ) ; } catch ( Exception e ) { throw new SharedObjectContainerInstantiationException ( "Exception<seq2seq4repair_space>getting<seq2seq4repair_space>ISharedObjectContainerInstantiatior" , e ) ; } if ( instantiator == null ) throw new SharedObjectContainerInstantiationException ( ( ( "Instantiator<seq2seq4repair_space>for<seq2seq4repair_space>SharedObjectContainerDescription<seq2seq4repair_space>" + ( cd . getName ( ) ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>null" ) ) ; return ( ( ISharedObjectContainer ) ( instantiator . makeInstance ( clazzes , args ) ) ) ; } public static ISharedObjectContainer makeSharedObjectContainer ( String descriptionName ) throws SharedObjectContainerInstantiationException { } public static ISharedObjectContainer makeSharedObjectContainer ( String descriptionName , Object [ ] args ) throws SharedObjectContainerInstantiationException { } public static ISharedObjectContainer makeSharedObjectContainer ( String descriptionName , String [ ] argsTypes , Object [ ] args ) throws SharedObjectContainerInstantiationException { } public static final SharedObjectContainerDescription removeDescription ( SharedObjectContainerDescription scd ) { } protected static SharedObjectContainerDescription removeDescription0 ( SharedObjectContainerDescription n ) { } private SharedObjectContainerFactory ( ) { } }

Fix:
SharedObjectContainerFactory . debug ( ( ( ( ( ( ( "makeSharedObjectContainer(" + desc ) + "," ) + ( Trace . convertStringAToString ( argTypes ) ) ) + "," ) + ( Trace . convertObjectAToString ( args ) ) ) + ")" ) ) ;