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

[jira] [Commented] (CB-9879) getCookies can cause unhandled NullPointerException

    [ https://issues.apache.org/jira/browse/CB-9879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006837#comment-15006837 ] 

ASF subversion and git services commented on CB-9879:
-----------------------------------------------------

Commit cdeec1c59fd8fcfa9159ad733081ac93ec060f5a in cordova-plugin-file-transfer's branch refs/heads/master from [~jeroenverhoest]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=cdeec1c ]

CB-9879 getCookies can cause unhandled NullPointerException

Added extra check for CookieManager instance (null pointer on Crosswalk/Android < 4.4)

github: close #107


> getCookies can cause unhandled NullPointerException
> ---------------------------------------------------
>
>                 Key: CB-9879
>                 URL: https://issues.apache.org/jira/browse/CB-9879
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 4.1.1
>         Environment: Android, CrossWalk
>            Reporter: Jeroen Verhoest
>            Priority: Critical
>
> Uploading a file using the file-transfer plugin can cause a NullPointerException which can crash the app when the getCookies method is called on a CrossWalk webview.
> Solution:
> https://github.com/jeroenv/cordova-plugin-file-transfer/commit/34ef3e5dbc913b09a03c802267eefaa6640f505f



--
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