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

NPE während Suche #69

Open
kornherp opened this issue Nov 16, 2018 · 1 comment
Open

NPE während Suche #69

kornherp opened this issue Nov 16, 2018 · 1 comment

Comments

@kornherp
Copy link

Hallo,

ich fürchte, ich habe einen Bug und einen UI f*ckup gefunden.

Reproduktion:

  1. Öffnen der DAPNET App
  2. Menü->Rubrics
  3. Suchfeld: Eingabe "franken"
    -> Ergebnisliste lt. Screenshot "scrambled"
  4. Suchergebnis anklicken
  5. Neue Eingabe ins Suchfeld,
    -> NPE beim ersten Buchstaben

Stacktrace:
11-16 10:44:45.598 17316 17389 W Filter : An exception occured during performFiltering()!
11-16 10:44:45.598 17316 17389 W Filter : java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String de.hampager.dap4j.models.News.getOwnerName()' on a null object reference
11-16 10:44:45.598 17316 17389 W Filter : at de.hampager.dapnetmobile.filters.RubricContentFilter.performFiltering(RubricContentFilter.java:32)
11-16 10:44:45.598 17316 17389 W Filter : at android.widget.Filter$RequestHandler.handleMessage(Filter.java:234)
11-16 10:44:45.598 17316 17389 W Filter : at android.os.Handler.dispatchMessage(Handler.java:102)
11-16 10:44:45.598 17316 17389 W Filter : at android.os.Looper.loop(Looper.java:154)
11-16 10:44:45.598 17316 17389 W Filter : at android.os.HandlerThread.run(HandlerThread.java:61)
11-16 10:44:45.630 17316 17316 D AndroidRuntime: Shutting down VM
11-16 10:44:45.634 17316 17316 E AndroidRuntime: FATAL EXCEPTION: main
11-16 10:44:45.634 17316 17316 E AndroidRuntime: Process: de.hampager.dapnetmobile, PID: 17316
11-16 10:44:45.634 17316 17316 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
11-16 10:44:45.634 17316 17316 E AndroidRuntime: at de.hampager.dapnetmobile.adapters.RubricContentAdapter.getItemCount(RubricContentAdapter.java:57)

photo6014719124292349282

@IHFSchwarz
Copy link
Collaborator

Danke für den report, werde es mir nächste Woche anschauen!

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

2 participants