java.lang.RuntimeException:Unable to start activity ComponentInfo{com.hundsun.stockwinner.hczq/com.hundsun.winner.application.hsactivity.splash.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'retrofit2.Converter retrofit2.Converter$Factory.stringConverter(java.lang.reflect.Type, java.lang.annotation.Annotation[], retrofit2.Retrofit)' on a null object reference
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.hundsun.stockwinner.hczq/com.hundsun.winner.application.hsactivity.splash.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'retrofit2.Converter retrofit2.Converter$Factory.stringConverter(java.lang.reflect.Type, java.lang.annotation.Annotation[], retrofit2.Retrofit)' on a null object reference
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303) ...... java.lang.NullPointerException:Attempt to invoke virtual method 'retrofit2.Converter retrofit2.Converter$Factory.stringConverter(java.lang.reflect.Type, java.lang.annotation.Annotation[], retrofit2.Retrofit)' on a null object reference retrofit2.Retrofit.stringConverter(Unknown Source:30) retrofit2.ServiceMethod$Builder.parseParameterAnnotation(Unknown Source:326) retrofit2.ServiceMethod$Builder.parseParameter(Unknown Source:8) retrofit2.ServiceMethod$Builder.retrofit2.ServiceMethod build()(Unknown Source:188) retrofit2.Retrofit.loadServiceMethod(Unknown Source:29) retrofit2.Retrofit$1.invoke(Unknown Source:32) java.lang.reflect.Proxy.invoke(Proxy.java:913) $Proxy10.a(Unknown Source) com.hundsun.winner.application.hsactivity.splash.AdvertisementHandle.a(Unknown Source:30) com.hundsun.winner.application.hsactivity.splash.SplashActivity.void gotoHomeView()(Native Method) com.hundsun.winner.application.hsactivity.splash.SplashActivity.showAdvertisement(Unknown Source:189) com.hundsun.winner.application.hsactivity.splash.SplashActivity.void initAdInfo()(Unknown Source:0) com.hundsun.winner.application.hsactivity.splash.SplashActivity.access$000(Unknown Source:0) com.hundsun.winner.application.hsactivity.splash.SplashActivity$1.a(Unknown Source:18) com.rxhui_hczq.base.BaseHsUPushActivity.void onEasyPermissionGranted(int)(Native Method)
Related code