Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件不存在时。路由中转启动时,通过RePlugin.createIntent()创建intent失败时未过滤 #4

Open
orange7 opened this issue Mar 5, 2018 · 1 comment

Comments

@orange7
Copy link

orange7 commented Mar 5, 2018

Process: com.sf.park, PID: 13304
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Intent.putExtra(java.lang.String, android.os.Parcelable)' on a null object reference
at com.lzh.router.replugin.core.RouterBridgeActivity.start(RouterBridgeActivity.java:55)
at com.lzh.router.replugin.core.RePluginRouteCallback$StartBridgeTask.run(RePluginRouteCallback.java:153)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

插件不存在,跳转就崩溃,这样是不是有点不友好

@yjfnypeu
Copy link
Owner

yjfnypeu commented Mar 19, 2018

新发布了0.8.0版本。修复了此问题。

yjfnypeu added a commit that referenced this issue Mar 21, 2018
Upgrade version with Router & UpdatePlugin
Fix bug for issues #4
@yjfnypeu yjfnypeu changed the title java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Intent.putExtra(java.lang.String, android.os.Parcelable)' on a null object reference 插件不存在时。路由中转启动时,通过RePlugin.createIntent()创建intent失败时未过滤 Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants