Skip to content

Instantly share code, notes, and snippets.

@Zenuncl
Created March 6, 2014 05:10
Show Gist options
  • Save Zenuncl/9382989 to your computer and use it in GitHub Desktop.
Save Zenuncl/9382989 to your computer and use it in GitHub Desktop.
Android LogCat
03-06 00:07:53.227: D/dalvikvm(904): GC_FOR_ALLOC freed 230K, 13% free 2748K/3140K, paused 34ms, total 37ms
03-06 00:07:53.227: I/dalvikvm-heap(904): Grow heap (frag case) to 3.445MB for 635812-byte allocation
03-06 00:07:53.347: D/dalvikvm(904): GC_FOR_ALLOC freed 4K, 11% free 3364K/3764K, paused 116ms, total 116ms
03-06 00:07:53.387: D/dalvikvm(904): GC_FOR_ALLOC freed <1K, 11% free 3364K/3764K, paused 32ms, total 33ms
03-06 00:07:53.387: I/dalvikvm-heap(904): Grow heap (frag case) to 3.917MB for 500416-byte allocation
03-06 00:07:53.509: D/dalvikvm(904): GC_FOR_ALLOC freed <1K, 10% free 3852K/4256K, paused 109ms, total 109ms
03-06 00:07:53.606: E/SQLiteLog(904): (1) near "tabletasksdatabase": syntax error
03-06 00:07:53.616: D/AndroidRuntime(904): Shutting down VM
03-06 00:07:53.616: W/dalvikvm(904): threadid=1: thread exiting with uncaught exception (group=0x41465700)
03-06 00:07:53.638: E/AndroidRuntime(904): FATAL EXCEPTION: main
03-06 00:07:53.638: E/AndroidRuntime(904): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cisc325.taskmanager/com.cisc325.taskmanager.MainActivity}: android.database.sqlite.SQLiteException: near "tabletasksdatabase": syntax error (code 1): , while compiling: create tabletasksdatabase(_idinteger primary key autoincrement, nametext not null, );
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread.access$600(ActivityThread.java:141)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.os.Handler.dispatchMessage(Handler.java:99)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.os.Looper.loop(Looper.java:137)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread.main(ActivityThread.java:5103)
03-06 00:07:53.638: E/AndroidRuntime(904): at java.lang.reflect.Method.invokeNative(Native Method)
03-06 00:07:53.638: E/AndroidRuntime(904): at java.lang.reflect.Method.invoke(Method.java:525)
03-06 00:07:53.638: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
03-06 00:07:53.638: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
03-06 00:07:53.638: E/AndroidRuntime(904): at dalvik.system.NativeStart.main(Native Method)
03-06 00:07:53.638: E/AndroidRuntime(904): Caused by: android.database.sqlite.SQLiteException: near "tabletasksdatabase": syntax error (code 1): , while compiling: create tabletasksdatabase(_idinteger primary key autoincrement, nametext not null, );
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1672)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1603)
03-06 00:07:53.638: E/AndroidRuntime(904): at com.cisc325.taskmanager.database.DatabaseHelper.onCreate(DatabaseHelper.java:25)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:252)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
03-06 00:07:53.638: E/AndroidRuntime(904): at com.cisc325.taskmanager.database.TaskDatabase.open(TaskDatabase.java:27)
03-06 00:07:53.638: E/AndroidRuntime(904): at com.cisc325.taskmanager.MainActivity.onCreate(MainActivity.java:60)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.Activity.performCreate(Activity.java:5133)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
03-06 00:07:53.638: E/AndroidRuntime(904): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
03-06 00:07:53.638: E/AndroidRuntime(904): ... 11 more
03-06 00:07:59.231: I/Process(904): Sending signal. PID: 904 SIG: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment