[
https://issues.apache.org/jira/browse/CB-8519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376884#comment-14376884
]
Joe Bowser commented on CB-8519:
--------------------------------
Can you provide steps to reproduce this issue? It's very unlikely that
instantiatePlugin would ever return null. The only way this could happen is if
the plugin itself wasn't installed.
> exception and crash when instantiatePlugin() fails
> --------------------------------------------------
>
> Key: CB-8519
> URL: https://issues.apache.org/jira/browse/CB-8519
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: xx
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> public CordovaPlugin getPlugin(String service) in PluginManager.java does not
> check for return value of instantiatePlugin call.
> Proposed fix:
> if (ret == null)
> return null;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]