Open njittam opened 7 years ago
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference android.app.Notification$Builder. (Notification.java:2056) android.support.v4.app.NotificationCompatApi21$Builder. (NotificationCompatApi21.java:77) android.support.v4.app.NotificationCompat$NotificationCompatImplApi21.build (NotificationCompat.java:826) android.support.v4.app.NotificationCompat$Builder.build (NotificationCompat.java:1752) nl.rsdt.japp.application.fragments.HomeFragment.showNotification (HomeFragment.java:180) nl.rsdt.japp.application.fragments.HomeFragment.onResponse (HomeFragment.java:82) retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run (ExecutorCallAdapterFactory.java:68) android.os.Handler.handleCallback (Handler.java:815) android.os.Handler.dispatchMessage (Handler.java:104) android.os.Looper.loop (Looper.java:214) android.app.ActivityThread.main (ActivityThread.java:6102) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1028) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:823)
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference android.app.Notification$Builder. (Notification.java:2056)
android.support.v4.app.NotificationCompatApi21$Builder. (NotificationCompatApi21.java:77)
android.support.v4.app.NotificationCompat$NotificationCompatImplApi21.build (NotificationCompat.java:826)
android.support.v4.app.NotificationCompat$Builder.build (NotificationCompat.java:1752)
nl.rsdt.japp.application.fragments.HomeFragment.showNotification (HomeFragment.java:180)
nl.rsdt.japp.application.fragments.HomeFragment.onResponse (HomeFragment.java:82)
retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run (ExecutorCallAdapterFactory.java:68)
android.os.Handler.handleCallback (Handler.java:815)
android.os.Handler.dispatchMessage (Handler.java:104)
android.os.Looper.loop (Looper.java:214)
android.app.ActivityThread.main (ActivityThread.java:6102)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1028)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:823)