throw new IllegalStateException("Unable to acquire application service"); application.run();
throw new IllegalStateException(EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_ERROR_NO_APPLICATION")); application.run();
	public static Object run(String[] args,Runnable endSplashHandler) throws Exception {		processCommandLine(args);		setInstanceLocation();		setConfigurationLocation();		loadConfigurationInfo();		loadDefaultProperties();		adaptor = createAdaptor();		OSGi osgi = new OSGi(adaptor);		osgi.launch();		try {			String console = System.getProperty(PROP_CONSOLE);			if (console != null) 				startConsole(osgi, new String[0], console);			context = osgi.getBundleContext();						publishSplashScreen(endSplashHandler);			Bundle[] basicBundles = loadBasicBundles();			setStartLevel(6);			// they should all be active by this time			ensureBundlesActive(basicBundles);			initializeApplicationTracker();			Runnable application = (Runnable)applicationTracker.getService();			applicationTracker.close();			logUnresolvedBundles(context.getBundles());			if (application == null)				throw new IllegalStateException("Unable to acquire application service");			application.run();		} finally {			stopSystemBundle();		}		// TODO for now, if an exception is not thrown from this method, we have to do		// the System.exit.  In the future we will update startup.jar to do the System.exit all 		// the time.		String exitCode = System.getProperty(PROP_EXITCODE);		if (exitCode == null)			System.exit(0);		try {			System.exit(Integer.parseInt(exitCode));		} catch (NumberFormatException e) {			System.exit(13);		}		return null;	}