Project: aptanastudio
Issue APSTUD-3610: java.sql.SQLException: Database 'aptanaDB' not found.
See in a user's log file. We should be able to avoid this message, no? {code} !ENTRY com.aptana.usage 4 0 2011-10-05 23:34:12.996 !MESSAGE An error occurred while shutting down the database !STACK 0 java.sql.SQLException: Database 'aptanaDB' not found. org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source) org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source) org.apache.derby.impl.jdbc.EmbedConnection30.(Unknown Source) org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source) org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) java.sql.DriverManager.getConnection(DriverManager.java:525) java.sql.DriverManager.getConnection(DriverManager.java:193) com.aptana.usage.AptanaDB.shutdown(AptanaDB.java:172) com.aptana.usage.UsagePlugin.stop(UsagePlugin.java:74) org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843) java.security.AccessController.doPrivileged(Native Method) org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836) org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501) org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:592) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}
Story points: 1