CS6 Error with JSON

Updated one of my projects to CS6 and now get error...
Line 188 1061: Call to a possibly undefined method decode through a reference with static type Class.
CODE:
import com.adobe.serialization.json.JSON;
if ("" != scormSuspendString) scormSuspend = JSON.decode(scormSuspendString);
This also occurs with the JSON.encode.
Becuase of differences in CS6 and CS5.5, could this be another problem?
THANKS

kglad,
I totally missed your first line of code refering to parse/stringify. I've sense revised my coding to use these two functions. Works just as well without including the long class naming in front of JSON.
NOTE: Coding is in reference to SCORM
REVISED CODE:
OBJECT
public var scormSuspend:Object = {completeArray: new Array(), lessonFrame: new Array(), completed: false, resume: false};
public var scormSuspendString:String = "";
DECODING JSON
scormSuspendString = scorm.get("cmi.suspend_data") as String;
if ("" != scormSuspendString) scormSuspend = JSON.parse(scormSuspendString);
ENCODING JSON
scormSuspendString = JSON.stringify(scormSuspend);
THANKS AGAIN

Similar Messages

  • Syntax Error with JSON.Parse method to parse SharePoint List Items

    Hi All,
    I want to get SharePoint List data and bind that retrived data to the JQuery Grid Control.
    For this I used SPServices to get the SharePoint List data in SOAP Envelope. Now I need to parse the soap envelope and store the retrieved items in array to pass it to the Grid Control.
    While using the JSON.Parse(resporseText) method, Iam consistenly getting an Syntax Error!
    Could anyone help me with this ?
    Please find the SOAP Envelope I received from SP List as below:
    "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
    <rs:data ItemCount="2">
    <z:row ows_OBNumber='112211.000000000' ows_Project_x0020_Name='Project 1' ows_MetaInfo='11;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 1' ows_ID='11' ows_UniqueId='11;#{FBBCBCF9-666D-42F9-92D7-67188C51BC9B}' ows_owshiddenversion='1' ows_FSObjType='11;#0' ows_Created='2015-01-12 10:25:06' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:25:06' ows_FileRef='11;#sites/Lists/Projects/11_.000' />
    <z:row ows_OBNumber='1122343.00000000' ows_Project_x0020_Name='Project 2 ' ows_MetaInfo='12;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 2' ows_ID='12' ows_UniqueId='12;#{0D772B76-68E4-4769-B6FF-6A269F9C7ABD}' ows_owshiddenversion='1' ows_FSObjType='12;#0' ows_Created='2015-01-12 10:33:48' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:33:48' ows_FileRef='12;#sites/Lists/Projects/12_.000' />
    </rs:data>
    </listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>"
    Any help on this will be greatly appreciated.
    Thanks In Advance.!

    Hi,
    According to your description, there is an issue when parsing result from the data retrieved using SPServices.
    By default, SPServices returns data as XML format, however, the JSON.parse() method “Throws a SyntaxError exception if the string to parse is not valid JSON”:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
    To extract the data needed from the response, you can either take the demo below for as a reference:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Or use the jQuery.parseXML() function:
    http://api.jquery.com/jquery.parsexml/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Indesign CS6 errors with Windows 7

    Windows 7 Professional - 32 Bit
    Service Pack 1
    12 GB RAM, 3.49GB usable.
    Is anyone having issues saving as a .pdf file? When we try to do a save or save as, we often get file is already open, when it really isnt open at least on the task manager. We have to simply do a save as new name for it to save at all. Then of course it becomes annoying as now we have 12 versions that have to be saved in a day, delete the 11 once we are done for the day.
    We are also getting lots of freezes and delays when in the Indesign files. This could be old files or new files or even files that were saved as IDML and started over in case of bloating.
    We went into preferences and tried better performance under Interface and display performances, but still suffer from delays.
    We are showing that all our Adobe Products are up to date based on the update manager.
    Thanks everyone.

    Thanks Roberto. We are definitely working on getting a new OS version. Budget...
    Also, I am sorry to have not included this detail as it just came to me. The issue happens as I perform the following task.
    Cntrl + E = Export
    I select the location to export and I select the file if I want to overwrite it, otherwise click the Save Button.
    Dialog box "Confirm Save As" appears if it is an overwrite.
    Here is where I get the problem. Adobe Indesign Dialog Box "Cannot save to the file 'file name.pdf', because the file is already open." So, it actually happens before the Export Adobe PDF dialog appears for me to uncheck the view pdf option after export.
    Now, turning off the preview pane seems to have fixed it. I did not have the file selected in windows explorer. I actually opened three older files that had the save as issues and now they seem to overwrite the files just fine.
    Thank you again to everyone. I appreciate your help in this. I will check with my other graphic designer to see if they are having issues as well.

  • How to solve the problem when opening program illustrator cs6 ERROR: 16 It is WINDOWS 8.1 / 64 BIT help please

    how to solve the problem when opening program illustrator cs6
    ERROR: 16
    It is WINDOWS 8.1 / 64 BIT
    help please

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • CS6 Error message after download

    PS CS6 Error message after Download
    HP Pavilion dv7 Notebook PC
    Intel Core i7-2670QM CPU @2.20 GHz
    64 Bit OS
    Win 7 Home Premium SP1
    Question:  Should I open to use this, or erase and download again?  Wanted you to know as this is in Beta.
    Steps I followed:
    Found the download and installed
    I went through all steps directed by the download wizard, at the end of the
    process I received this message:
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ...
    -------------------------------------- Summary ------------------------------
    - 0 fatal error(s), 5 error(s), 0 warning(s)
    ----------- Payload: {08D2E121-7F6A-43EB-97FD-629B44903403} Microsoft_VC90_CRT_x86 1.0.0.0 -----------
    ERROR: Error 1935.An error occurred during the installation of assembly component {43CC1B37-B20C-3EBC-9C04-F809989E4FD3}. HRESULT: 0x80070091.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1935.An error occurred during the installation of assembly component {43CC1B37-B20C-3EBC-9C04-F809989E4FD3}. HRESULT: 0x80070091.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Microsoft_VC90_CRT_x86: Install failed
    ERROR: DW050:  - Adobe Mini Bridge CS6: Install failed
    ERROR: DW050:  - Adobe SwitchBoard 2.0: Install failed

    Hi,
    This seems a third party issue.
    Please follow the instructions in the kb article at: kb2.adobe.com/cps/403/kb403969.html
    Regards,
    Ashutosh

  • CS6 crashing with certain image files

    With some files, when I begin to manipulate the image (resize, color/hue changes, etc) the program crashes and closes with the following... which means nothing to me.  I have had snd used the program for years. I use Win XP SP3
    adobe photoshop cs6 error signature AppName: photoshop.exe     AppVer: 13.0.1.34     ModName: msvcr100.dll ModVer: 10.0.40219.1     Offset: 0008d6fd
    Can anyone help? Thanks

    The machine is several years old but I have had no problem with other programs.  It is an embedded  Intel 84295g chipset and I will runs some diagnostics on it.
    OUTLOOK SIGNATURE
      Website:  <https://sites.google.com/site/californiabluedog/> www.bluedogranch.net

  • Problems updating Photoshop CS6 - Error U44M1I210

    Hi Everyone.  I'm trying to update my Photoshop CS6 Extended with associated bridge and camera Raw but I keep getting a U44M1I210 error message. It's VERY frustrating.  When I search the Adobe website for the update it says I must do the update from within the program - back to the U44M1I210 error every  time :-(  Can anyone please help me?

    Could you please restart your machine and try installing this update again.
    If you still face this problem then please provide us with Bridge and Camera Raw installer log file at
    For Mac:
    "Library/Logs/Adobe",
    For Win:
    \\Program Files(x86)\Common Files\Adobe\Installers
    This would help us in resolving the issue.
    Please mail it to [email protected]
    Thanks,
    Ashutosh

  • How to solve Audition CS6 error "The amount of audio to burn will not fit on the CD........."?

    I have a brand new PC that is MORE than adequate. I have once succeeded in burning a CD after learning all about time tracks and merging them. (made a few with only ONE track)
    Two things:
    1) I find that I must add a CD marker at the end of the WAV because Audition CS6 erases whatever is the last CD marker I've made. Very frustrating but now I know I have to do this but I have no idea WHY!!
    2) Right now I have a WAV that is just over 1 hour and 3 minutes with a total of 637.74MB of info. When I try to export/burn a CD, I get an error message stating "The amount of audio to burn will not fit.......".  I am using TDK 700MB blanks with a Pioneer Blu-ray burner.
    Obviously it will fit.
    What am I doing wrong, all of a sudden?

    Hey ryclark,
    Thanks for responding. Something else is going on here.....
    Here's what I re-replied to our friend...
    Thanks for the response.
    When I built this computer last Nov/Dec, it was built with the second 
    fastest Intel 7i, quad-core chipset on an 64-bit ASUS motherboard. It's  running
    Win 7 Pro. It has a 500GB SSD "C" drive with another 14 TB of true hard 
    drive space. It is set up with 64 bit. I had been using Audition CS3 for  many
    years and even go back to it's origin: Cool Edit and Cool Edit Pro. My 
    learning curve was minimal, sans the CD burning, which I used other software
    for  which is now antiquated, so I need Audition for this. Between this and 
    IZotope 3 I've repaired and improved many a recording. All-in-all extremely 
    useful software.
    As for the idea "to burn it anyway", well the error message comes up and 
    that's it - if I "X" out of that message and try to burn again the message
    comes  back  - so Audition will not let me. It is convinced that this file is 
    longer than it really is, but only when I add track  marks to it!
    There are only 11 tracks.
    I was able to burn a CD of this same file but without all the track marks, 
    so the same exact file length/size will burn, only as the one track.
    I've also succeeded in burning other WAV's , both greater and smaller, with
    and without multiple track marks, without issue. Of course all with less 
    than the CD's max. capacity.
    This problem seems to be with this one file. I've even  re-made/re-recorded
    the file from scratch with no change. There's something else  going on here
    that I can't put my finger on. (I am "recording" LP's and making  personal
    CDs of them)
    Also, only from time to time, I have another error after burning a CD that 
    states it could not verify the CD. For this I assume it is the blank rather
    than AA? The first might burn without issue and with the second burn I 
    get the error. It is near the end of a stack of blanks, so.....
    As for the need to "mark the end" of the file makes a lot of sense but of 
    all the other CD track-marking software I've used, none needed one to do
    this,  but this IS Adobe after all.
    You'd think there might be a smidge of intuitiveness with Adobe, but maybe 
    not.
    - Mark
    In a message dated 8/2/2014 8:11:52 A.M. Eastern Daylight Time, 
    [email protected] writes:
    How  to solve Audition CS6 error "The amount of audio to burn will not fit
    on  the CD........."?
    created by ryclark (https://forums.adobe.com/people/ryclark)  in 
    Audition CS5.5, CS6 & CC - View the full  discussion
    (https://forums.adobe.com/message/6605916#6605916)

  • Error with function in indesign cc 64bit

    When trying to use the function below, I get this error. Upto now we use the 32bit version (cs6), but with the switch to CC, we're using the 64bit version on windows 7 enterprise (64 bit).
    Any suggestions?
    G
    function datum_en_username() {
                                     var get_username = 'myName = GetUserName\n'
              get_username = get_username + 'Set myInDesign = CreateObject(\"InDesign.Application.CS9\")\n'
              get_username = get_username + 'Set myDoc = myInDesign.ActiveDocument\nmyDoc.InsertLabel \"getUserName\", myName\n'
              get_username = get_username + 'Function GetUserName()\n'
              get_username = get_username + 'Dim objWSHNet, strCurrentUser\n'
              get_username = get_username + 'Set objWSHNet = CreateObject(\"WScript.Network\")\n'
              get_username = get_username + 'strCurrentUser = objWSHNet.UserName\n'
              get_username = get_username + 'Set objWSHNet = Nothing\n'
              get_username = get_username + 'GetUserName = strCurrentUser\n'
              get_username = get_username + 'End Function'
              var datum = new Date();
              app.doScript(get_username, ScriptLanguage.visualBasic);
              username = app.activeDocument.extractLabel('getUserName');
              return [datum, username];

    Try launching InDesign (and Extendscript Toolkit if running from there) as administrator.

  • Installation errors with CS5.5 on mac os10.9.4

    Hello,
    I just tried installing from CD a recently purchased copy of CS5.5 design and web premium (student teacher). There were errors with the installation. I've gone through the troubleshooting provided for exit code 6 and 7 but I'm still getting the same errors. I also can't find these errors in the troubleshooting or install, launch errors sections. The errors I get are as follows:
    ERROR: DS013: Verifying payload integrity : Failed with code 1
    ERROR: DF024: Unable to preserve original file at "/Library/Application Support/Adobe/Linguistics/5.0/Providers/Proximity/11.00/swd58.ths" Error 0(Seq 408)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 408)
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Linguistics CS5: Install failed
    Any help would be wonderful!
    Thanks,
    Amanda

    Hi Amanda,
    You might try copying the installation files from the disc to the desktop and run the install from there or download the installation from here Download CS5.5 products
    If you wanted to make a clean start, uninstall
    Mac HD > Applications > Utilities > Adobe Installers (Mac OS X)
    and use the Cleaner Tool - Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    then reinstall
    - Dave

  • After Effects CS6 Error: Unknown Exception.

    I keep getting this error when I open CS6 "After Effects Warning: Unknown Exception".  I didn't use AE for like a week and while starting it up for work I had to complete the errors started...
    Pressing ok gets me to "After effects: AEGP Plugin AEDynamicLinkServer Plugin: Unknown error in Adobe Dynamic Link" and then it closes with "After Effects can not continue: unexpected error during application startup".
    I tried EVERYTHING! Searched on google, visited every page with people having the same problems, mostly on Mac systems and older versions of after effects and I still can't fix it and can't find anything on CS6 as most of these were on CS4 and some on 5. Guessing those with errors on CS6 might have reformatted their drive.
    Im running Windows 7, 64-Bit. Using a High-End workstation(WS-X6) from "Workstation Specialists", so I don't think its a Hardware/OS issue.
    Cleared preferences.
    Did a reinstall from the disk.
    Used CCleaner Pro.
    Used the Adobe cleaner tool.
    Google the Error, went to all pages with the same error.
    I looked at every reply concering this error on this forum.
    Downloaded a new trial.
    Nothing works. Now obviously a reformat would do it but I got tons of stuffs on this machine and I'm not gonna reinstall it just now. I'm using nuke for the moment but would like my AE back.
    Screenshots - Pretty sure this has something to do with my Mediacore but I don't know what as the disk reinstall should have fixed it. Even downloaded a new trial version, same thing.
    Screencap GIF
    Hope someone here knows how to fix this without any reformat. Thanks in advance.

    Well that would be associated with *Visual C++ and I don't think I'm missing anything as I run photoshop also and it runs fine, not affected by the error here. Forgot to mention that I also was running premiere but when the errors with AE started premiere just stopped, would load for 1 second and then close. Somehow they're related. Also, when I run dynamiclinkserver and run AE it clings at Initializing mediacore and when I terminate the process it gives me the error again, gonna check the event viewer and get back to you.
    "This error occurs when your application indirectly calls a pure virtual member function in a context where a call to the function is not valid. In most cases, the compiler detects this and reports the error when building the application. But depending on how your code is written, sometimes the problem is detected only at run-time. "

  • Parse error with print

    Hi,
    I tried to build a custome web gallery into LR 4.3 on MAC.
    I started with example from LR SDK zip.
    In my index.html sample file, i simply declare some variables at the top like this:
    <%--[[ Define some variables to make locating other resources easier     firstPage was defined in our manifest.]]      local others = "content"    local theRoot = "."    local mySize = "large"    local firstImage    local title    local caption    local width    local height      local LrLogger = import 'LrLogger'    local myLogger = LrLogger( 'libraryLogger' )          myLogger:enable('print')          local debug, info, warn, err = myLogger:quick( 'debug', 'info', 'warn', 'err' ) %> 
    After, inside a script tag, i would like to print into index.html outputed file a json file with images name.
    Before that i simply tried to print a test string, and i got in Console app this message : SyntaxError: Parse error
    Where am i wrong ?
    Thanks
    Regards

    Hi , Welcome to the HP Forums! I see that you are getting a printhead error with your HP Officejet 6830. I am happy to help!  I would recommend to go through the steps within this guide, 'Problem with Printhead,' 'Printer Failure,' 'Ink System Failure,' or a '0x...' or a 'C2...' Error Message Displays. You will also want to make sure you are using Genuine HP Ink Cartridges, and that none of your Ink Cartridges are low or empty.  Hope this guide helps!  “Please click the Thumbs up icon below to thank me for responding.”

  • Updated document about QuickTime errors with After Effects (re: H.264 and hyperthreading)

    I just updated "troubleshooting QuickTime errors with After Effects CS5, CS5.5, and CS6" with information about hyperthreading and Apple's H.264 encoder.
    The gist is that Apple's H.264 exporter component for QuickTime fails when the computer has a large number of CPUs.

    No, this applies to any QuickTime H.264 export. You can export H.264 in a QuickTime .mov wrapper out of AME, too, and it will have this problem.
    The various H.264 encoding presets (for YouTube, Blu-ray, Vimeo, iPad, etc.) don't use the H.264 QuickTime component, so this isn't relevant to them.
    This problem is just relevant to choosing Apple's H.264 as the video codec when choosing QuickTime as a format. This applies to all software that uses QuickTime, by the way, not just Adobe software.

  • Application Manager gives back error (EX11) while installing InDesign CS6 (error while extracting in

    Hello, I need help regarding the Application Manager
    Application Manager gives back the error (EX11) while installing InDesign CS6 (error while extracting in temporary folders).
    I don´t have problems installing PS, Acrobat etc.
    Any idea?
    Thanks

    I would have never figured that out myself. Thank you so much! On behalf on my dad a big thanks as well, because he is going to use Adobe InDesign CC (2014).
    Here, a local, standard user account worked for me. However, the password of an Administrator account was required once.
    Here, any username longer than 13 created that error code, for example I tried "AInDesignCC14" unsuccessfully. Usernames with 12 or less characters worked, for example "InDesignCC14" worked.
    Just renaming an existing account did not work, because the personal folders did not change in name. Therefore, I was forced to create a new account.
    Windows 7 Ultimate (32bit, German), Apple Boot Camp; a vanilla installation

  • Each time I start Fireworks CS6 error 16 pops up

    Hi each time I start my Fireworks CS6 error 16 pops up.
    How do I fix it Adobe?
    Adobe should I Rewrite your code?

    That indicates that you are using an add-on that is not compatible with Firefox 4. For details of how to troubleshoot this to find out what one is causing the problem see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Suddenly all my Apple TVs do not show up in iTunes anymore

    Ok, to say this right at the beginning: YES, I am an Apple product freak. I got several Apple products that I am synchronizing with my iTunes. Three of these - 3 Apple TV (2 first gen and 1 ATV 2) were working FINE until about a four days ago. I had

  • HT201317 Photos, albums and photo stream

    I have trouble grasping the differences between all of these  : Album, Photo Stream, Copies for IPod, camera Roll, and photo library. Where can I find an explanation of what does what? Many photos seem to be there more than once and some can be delet

  • Messages regularly hangs entire OS

    My wife and I have almost identical machines: Mid 2009 MBP running 10.8.2. Several times a week, the Messages app causes the entire OS to hang until we force quit it. The second I force quit, everything is back to normal. I'm having trouble googling

  • 5508 to 5760 w/3850. Migrating from CUWN to Converged access.

    Hi! I have a 5508 WLC managing APs in local and flexconnect mode in the current environment.  There's a plan to migrate to converged access using 5760 WLC w/HA as MC, 3850 as MA and keep the 5508 as N+1 controller enabling new mobility.  It will look

  • Special offer for Spiceheads!

    Interested in learning more about Hyper Convergence AND winning a FREE Bantam($300 value) removable disk docking station with 500GB Disk? Sign up for a live demo today at http://www.idealstor.com/special-offer-for-spiceworks-readers/ This topic firs