You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tha Leang (JIRA)" <ji...@apache.org> on 2014/06/26 11:47:24 UTC

[jira] [Updated] (CB-7030) App crashes when internet is not present

     [ https://issues.apache.org/jira/browse/CB-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tha Leang updated CB-7030:
--------------------------

    Description: 
App crashes when wi-fi is switched off. Then this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, argsJson);

  was:
App crashes when wi-fi is switched off and this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, argsJson);


> App crashes when internet is not present
> ----------------------------------------
>
>                 Key: CB-7030
>                 URL: https://issues.apache.org/jira/browse/CB-7030
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.5.0
>            Reporter: Tha Leang
>
> App crashes when wi-fi is switched off. Then this message is displayed:
> Unfortunately [appname] has stopped.
> I tried tracing the problem, and from the method:
> exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);
> it crashes while executing this line:
> var messages = nativeApiProvider.get().exec(service, action, callbackId, argsJson);



--
This message was sent by Atlassian JIRA
(v6.2#6252)