1. #1
    Sencha User
    Join Date
    Dec 2010
    Vote Rating
    Bouki is on a distinguished road


    Default Error: Adobe AIR runtime security violation with Ext.tree.TreePanel

    Error: Adobe AIR runtime security violation with Ext.tree.TreePanel

    I am encountering an issue with treepanel on air
    My code is working as expected in a web browser, however in air this doesn't work
    I have this error :

    [app:/application.html#]Error: Adobe AIR runtime security violation for JavaScript code in the application security sandbox (eval)

    When looking at the line specified (4233), I found this :

            doDecode = function(json){
                return eval("(" + json + ")");    
    Is it normal ? If yes is there a way to correct that ?

    I thought extjs was free of eval() but I've found some in ext-all-debug (using version 3.3.1)


  2. #2
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Dresden, Germany
    Vote Rating
    makana has a spectacular aura about makana has a spectacular aura about



    It's the Ext.util.JSON.decode method. Usually there are no issues with JSON encoding/decoding, even if it is done by an eval call.

    Please check your JSON for a correct syntax (or post it, if you are not sure). If nothing changed, try to set Ext.USE_NATIVE_JSON to true.

    Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

Similar Threads

  1. Replies: 1
    Last Post: 23 Dec 2010, 10:54 AM
  2. Replies: 7
    Last Post: 30 Dec 2009, 6:19 PM
  3. AIR runtime security violation with sandbox issu!! plz help me.
    By Erica in forum Ext.air for Adobe AIR
    Replies: 8
    Last Post: 20 Feb 2009, 3:23 PM

Thread Participants: 1

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..." hd porno faketaxi