{"action":"created","issue":{"url":"https://api.github.com/repos/neeedo/neeedo-android/issues/70","labels_url":"https://api.github.com/repos/neeedo/neeedo-android/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/neeedo/neeedo-android/issues/70/comments","events_url":"https://api.github.com/repos/neeedo/neeedo-android/issues/70/events","html_url":"https://github.com/neeedo/neeedo-android/issues/70","id":97272429,"number":70,"title":"App crashes if I get back to demand swiper view from edit view","user":{"login":"TIIUNDER","id":1225378,"avatar_url":"https://avatars.githubusercontent.com/u/1225378?v=3","gravatar_id":"","url":"https://api.github.com/users/TIIUNDER","html_url":"https://github.com/TIIUNDER","followers_url":"https://api.github.com/users/TIIUNDER/followers","following_url":"https://api.github.com/users/TIIUNDER/following{/other_user}","gists_url":"https://api.github.com/users/TIIUNDER/gists{/gist_id}","starred_url":"https://api.github.com/users/TIIUNDER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIIUNDER/subscriptions","organizations_url":"https://api.github.com/users/TIIUNDER/orgs","repos_url":"https://api.github.com/users/TIIUNDER/repos","events_url":"https://api.github.com/users/TIIUNDER/events{/privacy}","received_events_url":"https://api.github.com/users/TIIUNDER/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neeedo/neeedo-android/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"GammaG","id":2648086,"avatar_url":"https://avatars.githubusercontent.com/u/2648086?v=3","gravatar_id":"","url":"https://api.github.com/users/GammaG","html_url":"https://github.com/GammaG","followers_url":"https://api.github.com/users/GammaG/followers","following_url":"https://api.github.com/users/GammaG/following{/other_user}","gists_url":"https://api.github.com/users/GammaG/gists{/gist_id}","starred_url":"https://api.github.com/users/GammaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GammaG/subscriptions","organizations_url":"https://api.github.com/users/GammaG/orgs","repos_url":"https://api.github.com/users/GammaG/repos","events_url":"https://api.github.com/users/GammaG/events{/privacy}","received_events_url":"https://api.github.com/users/GammaG/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-26T01:19:24Z","updated_at":"2015-07-27T13:28:56Z","closed_at":"2015-07-27T13:28:56Z","body":"Please check this screencast to reproduce the issue: https://dl.dropboxusercontent.com/u/17564871/android_demand_swiper_crash.mp4\r\n\r\n```07-26 03:17:01.899    3099-3099/neeedo.imimaprx.htw.de.neeedo E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    Process: neeedo.imimaprx.htw.de.neeedo, PID: 3099\r\n    java.lang.RuntimeException: Could not dispatch event: class neeedo.imimaprx.htw.de.neeedo.events.FoundMatchesEvent to handler [EventHandler public void neeedo.imimaprx.htw.de.neeedo.fragments.SingleDemandFragmentSwiper.handleFoundMatchesEvent(neeedo.imimaprx.htw.de.neeedo.events.FoundMatchesEvent)]: Attempt to invoke virtual method 'java.util.ArrayList neeedo.imimaprx.htw.de.neeedo.entities.demand.Demand.getMatchingOfferList()' on a null object reference\r\n            at com.squareup.otto.Bus.throwRuntimeException(Bus.java:458)\r\n            at com.squareup.otto.Bus.dispatch(Bus.java:388)\r\n            at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:369)\r\n            at com.squareup.otto.Bus.post(Bus.java:338)\r\n            at neeedo.imimaprx.htw.de.neeedo.service.EventService.post(EventService.java:21)\r\n            at neeedo.imimaprx.htw.de.neeedo.rest.matching.GetOffersToDemandAsyncTask.onPostExecute(GetOffersToDemandAsyncTask.java:67)\r\n            at android.os.AsyncTask.finish(AsyncTask.java:636)\r\n            at android.os.AsyncTask.access$500(AsyncTask.java:177)\r\n            at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5257)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.ArrayList neeedo.imimaprx.htw.de.neeedo.entities.demand.Demand.getMatchingOfferList()' on a null object reference\r\n            at neeedo.imimaprx.htw.de.neeedo.models.DemandsModel.getOfferlistToDemandById(DemandsModel.java:55)\r\n            at neeedo.imimaprx.htw.de.neeedo.fragments.SingleDemandFragmentSwiper.handleFoundMatchesEvent(SingleDemandFragmentSwiper.java:79)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)\r\n            at com.squareup.otto.Bus.dispatch(Bus.java:386)\r\n            at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:369)\r\n            at com.squareup.otto.Bus.post(Bus.java:338)\r\n            at neeedo.imimaprx.htw.de.neeedo.service.EventService.post(EventService.java:21)\r\n            at neeedo.imimaprx.htw.de.neeedo.rest.matching.GetOffersToDemandAsyncTask.onPostExecute(GetOffersToDemandAsyncTask.java:67)\r\n            at android.os.AsyncTask.finish(AsyncTask.java:636)\r\n            at android.os.AsyncTask.access$500(AsyncTask.java:177)\r\n            at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5257)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)```"},"comment":{"url":"https://api.github.com/repos/neeedo/neeedo-android/issues/comments/125204927","html_url":"https://github.com/neeedo/neeedo-android/issues/70#issuecomment-125204927","issue_url":"https://api.github.com/repos/neeedo/neeedo-android/issues/70","id":125204927,"user":{"login":"GammaG","id":2648086,"avatar_url":"https://avatars.githubusercontent.com/u/2648086?v=3","gravatar_id":"","url":"https://api.github.com/users/GammaG","html_url":"https://github.com/GammaG","followers_url":"https://api.github.com/users/GammaG/followers","following_url":"https://api.github.com/users/GammaG/following{/other_user}","gists_url":"https://api.github.com/users/GammaG/gists{/gist_id}","starred_url":"https://api.github.com/users/GammaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GammaG/subscriptions","organizations_url":"https://api.github.com/users/GammaG/orgs","repos_url":"https://api.github.com/users/GammaG/repos","events_url":"https://api.github.com/users/GammaG/events{/privacy}","received_events_url":"https://api.github.com/users/GammaG/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T13:28:56Z","updated_at":"2015-07-27T13:28:56Z","body":"fixed "}}