cgeo/c-geo-opensource — Issue #931: NPE on unwatching a cache
Author: Bananeweizen
Created: 2012-01-02 08:55:11+00:00
State: open

unwatching a cache led to

01-02 09:51:33.318: W/cgeo(3953): 500 [Internal Server Error] (1643 ms) POST http://www.geocaching.com/my/watchlist.aspx?ds=1&action=rem&id=2446682
01-02 09:51:33.318: W/dalvikvm(3953): threadid=11: thread exiting with uncaught exception (group=0x409c01f8)
01-02 09:51:33.418: E/AndroidRuntime(3953): FATAL EXCEPTION: Thread-109
01-02 09:51:33.418: E/AndroidRuntime(3953): java.lang.NullPointerException
01-02 09:51:33.418: E/AndroidRuntime(3953):	at java.util.regex.Matcher.reset(Matcher.java:181)
01-02 09:51:33.418: E/AndroidRuntime(3953):	at java.util.regex.Matcher.(Matcher.java:94)
01-02 09:51:33.418: E/AndroidRuntime(3953):	at java.util.regex.Pattern.matcher(Pattern.java:290)
01-02 09:51:33.418: E/AndroidRuntime(3953):	at cgeo.geocaching.cgCache.isGuidContainedInPage(cgCache.java:267)
01-02 09:51:33.418: E/AndroidRuntime(3953):	at cgeo.geocaching.cgBase.removeFromWatchlist(cgBase.java:2258)
01-02 09:51:33.418: E/AndroidRuntime(3953):	at cgeo.geocaching.CacheDetailActivity$DetailsViewCreator$WatchlistRemoveThread.run(CacheDetailActivity.java:1755)