收藏
回答

WXEntryActivity.java已经包起来了还是BUG报错?

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference

at android.content.ComponentName.<init>(ComponentName.java:128)

at android.content.Intent.<init>(Intent.java:4495)

at net.rjkfw.ddb.wxapi.WXEntryActivity$MyHandler.handleMessage(WXEntryActivity.java:59)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5563)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签