Flash Builder 4 and Blaze Data Services wizard

Hello,
My project uses BlazeDS for backend and Flex for frontend.
I use Data Services wizard to auto generate the valueObjects from the corresponding Java classes.
But the generated code does not seem to implement object inheritance. The valueObjects only inherit from their own _Super* classes.
Example
Java objects
Circle extends Shape
Generated actionscript objects
Circle extends _Super_Circle extends EventDispatcher
Shape extends _Super_Shape extends EventDispatcher
Doesn't Flash Builder Data wizards support this feature or am i missing something?
Thank you
Filaretos Postekoglou

Hi,
It should work fine. Can you please share the exact version of the LCDS. Also please let us know the service types and channel types you are using in your application.

Similar Messages

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • Tutorial: Flash Builder 4 beta 2 and PHP Data/Services for beginners

    Hi fellas,
    I've written this tutorial for total beginners to get quickly to FB4 and PHP. Comments welcome
    Flash Builder 4 and PHP Data/Services for beginners
    http://www.flashrealtime.com/flash-builder-4-and-php-data-services/

    Hi,
    The first issue will be the pathing differences between wamp/mamp/xampp, some use www as root others htdoc you need to setup the php services on your local machine rather than importing a project.
    The created services will have a connection array declared at the top of the code that points to the mysql server, in the project default debug folder you will have the config file that has the zend and webserver path
    top of service file
    ============
    var $username = "root";
    var $password = "";
    var $server = "localhost";
    var $port = "3306";
    var $databasename = "zend";
    var $tablename = "clients";
    var $connection;
    amfconfig.ini
    =========
    [zend]
    ;set the absolute location path of webroot directory, example:
    ;Windows: C:\apache\www
    ;MAC/UNIX: /user/apache/www
    webroot =C:/wamp/www
    ;set the absolute location path of zend installation directory, example:
    ;Windows: C:\apache\PHPFrameworks\ZendFramework\library
    ;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
    ;zend_path =
    [zendamf]
    amf.production = false
    amf.directories[]=Zender-debug/services
    In your main project folder you have a .model folder the file there is an *.fml file that contains your channel endpoints etc.
    David.

  • Data Services wizard not creating service

    I am having huge problems with the Data Services wizard.
    I am using Flash Builder 4.6 on a Mac (10.7.2).
    Over the last year I have been working on a couple of proof of concept projects and now want to start work on a production version starting from scratch in a new project.
    The Data Services wizard has worked fine for me in the past, but now I am having serious problems.
    The first problem is the Data/Services window does not update when I create a new service with the wizard. (I am connecting to the Zenfolio Web Service.) If have to close the project and open it before I see the new service in the Data/Services window.
    While this problem is more an inconvenience, more seriously the wizard does not create either the "services" folder or the "valueObjects" folder as it did in the past.
    Now if I right click on a method in the service and select "Create Service Call", it creates the Call Responder but not the call itself.
    The relevant log entry starts with
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-12 22:39:20.962
    !MESSAGE Component type services.zfapi.Zfapi not found.
    If I create a "services" folder and copy the zfapi package from one of my previous projects, all works fine.
    This probably gives me a workaround - although I haven't tested this to any extent yet.
    It is very strange and worrying behaviour though.
    regards
    Chris

    OK, here are the log entries created when I try to create the service:
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-19 22:16:33.970
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              ... 48 more
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more
    Root exception:
    java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more

  • Flash Builder Premium (update data base method error)

    Hi,
    I've run into this error with Flash Premium when updating a data base. Evidently there is a glich in the auto generated code. I explain it in the second half of the video below. If you want the code you can download it from kshunter.wordpress.com 
    I also discuss the work around solution.

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • Data Service Wizard - How can I reconfigure return type field as XML (E4X) value

    The HTTP Data Service wizard - "Reconfigure Return Type" - does not allow XML (E4X) to be selected as a data type for a field.  For example , If my example XML payload looks like this (see below), I would like to set the datatype for "settings" field to be XML (E4X) and have the service decode the "string" value into an XML (E4X) value.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ListOfUsers version="1.0.0">
        <User>
            <id>3</id>
            <subType>INTERNAL</subType>
            <authName>internal</authName>
            <name>Internal User</name>
            <settings>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;Settings&gt;&lt;Profile&gt;&lt;Region&gt;emea&lt;/Region&gt;&lt;Language&gt;en.g b&lt;/Language&gt;&lt;/Profile&gt;&lt;/Settings&gt;</settings>
        </User>
    </ListOfUsers>

    I find a (reasonably) elegant workaround which is to add a transient property in the "public" sub class of the value type - see below - I havent tested it much so not sure if it will work adequateky in all circumstances
    package services.listeningpost
    public class User_type extends _Super_User_type
    public function get xmlSettings():XML
    return new XML(settings);
    public function set xmlSettings(object:XML):void
    settings = object.toXMLString();

  • Using papervision in flash builder and getting TypeError: Error #1009: when using object.pitch(5)

    When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
    When i add a line sphere.pitch(2);      ||
    sphere.yaw(2);
    sphere.roll(2);
    i get the following error,
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
    Can anyone help me figure out the error
    For additional Info, these are the imports i am doing:
    import org.papervision3d.objects.primitives.Sphere;
    import org.papervision3d.view.BasicView;

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • Flash Builder and Flex4 SDK 9731+ issue

    Hello everyone. I've been working with Flash Builder Beta and latest Flex4 SDK nightly builds for some time now and did not have any major obsticles.
    That was until I downloaded 9731 build. Flash Builder compiled my project without any problem, however, when I tried to launch the application in my browser I've got these errors:
    VerifyError: Error #1014: Class IVisualElement could not be found.
    (after I click continue)
    ReferenceError: Error #1065: Variable CrossFade_CrossFadeShaderClass is not defined.
    (after that)
    ReferenceError: Error #1065: Variable Wipe_WipeShaderClass is not defined.
    (and after that)
    ReferenceError: Error #1065: Variable _cfdd017153b35cc39170086d5b82e02ae917ac7c68abee5c5b64ce1a052a4aac_flash_display_Sprite is not defined.
    Of course when I click "Continue" nothing shows up on the screen.
    The only similar issue I've managed to find is related with Flexmojos (http://code.google.com/p/flex-mojos/issues/detail?id=163) which, I think, has nothing to do neither with Flex4 SDK nor Flash Builder in this case.
    Maybe anyone has ideas about this? Does this have something to do with Flash Builder incompatibility with nightly SDK builds? Or maybe the new SDK
    has not been built correctly?
    By the way, I've decided to stick with 9674 built and wait for more nightly builds when I first encautered this problem. Today I've downloaded 10008 built of
    Flex4 SDK and the problem is still there.

    Hello ThinkLoop;
    I have .10339 now working with no new issues.  If this helps I started a discussion (below) in which I was getting an error, the error given seemed unrelated to the fix but... essentially when recreating the project, which seems to be a common event when updating the SDK, I have to re-attach the modules to the project.
    Author
    Subject
    Views
    Replies
    Last Post
    jdesko
    Nightly SDK and Flash Builder Betain Flash Builder and Flex SDK
    121
    8
    35 minutes agoby jdesko

  • Flash Builder and Adobe AIR update framework

    Hi,
    I posted this in AIR forum , but thought it happens with new flash builder and flex 4 beta , i should do here also
    When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
    The error is
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
        at mx.controls::ProgressBar/createChildren()
        at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
        at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
        at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
        at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
        at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
        at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
        at mx.states::AddChild/createInstance()
        at mx.states::AddChild/set targetFactory()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
        at ApplicationUpdaterDialogs()
        at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
        at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
        at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
        at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
    The code is the exact same given in the updater example i mentioned in the link above. Only difference is i am using spark framework. The appUpater.initialize() never seem to work and keeps throwing an exception. Any alternatives so suggestions ?
     This works fine in my Flex Builder 3. 
    Thanks
    Hironmay Basu

    the issue is already reported here:
    http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
    As a workaround, you can try using:
    http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/

  • Transform Gestures for Flash Builder and Adobe AIR Mobile Development | ADC Presents | Adobe TV

    Senior Technical Evangelist Duane Nickull illustrates using transformation gestures in Flash Builder, and discusses best practices for zoom events when developing for mobile devices.
    http://adobe.ly/wLSaNj

    How would the app zoom to a point

  • Flash Builder and Adobe AIR: anybody there?

    Hi,
    I've recently posted quite a few posts reporting very serious bugs of both Flash Builder 4.6 and Adobe AIR especially on mobile platforms, and asking about possible fixes and workarounds.
    I would have expected immediate replies by someone at Adobe showing some interest in such blocker bugs that render Flash Builder completely useless, and developing AIR apps for mobile impossible. But there was no reply at all.
    I wonder, are Flash Builder and Adobe AIR being maintained, or have they been abandoned? Because in the latter case I'd rather know it and stop wasting my time using this platform for development.
    thanks
    m.

    I feel your preoccupations, Matteo. I have them too.
    A few days ago, Gartner issued a document, called - as usual for Gartner - "magic quadrant", related to Mobile App Develpment 2012.
    This document explains the situation of the different vendors so one can make an educated choice about the IDE to use for platform-independent mobile things.
    Adobe is well-positioned in this quadrant. However, Gartner (who have talks with vendors before issueing their reports) only referred to PhoneGap when explaining how Adobe addresses mobile app development.
    This is a shame, because FB is powerful and uses ActionScript (which many of us like).
    I have bought FB last year and had fun with it. I don't think it's going to last for long, if I Adobe doesn't show that HTML5 + CSS aren't the only way to go.

  • Lightroom changes file date (build and changeing date) by jpg files

    Hallo
    I am using Lightroom on Mac OS X Snow Leopard. The Problem is that Lightroom changes both dates of the file (the date when the file was build and the date when you have made changings on the file) when i save the Metadates to the file.
    This happens only by jpg files. By raw / xmp files is the date of the raw file not changed, the both dates of the xmp are also changed like by jpg.
    I want not to change the time when the file was build. So that i can see in the Finder / Explorer when the file was build ( Photo taken).
    How can I solve this Problem.
    Thanks for Help

    Do not save the metadata to the files. It's quite unnecessary to do so, but of course, you should have full backups of the images and the catalog(s) [.lrcat].

  • Accessibility with flash builder and a screen reader

                   hi. a blind website student, using the Jaws for Windows screen reader from htttp://www.freedomscientific.com. was trying to build a basic flash builder flex project, and using jaws 13.0.718, on a toshiba laptop with windows 7 professional 32 bit. now using the adobe cs 5.5 student web premium. i then pressed alt  f, then new, then arrow right to flex project. then put in my name of the project, clicked to browse the folder, then there was a next and finish button, well clicked the finish button. the code windows comes up, press control  !~ which took me to  design view. now my troubles start. have to use the mouse cursur for jaws, which is the jaws cursur. and now, was able to left click using the caps key, which is the insert key, and then able to use the f 8 key for left click mouse simulation. but then came to a tree view, pressed t, until i heard text area, then tabbed around. no add button. so how do i add a component using the keyboard. or do i need to enable accessibility. and also tried to get to the properties of the control. managed to do that some how, but could not find the id property. so if any one can help me, new to flash builder and flex. Marvin, From Devonport, tasmania, australia. if any one can help please e-mail me via [email protected]         

    No I used relative path - the path is  images/image name
    example images/cRight.png
    tried downloading Extension Builder 2.1 and compiling on Mac but still have same results - images show up fine in design window , but not when running panel in Photoshop
    Created a new project: testImage
    added an image component to form
    answered yes to add asset to project
    ran project
    image did not show up in Photoshop
    went back to project
    checked item Embed under Common image properties
    ran project and image shows up
    Looks like it works if I add @Embed("assets/image name") on Mac to display images
    tried in my real project:
    Looks like it works if I add @Embed("images/image name") on Mac to display images
    When I change this on PC to @Embed("images/image name") images do not show Up
    Don't know if I need to create two versions one for Mac one for PC
    Don't know how this would affect product on Adobe Exchange

  • Developing Iphone App using Flash Builder and Flex Air Mobile

    I started developing an Iphone app using the trial version of Flash Builder and was pretty impressed with how easy it was, then i hit problems:
    Trying to submit my app, I was getting invalid binary, using google i tracked this down to a change in the Apple App Store meaning that all apps needed to have native iphone 5 support, which meant updating to Air SDK 3.7
    Updating to AIR SDK 3.7 was a nightmare (mainly as a result of my failure to read the small print)
    Once I got SDK 3.7 to  work with flash builder / flex mobile i though i was there.
    However now i can produce a fast build but everytime i try and produce a standard / production build i get strange errors (air 3.8 does the same).
    My Question is - before i actually buy Flash Builder has anybody actually achieved the following:
         Building an Iphone App using:
         Flash Builder 4.7    (running on OSX)
         Flex Mobile 4.6
         Air 3.7
    If so how ?
    cheers
    Toby

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Flash Builder and Flex 4 Press Coverage

    Could someone post some links to some of the  BIG BANG press coverage of the Flash Builder and Flex 4 releases ?

    What is an example of the code that is the source of the error?

Maybe you are looking for

  • Crystal Reports 2008 Repository Explorer

    Hi, I am new to Crystal Reports 2008. I want to use Crystal Reports 2008 Repository.  My question is as it was done in Crystal Report 9 Professional edition that a crystal report developer can create a Repository while using Crystal Report 9 Professi

  • Crystal report Viewer for 8.5 reports

    We are using an older version of Crystal reports (8.5) and use an application called RePortal (that use Crystal Enterprise) to view the reports through out the building. We recently had a report that was created and we are getting an error: Error enc

  • Mac mini slow startup since installing yosemite

    I have a late 2012 mac mini and before installing Yosemite it would take just a few seconds to start up when I turned it on. Now since installing Yosemite it is a lot slower to start up, and i get a "progress bar" when I turn it on, which I never had

  • How do i pick a cover artwork as front cover for a folder of podcasts where each podcast has its own artwork?

    It seems that itunes randomly displays one of those artworks and I don't know how to make it display one of the other artworks. "Getting info" of the entire album and pasting artwork makes all podcasts display one and the same picture. But I'd like t

  • X/Motif Solaris 6 to Solaris 10

    motif patch concerns on solaris 6 to 10. Edited by: gsatish on Feb 19, 2009 1:15 AM