如题,怀疑是缺少jar包引起,但使用了全jar包测试,也是同样的错误,求解,谢谢!
引用jar情况:
错误信息如下:
08-10 16:32:59.992: W/System.err(27005): java.lang.reflect.InvocationTargetException
08-10 16:32:59.992: W/System.err(27005): at java.lang.reflect.Method.invokeNative(Native Method)
08-10 16:32:59.992: W/System.err(27005): at java.lang.reflect.Method.invoke(Method.java:525)
08-10 16:32:59.992: W/System.err(27005): at io.dcloud.common.DHInterface.StandardFeature.executeAction(StandardFeature.java:74)
08-10 16:32:59.999: W/System.err(27005): at io.dcloud.common.DHInterface.StandardFeature.execute(StandardFeature.java:66)
08-10 16:32:59.999: W/System.err(27005): at io.dcloud.feature.b.a(FeatureMgr.java:299)
08-10 16:32:59.999: W/System.err(27005): at io.dcloud.feature.b.processEvent(FeatureMgr.java:132)
08-10 16:32:59.999: W/System.err(27005): at io.dcloud.common.b.a.dispatchEvent(Core.java:391)
08-10 16:32:59.999: W/System.err(27005): at io.dcloud.common.b.b.i.processEvent(WindowMgr.java:117)
08-10 16:33:00.007: W/System.err(27005): at io.dcloud.common.b.b.g.exec(DHWebview.java:166)
08-10 16:33:00.007: W/System.err(27005): at io.dcloud.common.util.Birdge.exec(Birdge.java:25)
08-10 16:33:00.007: W/System.err(27005): at io.dcloud.common.adapter.ui.AdaWebview$3.execute(AdaWebview.java:586)
08-10 16:33:00.007: W/System.err(27005): at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(MessageHandler.java:23)
08-10 16:33:00.007: W/System.err(27005): at android.os.Handler.dispatchMessage(Handler.java:99)
08-10 16:33:00.007: W/System.err(27005): at android.os.Looper.loop(Looper.java:137)
08-10 16:33:00.007: W/System.err(27005): at android.app.ActivityThread.main(ActivityThread.java:5103)
08-10 16:33:00.007: W/System.err(27005): at java.lang.reflect.Method.invokeNative(Native Method)
08-10 16:33:00.007: W/System.err(27005): at java.lang.reflect.Method.invoke(Method.java:525)
08-10 16:33:00.007: W/System.err(27005): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
08-10 16:33:00.007: W/System.err(27005): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-10 16:33:00.015: W/System.err(27005): at dalvik.system.NativeStart.main(Native Method)
08-10 16:33:00.015: W/System.err(27005): Caused by: java.lang.NullPointerException
08-10 16:33:00.015: W/System.err(27005): at java.lang.String.<init>(String.java:141)
08-10 16:33:00.015: W/System.err(27005): at io.dcloud.feature.oauth.BaseOAuthService.getUserInfo(BaseOAuthService.java:135)
08-10 16:33:00.015: W/System.err(27005): at io.dcloud.feature.oauth.weixin.WeiXinOAuthService.a(WeiXinOAuthService.java:298)
08-10 16:33:00.015: W/System.err(27005): at io.dcloud.feature.oauth.weixin.WeiXinOAuthService.getUserInfo(WeiXinOAuthService.java:276)
08-10 16:33:00.015: W/System.err(27005): at io.dcloud.feature.oauth.OAuthFeatureImpl.getUserInfo(OAuthFeatureImpl.java:53)
08-10 16:33:00.015: W/System.err(27005): ... 20 more