You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "xx (JIRA)" <ji...@apache.org> on 2015/02/20 17:06:11 UTC

[jira] [Created] (CB-8519) exception and crash when instantiatePlugin() fails

xx created CB-8519:
----------------------

             Summary: 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
            Priority: Critical


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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org