Buggy code:
public abstract class Application { public static final String CONFIGURATION = "configuration" ; public static final String CONTEXTPATH = "contextpath" ; public static final String DEPLOYMENT = "deployment" ; public static final String DEVELOPMENT = "development" ; private static final Map applicationKeyToApplication = new HashMap ( 1 ) ; private static final ThreadLocal current = new ThreadLocal ( ) ; private static final Log log = LogFactory . getLog ( Application . class ) ; public static boolean exists ( ) { } public static Application get ( ) { } public static Application get ( String applicationKey ) { } public static boolean isAttached ( ) { } public static void set ( final Application application ) { } public static void unset ( ) { } private IComponentInstantiationListener [ ] componentInstantiationListeners = new IComponentInstantiationListener [ 0 ] ; private String configurationType ; private List initializers = new ArrayList ( ) ; private final MarkupCache markupCache ; private MetaDataEntry [ ] metaData ; private final String name ; private ISessionStore sessionStore ; private IRequestLogger requestLogger ; private Settings settings ; private boolean settingsAccessible ; private final SharedResources sharedResources ; public Application ( ) { } public final void addComponentInstantiationListener ( final IComponentInstantiationListener listener ) { } public final void configure ( final String configurationType ) { } public final void configure ( final String configurationType , final IResourceFinder resourceFinder ) { } public final void configure ( final String configurationType , final String resourceFolder ) { } public abstract String getApplicationKey ( ) { } public IApplicationSettings getApplicationSettings ( ) { } public String getConfigurationType ( ) { } public IDebugSettings getDebugSettings ( ) { } public IExceptionSettings getExceptionSettings ( ) { } public IFrameworkSettings getFrameworkSettings ( ) { } public abstract Class getHomePage ( ) { } public final MarkupCache getMarkupCache ( ) { } public IMarkupSettings getMarkupSettings ( ) { } public final Serializable getMetaData ( final MetaDataKey key ) { } public final String getName ( ) { } public IPageSettings getPageSettings ( ) { } public IRequestCycleSettings getRequestCycleSettings ( ) { } protected abstract IRequestCycleFactory getRequestCycleFactory ( ) { } public final IRequestLogger getRequestLogger ( ) { } public IRequestLoggerSettings getRequestLoggerSettings ( ) { } public IResourceSettings getResourceSettings ( ) { } public ISecuritySettings getSecuritySettings ( ) { } public ISessionSettings getSessionSettings ( ) { } public final ISessionStore getSessionStore ( ) { } public final SharedResources getSharedResources ( ) { } public final void initializeComponents ( ) { try { <START_BUG> final Enumeration resources = getClass ( ) . getClassLoader ( ) . getResources ( "org.apache.wicket.properties" ) ; <END_BUG> while ( resources . hasMoreElements ( ) ) { InputStream in = null ; try { final URL url = ( ( URL ) ( resources . nextElement ( ) ) ) ; final Properties properties = new Properties ( ) ; in = url . openStream ( ) ; properties . load ( in ) ; load ( properties ) ; } finally { if ( in != null ) { in . close ( ) ; } } } } catch ( IOException e ) { throw new WicketRuntimeException ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>load<seq2seq4repair_space>initializers<seq2seq4repair_space>file" , e ) ; } callInitializers ( ) ; } public void logEventTarget ( IRequestTarget target ) { } public void logResponseTarget ( IRequestTarget requestTarget ) { } public final void removeComponentInstantiationListener ( final IComponentInstantiationListener listener ) { } public final synchronized void setMetaData ( final MetaDataKey key , final Serializable object ) { } private final void addInitializer ( String className ) { } private final void callDestroyers ( ) { } private final void callInitializers ( ) { } private Settings getSettings ( ) { } private final void load ( final Properties properties ) { } protected void destroy ( ) { } protected abstract ISessionFactory getSessionFactory ( ) { } protected void init ( ) { } protected void internalDestroy ( ) { } protected void internalInit ( ) { } protected IRequestLogger newRequestLogger ( ) { } protected abstract ISessionStore newSessionStore ( ) { } final void notifyComponentInstantiationListeners ( final Component component ) { } }

Fix:
final Enumeration resources = getClass ( ) . getClassLoader ( ) . getResources ( "wicket.properties" ) ;