Project: aptanastudio
Issue APSTUD-4721: Error log about aptanaDB database not being found
We've had this error spitting out to our logs _forever_! Can we please get rid of it? {code} !ENTRY com.aptana.usage 2 0 2012-04-26 12:15:06.059 !MESSAGE (Build 3.0.0.1334940636) [WARNING] An error occurred while shutting down the database !STACK 0 java.sql.SQLException: Database 'aptanaDB' not found. org.apache.derby.impl.jdbc.SQLExceptionFactory40.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.impl.jdbc.EmbedConnection40.(Unknown Source) org.apache.derby.jdbc.Driver40.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:582) java.sql.DriverManager.getConnection(DriverManager.java:207) com.aptana.usage.AptanaDB.shutdown(AptanaDB.java:156) com.aptana.usage.UsagePlugin.stop(UsagePlugin.java:71) org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) java.security.AccessController.doPrivileged(Native Method) org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565) org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161) org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595) 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:284) org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:691) org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:598) org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390) 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:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) Caused by: java.sql.SQLException: Database 'aptanaDB' not found. org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)	... 37 more {code}
Story points: 5