Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when downloading #6875

Closed
bitterpanda63 opened this issue Aug 8, 2021 · 5 comments
Closed

Error when downloading #6875

bitterpanda63 opened this issue Aug 8, 2021 · 5 comments

Comments

@bitterpanda63
Copy link

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.21.7
  • OS: Linux Android 11 - 30
Crash log

java.lang.RuntimeException: Unable to create service us.shandian.giga.service.DownloadManagerService: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.schabi.newpipe.streams.io.StoredFileHelper.toString()' on a null object reference
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:4198)
	at android.app.ActivityThread.access$1500(ActivityThread.java:237)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.schabi.newpipe.streams.io.StoredFileHelper.toString()' on a null object reference
	at us.shandian.giga.service.DownloadManager.loadPendingMissions(DownloadManager.java:165)
	at us.shandian.giga.service.DownloadManager.<init>(DownloadManager.java:77)
	at us.shandian.giga.service.DownloadManagerService.onCreate(DownloadManagerService.java:142)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:4186)
	... 8 more


@reno-a
Copy link

reno-a commented Aug 8, 2021

The 0.21.9 version is disponible. You can try it.

@bitterpanda63
Copy link
Author

So should I compile it myself to fix the issue?

@SameenAhnaf
Copy link
Collaborator

So should I compile it myself to fix the issue?

No, try the apk file in #6841 and check if the bug still persists.

@bitterpanda63
Copy link
Author

That fixes the bug. But it is a debug version, and doesn't use the data from my currently installed NP app

@litetex
Copy link
Member

litetex commented Aug 8, 2021

That fixes the bug. But it is a debug version, and doesn't use the data from my currently installed NP app

You can export the data in the "normal" version and import it back into the debug version.

Closing as
Duplicate of #6687

@litetex litetex closed this as completed Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants