DBDigital / nookdevs

Automatically exported from code.google.com/p/nookdevs Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

[nookLibrary] crash on opening #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Start nookLibrary

What is the expected output? What do you see instead?
Program Starts
Nothing, program exits.

What version of the product are you using? On what operating system?
Latest update from nookMarket (0.1.1)

Please provide any additional information below.
logcat says:
E/AndroidRuntime( 3094): Uncaught handler: thread main exiting due to uncaught 
exception
E/AndroidRuntime( 3094): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.nookdevs.library/com.nookdevs.library.NookLibrary}: 
android.database.sqlite.SQLiteException: file is encrypted or is not a database

eventually:
E/AndroidRuntime( 3094):        at 
com.nookdevs.library.FictionwiseBooks.getUser(FictionwiseBooks.java:670)
E/AndroidRuntime( 3094):        at 
com.nookdevs.library.NookLibrary.getAdditionalLibraries(NookLibrary.java:387)
E/AndroidRuntime( 3094):        at 
com.nookdevs.library.NookLibrary.onCreate(NookLibrary.java:333)
E/AndroidRuntime( 3094):        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 3094):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2235)

Hope that helps.

Original issue reported on code.google.com by zastr...@gmail.com on 13 Aug 2010 at 1:17

GoogleCodeExporter commented 8 years ago
do you know what the previous version was? 
I also need more lines from the stacktrace. Looks like a db under 
/data/data/com.nookdevs.library/databases is corrupted. But I'm catching 
generic exception in code. So, this particular exception under fictionwiseBooks 
class should be ok. There may be other exceptions in the log.

check the user id & permissions for the /data/data/com.nookdevs.library folder. 
It has to match the user id for nookLibrary ( you can find it using ps command).

Original comment by hari.swa...@gmail.com on 13 Aug 2010 at 1:53

GoogleCodeExporter commented 8 years ago
Sorry, more of a Windows guy, and so I think I got what you needed, but I have 
no idea how to analyze it.  I've attached it for you.

You're right, there was another exception (I'll let you see it in the log.txt).

And sorry, but no I don't know what the previous version was.  It couldn't have 
been too old given that I installed nookMarket within the last two weeks, and 
there was no update the first time I ran it.

I won't be able to check anything else until later tonight, so I hope this 
helps.

Thanks.

Original comment by zastr...@gmail.com on 13 Aug 2010 at 2:20

Attachments:

GoogleCodeExporter commented 8 years ago
ok. i can see app_9 for both library and launcher. I think the softroot might 
have hardcoded some things & that's causing the problem.

you can uninstall the library and then do a fresh install. That will fix the 
problem. 
2nd option is to find out the user_id for nookLibrary app and change the folder 
permissions to that. 
I have no idea how to find that. there should be some adb command.

Original comment by hari.swa...@gmail.com on 13 Aug 2010 at 2:54

GoogleCodeExporter commented 8 years ago

Original comment by hari.swa...@gmail.com on 27 Aug 2010 at 2:00