Giter Site home page Giter Site logo

Comments (9)

VishalNehra avatar VishalNehra commented on April 29, 2024

It crashes if you try to open a database with lots of entries. Try opening relatively small database.

from amazefilemanager.

VishalNehra avatar VishalNehra commented on April 29, 2024

Issue fixed, compile the latest changes.

from amazefilemanager.

jensMF avatar jensMF commented on April 29, 2024

I tried a database with 4kb for testing is this to big?

from amazefilemanager.

VishalNehra avatar VishalNehra commented on April 29, 2024

It should work, where is the database? And which database is it? Is it sqlite?

from amazefilemanager.

jensMF avatar jensMF commented on April 29, 2024

I loaded and compiled new sources the day before yesterday and it doesn't work. I tried a database in /data/data/'app_name'/database.db, in /data/data/'app_name'/databases/database.db and in /storage/sdcard0/database.db. Amaze always crashed. I could open the file in sdcard0 with aSQLite Editor, so I guess it is sqlite.

from amazefilemanager.

VishalNehra avatar VishalNehra commented on April 29, 2024

Can you give me the logcat?

from amazefilemanager.

jensMF avatar jensMF commented on April 29, 2024

Here it is:

03-27 20:07:28.565 D/FAST App Search(2547): Starting com.amaze.filemanager (and incremented call count to 9)
03-27 20:07:28.565 I/ActivityManager(2242): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.amaze.filemanager/.activities.MainActivity} from pid 2547
03-27 20:07:28.755 I/ActivityManager(2242): Start proc com.amaze.filemanager for activity com.amaze.filemanager/.activities.MainActivity: pid=8279 uid=10117 gids={50117, 1028, 1015, 1023}
03-27 20:07:28.975 I/dalvikvm(8279): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.activities.MainActivity.onCreate
03-27 20:07:28.985 I/dalvikvm(8279): Could not find method android.support.v7.widget.Toolbar.setElevation, referenced from method com.amaze.filemanager.activities.MainActivity.onPrepareOptionsMenu
03-27 20:07:29.250 I/dalvikvm(8279): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.fragments.Main$4.onCreateActionMode
03-27 20:07:29.250 I/dalvikvm(8279): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.fragments.Main$4.onDestroyActionMode
03-27 20:07:29.710 I/ActivityManager(2242): Displayed com.amaze.filemanager/.activities.MainActivity: +1s26ms
03-27 20:07:29.720 I/dalvikvm(8279): Could not find method android.view.View.setElevation, referenced from method com.amaze.filemanager.adapters.MyAdapter.getView
03-27 20:07:29.720 I/dalvikvm(8279): Could not find method android.view.View.setElevation, referenced from method com.amaze.filemanager.adapters.MyAdapter.getView
03-27 20:07:30.010 W/SQLiteConnectionPool(8279): A SQLiteConnection object for database '/data/data/com.amaze.filemanager/databases/Table1' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
03-27 20:07:30.010 W/SQLiteConnectionPool(8279): A SQLiteConnection object for database '/data/data/com.amaze.filemanager/databases/Table1' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
03-27 20:07:34.690 I/ActivityManager(2242): START u0 {cmp=com.amaze.filemanager/.activities.DbViewer (has extras)} from pid 8279
03-27 20:07:34.735 I/dalvikvm(8279): Could not find method android.view.Window.setStatusBarColor, referenced from method com.amaze.filemanager.activities.DbViewer.onCreate
03-27 20:07:34.805 E/AndroidRuntime(8279): Process: com.amaze.filemanager, PID: 8279
03-27 20:07:34.805 E/AndroidRuntime(8279): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.activities.DbViewer}: java.lang.NullPointerException
03-27 20:07:34.805 E/AndroidRuntime(8279):  at com.amaze.filemanager.activities.DbViewer.onCreate(DbViewer.java:94)
03-27 20:07:34.820 W/ActivityManager(2242):   Force finishing activity com.amaze.filemanager/.activities.DbViewer
03-27 20:07:34.820 W/ActivityManager(2242):   Force finishing activity com.amaze.filemanager/.activities.MainActivity
03-27 20:07:35.330 W/ActivityManager(2242): Activity pause timeout for ActivityRecord{422589f8 u0 com.amaze.filemanager/.activities.DbViewer t14 f}
03-27 20:07:36.330 I/ActivityManager(2242): Process com.amaze.filemanager (pid 8279) has died.
03-27 20:07:36.335 I/WindowState(2242): WIN DEATH: Window{422d4fa8 u0 com.amaze.filemanager/com.amaze.filemanager.activities.MainActivity}
03-27 20:07:37.265 D/FAST App Search(2547): Starting com.amaze.filemanager (and incremented call count to 10)
03-27 20:07:37.265 I/ActivityManager(2242): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.amaze.filemanager/.activities.MainActivity} from pid 2547
03-27 20:07:37.525 I/ActivityManager(2242): Start proc com.amaze.filemanager for activity com.amaze.filemanager/.activities.MainActivity: pid=8332 uid=10117 gids={50117, 1028, 1015, 1023}
03-27 20:07:37.730 I/dalvikvm(8332): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.activities.MainActivity.onCreate
03-27 20:07:37.735 I/dalvikvm(8332): Could not find method android.support.v7.widget.Toolbar.setElevation, referenced from method com.amaze.filemanager.activities.MainActivity.onPrepareOptionsMenu
03-27 20:07:38.045 I/dalvikvm(8332): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.fragments.Main$4.onCreateActionMode
03-27 20:07:38.045 I/dalvikvm(8332): Could not find method android.view.Window.setNavigationBarColor, referenced from method com.amaze.filemanager.fragments.Main$4.onDestroyActionMode
03-27 20:07:38.465 I/dalvikvm(8332): Could not find method android.view.View.setElevation, referenced from method com.amaze.filemanager.adapters.MyAdapter.getView
03-27 20:07:38.465 I/dalvikvm(8332): Could not find method android.view.View.setElevation, referenced from method com.amaze.filemanager.adapters.MyAdapter.getView
03-27 20:07:38.475 I/ActivityManager(2242): Displayed com.amaze.filemanager/.activities.MainActivity: +1s18ms (total +3s766ms)
03-27 20:07:38.490 W/SQLiteConnectionPool(8332): A SQLiteConnection object for database '/data/data/com.amaze.filemanager/databases/Table1' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
03-27 20:07:43.295 I/ActivityManager(2242): START u0 {cmp=com.amaze.filemanager/.activities.DbViewer (has extras)} from pid 8332
03-27 20:07:43.350 I/dalvikvm(8332): Could not find method android.view.Window.setStatusBarColor, referenced from method com.amaze.filemanager.activities.DbViewer.onCreate
03-27 20:07:43.380 E/AndroidRuntime(8332): Process: com.amaze.filemanager, PID: 8332
03-27 20:07:43.380 E/AndroidRuntime(8332): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.activities.DbViewer}: java.lang.NullPointerException
03-27 20:07:43.380 E/AndroidRuntime(8332):  at com.amaze.filemanager.activities.DbViewer.onCreate(DbViewer.java:94)
03-27 20:07:43.385 W/ActivityManager(2242):   Force finishing activity com.amaze.filemanager/.activities.DbViewer
03-27 20:07:43.390 W/ActivityManager(2242):   Force finishing activity com.amaze.filemanager/.activities.MainActivity
03-27 20:07:43.890 W/ActivityManager(2242): Activity pause timeout for ActivityRecord{4217db48 u0 com.amaze.filemanager/.activities.DbViewer t15 f}
03-27 20:07:45.335 I/ActivityManager(2242): Process com.amaze.filemanager (pid 8332) has died.
03-27 20:07:45.340 I/WindowState(2242): WIN DEATH: Window{42350240 u0 com.amaze.filemanager/com.amaze.filemanager.activities.MainActivity}

from amazefilemanager.

arpitkh96 avatar arpitkh96 commented on April 29, 2024

i hope this is fixed with latest commit

from amazefilemanager.

jensMF avatar jensMF commented on April 29, 2024

This seems to be fixed. I could load all databases I tried. Even one with 7.1MB. Thanks a lot :-)

from amazefilemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.