Flex 3 json newlines error
using flex 3 and XP and firefox
I'm reading simple json from a local file to test my app
before building the backend. If I have a newline in my json file I
get an error, but it works without the newline. My json file is:
[{"id":"xyz", "description":"now is the time for"},
{"id":"xyz", "description":"now is the time for"}]
while my code is attached. What am I doing wrong?
Well, no, I don't think this is the solution. But I did
resolve the issue by going into
C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust
(I think I actually had to create that folder) and I added a
file (I arbitrarily named it "Local.cfg" but the filename is
inconsequential). In the file name I added the full path to my
Flex\samples folder and things are working hunky-dory.
I guess I'm wondering, if I had to do this, it's quite likely
that every other Windows user in the world has to do this, so why
is there no mention of it in the samples documentation?
Or, is there something bizarre going on with my settings that
I should look at?
Similar Messages
-
Amfphp - flex remote object error event handler
I'm using amfphp and I want it to return an error that the flex remote object error event handler will pick up. At the moment I can get only the result handler to do anything in flex.
Hi,
Try throwing an exception in the remote method. For example,
function inverse($x) {
if (!$x) {
throw new Exception('Division by zero.');
else return 1/$x; -
Urgent - Flex builder internal error
I am running into this Flex Builder internal error when I run a debug session
An internal error occurred during: "child count update"
This happens to me in my app which load a swf (AS2). This is a proxy swf I use to get AS2 to talk to AS3 swf.
If I remove the loader, then I do not have the error.
This is severely hampering my efforts to debug my app, for which thsi proxy swf is important. Has any one encountered this? ThanksI got a similar error while...
var dataString:String = swfBA.toString();
for purposes of trying to obsufacate via String replace() to a SWF loaded into a ByteArray decompressed and deserialized for class name extraction, etc..
[Cause without it we're not protected!?! but that's another story about decompilers and code theft.]
Ultimately I'll look for another way another day, but I thought it might help you to mention it.
Oh Flash Builder 4 with latest SDK 4+ 64bit windows 7 and it's about a 4MB SW FFlex source. -
Import bookmarks from json - scripts error
New profile. Import bookmarks from json - scripts error. Why?
From HTML - icons YES, import NO errors, tags NO(
From JSON - icons NO(, import with errors, tags YES
May be fix\repair\check places.sqlite, how?
[img]http://i.imgur.com/jCrGYKp.jpg[/img]
[img]http://i.imgur.com/5f8opcf.jpg[/img]
[img]http://i.imgur.com/vnIpPZw.jpg[/img]Restoring a JSON backup with 12000 bookmarks can be quite a challenge.
Maybe try this is a second profile and disable the timeout to see if it finishes.
*http://kb.mozillazine.org/dom.max_chrome_script_run_time
If it works then you can copy the places.sqlite file to the current profile folder.
*http://kb.mozillazine.org/Profile_Manager
*https://support.mozilla.org/kb/Managing+profiles -
Flex Builder 3 Error: Unable to load SWC
Hi,
I am trying to use the YahooMaps component (YahooMaps.swc) in
my application. I have included it in the build path of my
application.
Steps followed:
1. Right-click on the project and choose Properties or open
the Project menu and choose Properties.
2. In the project properties dialog, choose Flex Build Path.
3. Select the Library path tab, and press the Add SWC...
button.
4. Selected the YahooMap.swc
I still get "Unable to load SWC: YahooMap.swc". It is an AS
3.0 component. Any help will be appreciated.
Thanks
SumitHi Peter,
Thank you for your reply.
I have followed the documentation on the site you provided.
All I have done so far is:
1. Create a new flex project in Flex Builder 3
2. Once the project is created, I try to add the YahooMap.swc
to my Flex build path.
3. Once I add the YahooMap.swc, it fails with the error
"Unable to load YahooMap.swc" in Flex Builder 3.
4. FB3 does not recognize YahooMap when I try to import it in
AS3.
import com.yahoo.maps.api.YahooMap;
I am not sure what I am doing wrong. Does it have to do
something with the version Y! has used to build the YahooMap.swc
and Flex Builder 3?
Thanks
Sumit -
Flex encounters "Security error accessing url.Unable to load WSDL"
i have created a flex application which connects to SAP via web service.
when i try to run my flex application i encounter the following error.
"Security error accessing url.Unable to load WSDL"
i went through various posts relating a BSP application and crossdomain.xml
i have created the crossdomain.xml file in the application and
i tried those options and still not able to figure out the problem.
the security error is because of the absence of the crossdomain.xml file, and in which path should i be saving the file?
Kindly help me solve the problem.
Thanks in advance.Have you seen this blog
"Crossdomain.xml" in ABAP Web AS Server cache -
Flex and Coldfusion error handling
Hello! I was wondering if someone could point me in the right direction regarding error handling in a Flex app thats using an HTTPSERVICE RPC to a Coldfusion component.
If a user is entering form data in Flex and clicks submit... the data is sent via the HTTPSERVICE send method as XML to the CFC. But what if there is a Coldfusion SQL insert statement error? Say a user enters a character in a number field (now i know the best thing to do would be to have actionscript ensure that the values entered are numbers but lets keep that aside just for this example). How could I alert the user to let them know the CFC encountered a SQL error? Or better yet... alert them that everything went "A" ok and their data was successfully submitted.
I originally thought to put CFTRY and CFCATCH around the CFC code. I could do that fine, but had trouble passing back a message string so that FLEX could use it in an Alert.Show window.
Thanks!
-BosDogHey Mike,
Sorry after I posted I thought "this may be a question for CF guys as well".
I definitely use and love RemoteObjects. Its great for binding to datagrids and to run SQL to return data from the server back to Flex. I've struggled with successfully passing variables from Flex to CF using RemoteObject though. Say a dataform with 5 text fields & 2 combo box dropdowns.
I think you may have forgotten to post the link to the article for me to read... i didnt see it in your last post?
Thanks! -
Flex Builder 2 errors on Eclipse 3.2
Whenever you start Eclipse 3.2, five errors and two warnings
occur, apparently caused by Flex Builder 2. To see them, follow the
Eclipse menu
Window =>
Show View =>
Other =>
PDE Runtime =>
Error Log. Here is a summary of the logs.
You get the following errors whenever you start Eclipse 3.2:
eclipse.buildId=M20060921-0945
java.version=1.5.0_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
plugin: org.eclipse.core.filebuffers
Error
Sat Dec 09 08:39:04 CET 2006
The content type with id
"com.adobe.flexbuilder.project.content-type.actionscript" specified
in the extension point does not exist.
plugin: org.eclipse.core.filebuffers
Error
Sat Dec 09 08:39:04 CET 2006
The content type with id
"com.adobe.flexbuilder.project.content-type.css" specified in the
extension point does not exist.
plugin: org.eclipse.core.filebuffers
Error
Sat Dec 09 08:39:04 CET 2006
The content type with id
"com.adobe.flexbuilder.project.content-type.mxml" specified in the
extension point does not exist.
plugin: org.eclipse.ui
Error
Sat Dec 09 08:39:04 CET 2006
Internal plug-in action delegate error on creation.
java.lang.NullPointerException
at
org.cfeclipse.cfml.editors.actions.EditTagAction.setActiveEditor(EditTagAction.java:112)
at
org.eclipse.ui.internal.EditorPluginAction.initDelegate(EditorPluginAction.java:56)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:123)
at
org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:278)
at
org.eclipse.ui.internal.PluginAction.<init>(PluginAction.java:110)
at
org.eclipse.ui.internal.PartPluginAction.<init>(PartPluginAction.java:29)
at
org.eclipse.ui.internal.EditorPluginAction.<init>(EditorPluginAction.java:32)
at
org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:256)
at
org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:170)
at
org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:100)
at
org.eclipse.ui.internal.EditorActionBuilder.createActionDescriptor(EditorActionBuilder.ja va:41)
at
org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:158)
at
org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:138)
at
org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:1 27)
at
org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:141)
at
org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:138)
at
org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:149)
at
org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:170)
at
org.eclipse.ui.internal.PluginActionBuilder.readContributions(PluginActionBuilder.java:11 2)
at
org.eclipse.ui.internal.EditorActionBuilder.readActionExtensions(EditorActionBuilder.java :58)
at
org.eclipse.ui.internal.EditorManager.createEditorActionBars(EditorManager.java:318)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:832)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1446)
at
org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1006)
at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at
org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1001)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2843)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
at
org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
at
org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
at
org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
at
org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
at
org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
at
org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
plugin: org.eclipse.ui
Error
Sat Dec 09 08:39:04 CET 2006
Could not create action delegate for id:
org.cfeclipse.cfml.editors.actions.EditTagAction
plugin: org.eclipse.ui
Warning
Sat Dec 09 08:39:00 CET 2006
Warnings while parsing the editor contributions from the
'org.eclipse.ui.editorActions' extension point
Warning
Sat Dec 09 08:39:00 CET 2006
Actions require a non-empty label or definitionId:
plug-in='com.adobe.flexbuilder.debug.ui',
id='AUTOGEN:::com.adobe.flexbuilder.debug.ui.mxmlRulerActions/com.adobe.flexbuilder.debug .ui.mxmlDoubleClickBreakpointAction'
Warning
Sat Dec 09 08:39:00 CET 2006
Actions require a non-empty label or definitionId:
plug-in='com.adobe.flexbuilder.debug.ui',
id='AUTOGEN:::com.adobe.flexbuilder.debug.ui.actionScriptRulerActions/com.adobe.flexbuild er.debug.ui.actionScriptDoubleClickBreakpointAction'
plugin: org.eclipse.ui
Warning
Sat Dec 09 08:38:59 CET 2006
Warnings while parsing the key bindings from the
'org.eclipse.ui.commands' extension point
Warning
Sat Dec 09 08:38:59 CET 2006
Cannot bind to an undefined command:
plug-in='org.cfeclipse.cfml',
id='org.cfeclipse.cfml.editors.actions.EditTagAction'FB only supports 3.2, just 3.1.1.
Tracy -
Problem in J2ME application
while using Json Object in Midlet file
JSONObject obj=new JSONObject();
.Json-lib2.4-jdk15.jar added in project libraries but application shows error as
java.lang.NoClassDefFoundError: net/sf/json/JSONObject.
Project created in NetBeans 7.4Hello,
This library contains classes in the class format version 49 which is not supported by Java ME. Java ME supports class file versions up to 48 (preverify tool shall be ran against them as it was in Java ME mobile phone times) or versions 51 and greater (no preverification needed)
You might want to download source code from the SF and recompile it with javac from JDK 7 or 8 (please do not specify -target argument when compiling)
Regards,
Andrey -
Flex Builder 3: Error starting browser
Admittedly, I am running Vista which is probably the culprit
here, but I don't have a lot of options. When I click the Run,
Debug and, or Preference/Web Browser buttons I get an error dialog
box titled "Windows- No Disk" and the message says "Exception
Processing Message 0xc0000013 Parameters 0x75AD023C 0x84C3A86C
0x75AD023C 0x75AD023C". Buttons for Cancel, Try Again and Continue
all simply redisplay the error dialog box. The only option is to
end Flex 3 at that point.
I do have Flex Builder 2 loaded and I am still using it. I
can provide a HijackThis listing if requested.
ThanksI had the same type of error under XP Pro when I click on the
hyperlink of the Flex Start Page. Have a look behind the flex
window if you don't have a modal window with information about JVM
configuration. If you have this window just close it and then
buttons of the Flex Exception window should work.
BTW I retry to reproduce the error to check this hidden
window before posting, but it is working now !!! Don't know why
! -
Flex Builder 3 error: This file cannot be launched
All of a sudden when I try to run my app from within Flex
Builder 3, I get a popup that says:
This file cannot be launched. I right click on my mxml file
and the option to set it as default is greyed out.
How can I make this error go away?
ThanksI've filed a number of bugs about a lot of things :P
Part of the problem for me is that I am using Vista x64 and
there are known issues with Eclipse 3.3 and the Logitech SetPoint
drivers on that OS. Basically, in FB3 I get corrupted Property
Dialogs and Preferences (can't change key binds, or set compiler
config, etc.). It does work in Eclipse 3.4M4 with the plugin, but
then Design Mode doesn't work properly (images and style are
wrong), and that is unsupported by Adobe. So basically I switch
back and forth between the two whenever I need to access the
dialogs lol. Given that kind of situation, it is difficult to know
what is a propblem with my specific config, and what is a bug.
Generally one of the things I see is my embedded fonts start
showing up as errors when I hit compile, then I have to do a clean
build. CSS errors/warnings show up in the main mxml file instead of
the CSS file (at the CSS file's line numbers).
I've also seen issues where modules aren't saved to the
properties files properly. Lack of conditional compilation support
(debug versus release at the bare minimum) in FB3 is annoying
(though you can do it with ANT). -
Flash/Flex Buider versions & Error #1053: Illegal override
I recently upgraded to FlashBuilder 4, rebuilt my FlexBuilder 3.2 apps, and continually hit "Error #1053: Illegal override" runtime errors. I had to rebuild all dependent libraries with FB4 to get things to work.
Based on http://bugs.adobe.com/jira/browse/SDK-14464 (second comment from bottom), it appears that the Adobe best practice is that all code should/must be compiled with the same version of FB.
Does anyone know of any way to workaround this limitation? Furthermore, how is it possible for 3rd party vendors to provide Flex libraries without also providing source code?
JeffI am getting this message and updated my flash player to
version 9.0.45 and now flex is saying that it can't find a valid
version of the flash player and that I may need to install flash 9
or reinstall flex. I did both of these and it did not work. Does
anyone have any suggestions. I have been complete incapable of
setting up a coldfusion flex development environment on xp that
works. I installed CF into IIS and it is working fine. I have
installed FB 2 as a default install. I then went step by step
through this tutorial (
http://www.kylehayes.info/captivate/QueryToDatagrid/QueryToDataGrid.htm)
and ran the application and it blows up. I would REALLY like to
learn flex and begin to develop some applications but I can't get
my apps to run because of this stupid error. Any suggestions. Bug
fixes. Anything???
Thanks,
Jason Presley -
Rendering a flex component gives error??
Hi. I want to render or re initialize a flex component on the action of another event. I tried using init on the event to re initialize the component but it gives me an error ( error in list List.as). Can there be some other way to render the Flex component? When i select "dismiss all" in the error the code seems to be working fine, so is there a way so that the actionscript error is not displayed and the dismiss all button is selected by default?
Any help would be really appreciated.Try import containingFolder.DebuggingTool;
new DebuggingTool;
HTH,
Carlos -
Hi,
I have tried so many times to get this to work but i cant
seem to get it... it looks fine in the video but not me???
the video i watched is on the main flex page "See a Flex App
built"
this is the error im getting....
1172: Definition assets:PhoneRenderer could not be found.
1202: Access of undefined property PhoneRenderer in package
assets.
here is my code...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="horizontal" creationComplete="pSrv.send()" width="100%"
height="100%">
<mx:Panel width="100%" height="100%" layout="horizontal"
id="p">
<mx:TileList width="100%" height="100%" id="tl"
dataProvider="{pSrv.lastResult.catalog.product}"
itemRenderer="assets.PhoneRenderer"></mx:TileList>
</mx:Panel>
<mx:HTTPService id="pSrv" url="data/catalog.xml"/>
</mx:Application>
now why does it work you him and not me... im so frustrated
please help me
Thank youIs anyone form adobe going to respond on this????
i have called and they told me i would get an answer here ...
looks like thats not going to happen???? THIS SUCKS!!! -
How can I add json with error message?
just reformatted computer today. I cannot import json file, get this error: A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/modules/utils.js:1407I have updated to Firefox 8.0 and the same error message will not allow me to add my saved .json bookmark file. Thanks for your advice
Maybe you are looking for
-
Unallowed RFC-XML Tag (SOAP_EINVALDOC) - Web Service using ABAP Proxy
Hi there I am trying to consume a Web Service using ABAP Proxies. I have done the following in the system: I configured the HTTP and HTTPS Proxy settings. I created a package with package interfaces SAI_TOOLS and SAPPINT included under the Use Acce
-
How can I install the proper App Store app to complete my upgrade?
I have Snow Leopard (10.6.8) installed on my iMac 27 (late 2010) but the app store app is not supported on this version. How can I get the proper app store app for SLP? My goal is to get back to Maverick. I was running Maverick just fine but ran out
-
Is there a Combo updater of 10.10.1?
Usually, Apple offers two versions of OS-X installers. One simple "Updater", and one Combo version. The KB article mentiones (as usual): "Standalone installers are available from Apple Support Downloads." But: I can not find the download link to acce
-
Hi, For particular rate category i have defined 3 Rate Types 1)KWH : Register 2)KW :Register 3)SVCH :Facts Then I defined 3 Rates 1)Rate-KWH : Register Permissble to valuate the KWH COnsumption 2)Rate-KW : Register Permissble to valuate the KW Dema
-
Do I have to deploy password in a bc4j application?
I've modified my defined database connection to disable the deploy password option, but the bc4j.xcfg file for my business components project using that connection still shows the password. I've tried editing the file in the XML editor, but the lines