1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    2
    Vote Rating
    0
    ChrisLad is on a distinguished road

      0  

    Default Map example JVM Error 104 Uncaught: NullPointerException

    Map example JVM Error 104 Uncaught: NullPointerException


    Hi,
    I am not sure if this is the right place to post but maybe someone can help...

    I used PhoneGap to package the Map example that comes in the Sencha SDK. The only changes I made was to add and change a few of the javascript and css locations as below:

    HTML Code:
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" id="viewport" content="initial-scale=1.0,user-scalable=no">
        <script src="javascript/json2.js" type="text/javascript"></script>
        <script src="javascript/phonegap.0.9.5.1.min.js" type="text/javascript"></script>
          <link rel="stylesheet" href="sencha-touch.css" type="text/css">
        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
        <script type="text/javascript" src="sencha-touch.js"></script>
        <script type="text/javascript" src="plugins/GmapTracker.js"></script>
        <script type="text/javascript" src="plugins/GmapTraffic.js"></script>
        <script type="text/javascript" src="index.js"></script>
        <title>Map Test</title>
      </head>
    When I load it in the BlackBerry simulator all seems ok except after a couple of seconds the google map causes a : JVM Error 104 Uncaught: NullPointerException


    Has anyone got any ideas what might cause this??
    Thanks!

  2. #2
    Sencha User Hanni Sullivan's Avatar
    Join Date
    May 2011
    Location
    Constance, Germany
    Posts
    84
    Vote Rating
    4
    Hanni Sullivan is on a distinguished road

      0  

    Default


    I'm stuck with the same problem. It seems to be caused by PhoneGap itself and not by SenchaTouch or Google Maps. The Sencha Touch Maps example can be opened with the browser of the BlackBerry 9800 Simulator without any problems.

    I'm currently trying to figure out where exactly the NullPointerException is happening but right now this proves to be quite difficult. Debugging a BlackBerry PhoneGap is as difficult and maddening as invoking an elder being.
    Last edited by Hanni Sullivan; 15 Jun 2011 at 4:57 AM. Reason: Mispelled BlackBerry

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    19
    Vote Rating
    0
    sterin is on a distinguished road

      0  

    Default


    same problem too

  4. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
    gdsimz is on a distinguished road

      0  

    Default Same problem here!

    Same problem here!


    I get this error when loading a google map and markers are put in the map during compile time. It seems to be always happening after a few seconds after the page opens in called browser. I've rewrote for different versions of phonegap (1.6, 1.8, 2.0,2.2) and same result for blackberry situation. External browser doesn't crash so it is something about phonegap for blackberry.http://www.sencha.com/forum/images/smilies/17.gif Anyone found a way around this? everything is running as expected for Andriod and iOS with same html page.Any workarounds appreciated!

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."