cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12471) Special character cause app crash
Date Fri, 17 Feb 2017 12:03:41 GMT

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

Tom Wang updated CB-12471:
--------------------------
    Description: My IOS application using cordova location plugin  cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).
 If  disabled WIFI  and  device in build  cause  app can not get any location data then locationManger
reports 'The operation couldn’t be completed. (kCLErrorDomain error 0.)',     the location
plugin   call cordova method   [self.commandDelegate sendPluginResult:result callbackId:callbackId];
 returns the error message.  then app get crashed  with  "libc++abi.dylib: terminating with
uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid"  
in console,  there is not stack trace.  So seems  cordova framework current can not handling
  special character  ' couldn’t ' .   (was: My IOS application using cordova location plugin
 cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).  If  disabled
WIFI  and  device in build  cause  app can not get any location data then locationManger reports
'The operation couldn’t be completed. (kCLErrorDomain error 0.)',    then  the location
plugin   call cordova method   [self.commandDelegate sendPluginResult:result callbackId:callbackId];
 returns the error message.  So seems  cordova framework current can not handling   special
character  ' couldn’t ' . )

> Special character cause  app crash
> ----------------------------------
>
>                 Key: CB-12471
>                 URL: https://issues.apache.org/jira/browse/CB-12471
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: cordova-ios@4.3.1
>         Environment: iPad mini4,  OS  version 10.2.1
>            Reporter: Tom Wang
>            Priority: Critical
>              Labels: newbie
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> My IOS application using cordova location plugin  cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).
 If  disabled WIFI  and  device in build  cause  app can not get any location data then locationManger
reports 'The operation couldn’t be completed. (kCLErrorDomain error 0.)',     the location
plugin   call cordova method   [self.commandDelegate sendPluginResult:result callbackId:callbackId];
 returns the error message.  then app get crashed  with  "libc++abi.dylib: terminating with
uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid"  
in console,  there is not stack trace.  So seems  cordova framework current can not handling
  special character  ' couldn’t ' . 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message