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

cgeo crashes when refreshing certain caches #6092

Closed
alex7654 opened this issue Nov 6, 2016 · 1 comment
Closed

cgeo crashes when refreshing certain caches #6092

alex7654 opened this issue Nov 6, 2016 · 1 comment

Comments

@alex7654
Copy link

alex7654 commented Nov 6, 2016

Detailed steps causing the problem:
  • Save either GC2MCW3 or GC90D6 to an empty list
  • select "Refresh all" caches in this list
  • cgeo crashes
Actual behavior after performing these steps:

cgeo crashes

Expected behavior after performing these steps:

the caches should get refreshed

Version of c:geo used:

2016.11.06-NB-cc2aae8

Is the problem reproducible for you?

Yes, crashes occur every time I try to refresh one of the both caches listed above

System information:
Android 4.4.2
tried on N7100 (Galaxy Note II) and Galaxy Tab 10.1 2014 edition
Other comments and remarks:

Refreshing both caches works well using release 2016.11.05

@pstorch
Copy link
Contributor

pstorch commented Nov 6, 2016

Can reproduce, got the following error in the logs:

E/AndroidRuntime: FATAL EXCEPTION: RxComputationThreadPool-4
                  Process: cgeo.geocaching, PID: 3076
                  java.lang.NullPointerException: onNext called with null. Null values are generally not allowed in 2.x operators and sources.
                      at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onNext(ObservableCreate.java:63)
                      at cgeo.geocaching.network.HtmlImage$3$2.run(HtmlImage.java:235)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                      at java.lang.Thread.run(Thread.java:818)
E/AbstractTracker: Can't create handler inside thread that has not called Looper.prepare()

pstorch added a commit to pstorch/cgeo that referenced this issue Nov 6, 2016
Looks like `onNext(bitmap)` was called with a null `bitmap`, which is not allowed.
pstorch added a commit to pstorch/cgeo that referenced this issue Nov 6, 2016
Looks like `onNext(bitmap)` was called with a null `bitmap`, which is not allowed.
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