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

[Nightly] Crash on Importing Database #9692

Closed
6 tasks done
TobiGr opened this issue Jan 16, 2023 · 1 comment · Fixed by #9696
Closed
6 tasks done

[Nightly] Crash on Importing Database #9692

TobiGr opened this issue Jan 16, 2023 · 1 comment · Fixed by #9696
Labels
bug Issue is related to a bug database Issue is related to database operations

Comments

@TobiGr
Copy link
Member

TobiGr commented Jan 16, 2023

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.24.2 (nightly 30)

Steps to reproduce the bug

  1. Export db in NewPipe 0.24.1
  2. Open NewPipe nightly and open a video / the video detail fragment
  3. minimize player and Import db in current nightly

Expected behavior

No crash

Actual behavior

NewPipe finished the import and crashes afterwards.

Logs

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
 at org.schabi.newpipe.local.feed.FeedFragment.onCreate$lambda-0(FeedFragment.kt:125)
 at org.schabi.newpipe.local.feed.FeedFragment.$r8$lambda$SVZC3B9xz0HrRxuxOiEkSYdQHMY(Unknown Source:0)
 at org.schabi.newpipe.local.feed.FeedFragment$$ExternalSyntheticLambda13.onSharedPreferenceChanged(Unknown Source:2)
 at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:629)
 at android.app.SharedPreferencesImpl$EditorImpl.commit(SharedPreferencesImpl.java:617)
 at org.schabi.newpipe.settings.ContentSettingsManager.loadSharedPreferences(ContentSettingsManager.kt:102)
 at org.schabi.newpipe.settings.ContentSettingsFragment.lambda$importDatabase$6$org-schabi-newpipe-settings-ContentSettingsFragment(ContentSettingsFragment.java:235)
 at org.schabi.newpipe.settings.ContentSettingsFragment$$ExternalSyntheticLambda3.onClick(Unknown Source:4)
 at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
 at android.os.Handler.dispatchMessage(Handler.java:106)
 at ...
@TobiGr TobiGr added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jan 16, 2023
@Stypox
Copy link
Member

Stypox commented Jan 16, 2023

image

Here's the problem...

@SameenAhnaf SameenAhnaf removed the needs triage Issue is not yet ready for PR authors to take up label Jan 18, 2023
@opusforlife2 opusforlife2 added the database Issue is related to database operations label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug database Issue is related to database operations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants