adolf625's Profile User Rating: -----

Reputation: 21 Tradesman
Group:
Contributors
Active Posts:
165 (0.08 per day)
Joined:
22-November 08
Profile Views:
3,900
Last Active:
User is offline Today, 12:45 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Mitsubishi
Dream Kudos:
25

Latest Visitors

Icon   adolf625 Sleep?????? What is sleep?

Posts I've Made

  1. In Topic: What are you working on today?

    Posted 6 Oct 2014

    Day 4 of fighting with javascript, oh how I loathe javascript
  2. In Topic: Positive thought for the day

    Posted 2 Oct 2014

    Positive thought for the day: Thank god tomorrow is Friday!!!!
  3. In Topic: attempt to re-open an already-closed object

    Posted 7 Jul 2014

    No it is just a function that is called to actually call the close command. I found out what the issue was, I was accidentally closing the database in the onCreate method.
  4. In Topic: attempt to re-open an already-closed object

    Posted 5 Jul 2014

    This is the logcat message


    07-05 12:48:55.515 13238-13238/com.example.gradetracker.app E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.example.gradetracker.app, PID: 13238
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gradetracker.app/com.example.gradetracker.app.MainActivity}: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.example.gradetracker.app/databases/MyGrades
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
    at android.app.ActivityThread.access$800(ActivityThread.java:135)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5001)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.example.gradetracker.app/databases/MyGrades
    at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55)
    at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:520)
    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:263)
    at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
    at com.example.gradetracker.app.DBAdapter.open(DBAdapter.java:100)
    at com.example.gradetracker.app.MainActivity.buildCourseList(MainActivity.java:68)
    at com.example.gradetracker.app.MainActivity.onCreate(MainActivity.java:37)
    at android.app.Activity.performCreate(Activity.java:5231)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
                at android.app.ActivityThread.access$800(ActivityThread.java:135)
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
                at android.os.Handler.dispatchMessage(Handler.java:102)
                at android.os.Looper.loop(Looper.java:136)
                at android.app.ActivityThread.main(ActivityThread.java:5001)
                at java.lang.reflect.Method.invokeNative(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:515)
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
                at dalvik.system.NativeStart.main(Native Method)
  5. In Topic: What Are You Working On Today?

    Posted 6 Jun 2014

    I am taking it for Computer Engineering school. I don't think the test will be all that bad, just I dread the time it takes to do it. I can understand why schools want you to take it I guess.

My Information

Member Title:
D.I.C Head
Age:
27 years old
Birthday:
May 7, 1987
Gender:
Location:
Alabama
Interests:
gaming, web design, bodybuilding
Full Name:
Adam Colwell
Years Programming:
5
Programming Languages:
C++, Java, HTML/CSS, Javascript, C#, ASP.NET, PERL, MASM

Contact Information

E-mail:
Private

Friends

Comments

adolf625 has no profile comments yet. Why not say hello?