It keep crashes once opened files! #21

Closed
opened 2023-09-22 00:53:24 +02:00 by alexandro · 12 comments
type: crash

java.lang.RuntimeException: Unable to start activity ComponentInfo{sushi.hardcore.droidfs/sushi.hardcore.droidfs.file_viewers.PdfViewer}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3655)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7940)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ExecInit.main(ExecInit.java:49)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
	at java.lang.Class.isAssignableFrom(Class.java:589)
	at android.os.Parcel.readParcelableCreatorInternal(Parcel.java:4920)
	at android.os.Parcel.readParcelableInternal(Parcel.java:4827)
	at android.os.Parcel.readValue(Parcel.java:4587)
	at android.os.Parcel.readValue(Parcel.java:4367)
	at android.os.Parcel.-$$Nest$mreadValue(Unknown Source:0)
	at android.os.Parcel$LazyValue.apply(Parcel.java:4465)
	at android.os.Parcel$LazyValue.apply(Parcel.java:4424)
	at android.os.BaseBundle.getValueAt(BaseBundle.java:396)
	at android.os.BaseBundle.getValue(BaseBundle.java:376)
	at android.os.BaseBundle.getValue(BaseBundle.java:359)
	at android.os.BaseBundle.get(BaseBundle.java:698)
	at android.os.Bundle.getParcelable(Bundle.java:953)
	at android.content.Intent.getParcelableExtra(Intent.java:8965)
	at androidx.activity.ComponentDialog$$ExternalSyntheticApiModelOutline0.m(SourceFile:9)
	at sushi.hardcore.droidfs.file_viewers.FileViewerActivity.onCreate(SourceFile:44)
	at android.app.Activity.performCreate(Activity.java:8389)
	at android.app.Activity.performCreate(Activity.java:8368)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1422)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3636)
	... 14 more

``` type: crash java.lang.RuntimeException: Unable to start activity ComponentInfo{sushi.hardcore.droidfs/sushi.hardcore.droidfs.file_viewers.PdfViewer}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3655) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7940) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ExecInit.main(ExecInit.java:49) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference at java.lang.Class.isAssignableFrom(Class.java:589) at android.os.Parcel.readParcelableCreatorInternal(Parcel.java:4920) at android.os.Parcel.readParcelableInternal(Parcel.java:4827) at android.os.Parcel.readValue(Parcel.java:4587) at android.os.Parcel.readValue(Parcel.java:4367) at android.os.Parcel.-$$Nest$mreadValue(Unknown Source:0) at android.os.Parcel$LazyValue.apply(Parcel.java:4465) at android.os.Parcel$LazyValue.apply(Parcel.java:4424) at android.os.BaseBundle.getValueAt(BaseBundle.java:396) at android.os.BaseBundle.getValue(BaseBundle.java:376) at android.os.BaseBundle.getValue(BaseBundle.java:359) at android.os.BaseBundle.get(BaseBundle.java:698) at android.os.Bundle.getParcelable(Bundle.java:953) at android.content.Intent.getParcelableExtra(Intent.java:8965) at androidx.activity.ComponentDialog$$ExternalSyntheticApiModelOutline0.m(SourceFile:9) at sushi.hardcore.droidfs.file_viewers.FileViewerActivity.onCreate(SourceFile:44) at android.app.Activity.performCreate(Activity.java:8389) at android.app.Activity.performCreate(Activity.java:8368) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1422) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3636) ... 14 more ```

This looks a lot like #236. Do you also run MIUI?

This looks a lot like [#236](https://github.com/hardcore-sushi/DroidFS/issues/236). Do you also run MIUI?
Author

Exactly same issue as you provided,
I use google pixel 4a,
I cant even downgrade DroidFS, Risky to lose my files,
Or may next update fix this issue,

Exactly same issue as you provided, I use google pixel 4a, I cant even downgrade DroidFS, Risky to lose my files, Or may next update fix this issue,
Author

Previous version was working well

Previous version was working well

Does it also happen when opening the internal camera or changing a volume's password?

Does it also happen when opening the internal camera or changing a volume's password?

This version may fix the issue. Could you please tell me if it works fine when opening files, internal camera and when trying to change password?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

SHA256:
f7aa592760ec4f30b1aa5baf8399028214b12a14592e7262b69239d6e8bda6b4 DroidFS-test.apk

Download link: https://drop.underworld.fr/r/mX6YVjd6Za#lwF2weI0LNvsiSQf7SnuoIXO92SvQqKlqqL2by5/9ZE=
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS2Tv6GzuHQVPCCFxGv44Q0SkXhOgUCZQ8UugAKCRCv44Q0SkXh
OrzTAQDurjQJn68F/I5Q1E6ytNQONhQBKvCc/ZAxlWCthAL1NAEAuU9CeA/0F8gH
Pd5fCcqmVF/TzfifkXB0LyGeBT8bzgw=
=B9Vz
-----END PGP SIGNATURE-----
This version may fix the issue. Could you please tell me if it works fine when opening files, internal camera and when trying to change password? ``` -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 SHA256: f7aa592760ec4f30b1aa5baf8399028214b12a14592e7262b69239d6e8bda6b4 DroidFS-test.apk Download link: https://drop.underworld.fr/r/mX6YVjd6Za#lwF2weI0LNvsiSQf7SnuoIXO92SvQqKlqqL2by5/9ZE= -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQS2Tv6GzuHQVPCCFxGv44Q0SkXhOgUCZQ8UugAKCRCv44Q0SkXh OrzTAQDurjQJn68F/I5Q1E6ytNQONhQBKvCc/ZAxlWCthAL1NAEAuU9CeA/0F8gH Pd5fCcqmVF/TzfifkXB0LyGeBT8bzgw= =B9Vz -----END PGP SIGNATURE----- ```
Author

Does it also happen when opening the internal camera or changing a volume's password?

yes exactly when i opened camera internal it crashed but didint provided crash logs,
changing password it work,

> Does it also happen when opening the internal camera or changing a volume's password? yes exactly when i opened camera internal it crashed but didint provided crash logs, changing password it work,
Author

This version may fix the issue. Could you please tell me if it works fine when opening files, internal camera and when trying to change password?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

SHA256:
f7aa592760ec4f30b1aa5baf8399028214b12a14592e7262b69239d6e8bda6b4 DroidFS-test.apk

Download link: https://drop.underworld.fr/r/mX6YVjd6Za#lwF2weI0LNvsiSQf7SnuoIXO92SvQqKlqqL2by5/9ZE=
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS2Tv6GzuHQVPCCFxGv44Q0SkXhOgUCZQ8UugAKCRCv44Q0SkXh
OrzTAQDurjQJn68F/I5Q1E6ytNQONhQBKvCc/ZAxlWCthAL1NAEAuU9CeA/0F8gH
Pd5fCcqmVF/TzfifkXB0LyGeBT8bzgw=
=B9Vz
-----END PGP SIGNATURE-----

It wont install due conflicts with a existing, Maybe changing version number would works?

> This version may fix the issue. Could you please tell me if it works fine when opening files, internal camera and when trying to change password? > ``` > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > SHA256: > f7aa592760ec4f30b1aa5baf8399028214b12a14592e7262b69239d6e8bda6b4 DroidFS-test.apk > > Download link: https://drop.underworld.fr/r/mX6YVjd6Za#lwF2weI0LNvsiSQf7SnuoIXO92SvQqKlqqL2by5/9ZE= > -----BEGIN PGP SIGNATURE----- > > iHUEARYIAB0WIQS2Tv6GzuHQVPCCFxGv44Q0SkXhOgUCZQ8UugAKCRCv44Q0SkXh > OrzTAQDurjQJn68F/I5Q1E6ytNQONhQBKvCc/ZAxlWCthAL1NAEAuU9CeA/0F8gH > Pd5fCcqmVF/TzfifkXB0LyGeBT8bzgw= > =B9Vz > -----END PGP SIGNATURE----- > ``` It wont install due conflicts with a existing, Maybe changing version number would works?
Author

I found out to clone apk somehow to install and test that test version ive received,
Here is another crash log,

java.lang.RuntimeException: Unable to start activity ComponentInfo{sushi.hardcore.droidfs/sushi.hardcore.droidfs.file_viewers.ImageViewer}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3655)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7940)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
at java.lang.Class.isAssignableFrom(Class.java:589)
at android.os.Parcel.readParcelableCreatorInternal(Parcel.java:4920)
at android.os.Parcel.readParcelableInternal(Parcel.java:4827)
at android.os.Parcel.readValue(Parcel.java:4587)
at android.os.Parcel.readValue(Parcel.java:4367)
at android.os.Parcel.-$$Nest$mreadValue(Unknown Source:0)
at android.os.Parcel$LazyValue.apply(Parcel.java:4465)
at android.os.Parcel$LazyValue.apply(Parcel.java:4424)
at android.os.BaseBundle.getValueAt(BaseBundle.java:396)
at android.os.BaseBundle.getValue(BaseBundle.java:376)
at android.os.BaseBundle.getValue(BaseBundle.java:359)
at android.os.BaseBundle.get(BaseBundle.java:698)
at android.os.Bundle.getParcelable(Bundle.java:953)
at android.content.Intent.getParcelableExtra(Intent.java:8965)
at androidx.activity.ComponentDialog$$ExternalSyntheticApiModelOutline0.m(SourceFile:9)
at sushi.hardcore.droidfs.file_viewers.FileViewerActivity.onCreate(SourceFile:44)
at android.app.Activity.performCreate(Activity.java:8389)
at android.app.Activity.performCreate(Activity.java:8368)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1422)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3636)
... 14 more

I found out to clone apk somehow to install and test that test version ive received, Here is another crash log, java.lang.RuntimeException: Unable to start activity ComponentInfo{sushi.hardcore.droidfs/sushi.hardcore.droidfs.file_viewers.ImageViewer}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3655) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7940) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ExecInit.main(ExecInit.java:49) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference at java.lang.Class.isAssignableFrom(Class.java:589) at android.os.Parcel.readParcelableCreatorInternal(Parcel.java:4920) at android.os.Parcel.readParcelableInternal(Parcel.java:4827) at android.os.Parcel.readValue(Parcel.java:4587) at android.os.Parcel.readValue(Parcel.java:4367) at android.os.Parcel.-$$Nest$mreadValue(Unknown Source:0) at android.os.Parcel$LazyValue.apply(Parcel.java:4465) at android.os.Parcel$LazyValue.apply(Parcel.java:4424) at android.os.BaseBundle.getValueAt(BaseBundle.java:396) at android.os.BaseBundle.getValue(BaseBundle.java:376) at android.os.BaseBundle.getValue(BaseBundle.java:359) at android.os.BaseBundle.get(BaseBundle.java:698) at android.os.Bundle.getParcelable(Bundle.java:953) at android.content.Intent.getParcelableExtra(Intent.java:8965) at androidx.activity.ComponentDialog$$ExternalSyntheticApiModelOutline0.m(SourceFile:9) at sushi.hardcore.droidfs.file_viewers.FileViewerActivity.onCreate(SourceFile:44) at android.app.Activity.performCreate(Activity.java:8389) at android.app.Activity.performCreate(Activity.java:8368) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1422) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3636) ... 14 more
Author

Okey, Finaly after hours of testing that test apk your provided works well,

Ive did some mistake and lost my all files, but no worries i have back up,
thank you for you awesome project :)

Okey, Finaly after hours of testing that test apk your provided works well, Ive did some mistake and lost my all files, but no worries i have back up, thank you for you awesome project :)

The conflict must be due to the F-Droid version that is signed with different keys.

So the test version still doesn’t work? How did you get this new crash log?

The conflict must be due to the F-Droid version that is signed with different keys. So the test version still doesn’t work? How did you get this new crash log?
Author

The conflict must be due to the F-Droid version that is signed with different keys.

So the test version still doesn’t work? How did you get this new crash log?

Test version works very well,

Crash log was from cloned version, which is just wanted to test, but finaly test version works,

Last thing that i will test to encrypt 50GB files and see how it works,

> The conflict must be due to the F-Droid version that is signed with different keys. > > So the test version still doesn’t work? How did you get this new crash log? Test version works very well, Crash log was from cloned version, which is just wanted to test, but finaly test version works, Last thing that i will test to encrypt 50GB files and see how it works,

Great. The fix has been pushed: b503f134d5. The next release should solve the issue.

Great. The fix has been pushed: b503f134d5c4ecc97f3421530671d1e7cf1766fe. The next release should solve the issue.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hardcoresushi/DroidFS#21
No description provided.