2***@qq.com
hbuilder&&安卓Android原生交互 采用独立应用集成方式
android activity 跳转到html5 页面出现的问题,一直报这样一堆错误,不知道怎样解决,
06-07 16:09:56.861: W/System.err(16015): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
06-07 16:09:56.891: W/System.err(16015): at com.dcloud.android.widget.AbsoluteLayout.toString(AbsoluteLayout.java:79)
06-07 16:09:56.891: W/System.err(16015): at android.view.HwNsdImpl.checkAdBlock(HwNsdImpl.java:767)
06-07 16:09:56.891: W/System.err(16015): at android.view.View.skipInvalidate(View.java:12704)
06-07 16:09:56.891: W/System.err(16015): at android.view.View.invalidateInternal(View.java:12791)
06-07 16:09:56.891: W/System.err(16015): at android.view.View.invalidate(View.java:12781)
06-07 16:09:56.891: W/System.err(16015): at android.view.View.setFlags(View.java:10768)
06-07 16:09:56.891: W/System.err(16015): at android.view.ViewGroup.initViewGroup(ViewGroup.java:585)
06-07 16:09:56.891: W/System.err(16015): at android.view.ViewGroup.<init>(ViewGroup.java:574)
06-07 16:09:56.891: W/System.err(16015): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
06-07 16:09:56.891: W/System.err(16015): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:51)
06-07 16:09:56.891: W/System.err(16015): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:47)
06-07 16:09:56.891: W/System.err(16015): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:43)
06-07 16:09:56.891: W/System.err(16015): at com.dcloud.android.widget.SlideLayout.<init>(SlideLayout.java:67)
06-07 16:09:56.891: W/System.err(16015): at com.dcloud.android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:19)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.d.initMainView(DHFrameView.java:106)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.adapter.ui.AdaFrameView.<init>(AdaFrameView.java:69)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.d.<init>(DHFrameView.java:85)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.k.a(WindowMgr.java:1148)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.k.processEvent(WindowMgr.java:314)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.k.b(WindowMgr.java:936)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.b.k.processEvent(WindowMgr.java:245)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.b.a.dispatchEvent(Core.java:487)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.a.a.processEvent(AppMgr.java:125)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.a.d.a(WebApp.java:1319)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.a.d.b(WebApp.java:1291)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.a.a$3.onCallBack(AppMgr.java:612)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.a.d$5$1.execute(WebApp.java:1271)
06-07 16:09:56.891: W/System.err(16015): at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(MessageHandler.java:23)
06-07 16:09:56.891: W/System.err(16015): at android.os.Handler.dispatchMessage(Handler.java:102)
06-07 16:09:56.891: W/System.err(16015): at android.os.Looper.loop(Looper.java:150)
06-07 16:09:56.891: W/System.err(16015): at android.app.ActivityThread.main(ActivityThread.java:5621)
06-07 16:09:56.891: W/System.err(16015): at java.lang.reflect.Method.invoke(Native Method)
06-07 16:09:56.891: W/System.err(16015): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
06-07 16:09:56.891: W/System.err(16015): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
06-07 16:10:13.751: W/System.err(16015): java.net.SocketException: Socket closed
06-07 16:10:13.771: W/System.err(16015): at libcore.io.Posix.accept(Native Method)
06-07 16:10:13.771: W/System.err(16015): at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:63)
06-07 16:10:13.771: W/System.err(16015): at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:89)
06-07 16:10:13.771: W/System.err(16015): at java.net.ServerSocket.implAccept(ServerSocket.java:229)
06-07 16:10:13.771: W/System.err(16015): at java.net.ServerSocket.accept(ServerSocket.java:147)
06-07 16:10:13.771: W/System.err(16015): at io.dcloud.common.util.net.http.LocalServer.run(LocalServer.java:58)
06-07 16:10:13.771: W/System.err(16015): at java.lang.Thread.run(Thread.java:833)
2017-06-29 18:35