Adobe Flex 3, unable to check existing XML nodes

I am getting an XML data from server(Pls refer xmlData value). I need to: i. Create another XML with non-duplicates Folders ii. Create another XML with final count on monthly basis.
I am unable to do this with below code and getting duplicate records.
private var xmlData:XML = new XML("<root><SUMMARY_RECORD><FOLDER>Folder1</FOLDER><COUNT>100</COUNT><MONTH>Feb</MONTH><QUARTER>Q1</QUARTER><YEAR>2014</YEAR></SUMMARY_RECORD><SUMMARY_RECORD><FOLDER>Folder1</FOLDER><COUNT>100</COUNT><MONTH>Feb</MONTH><QUARTER>Q1</QUARTER><YEAR>2014</YEAR></SUMMARY_RECORD></root>");
    var folderDataXML:XML = new XML("<root></root>");
    var folderDGDataXML:XML = new XML("<root></root>");
    private function loaded():void{
        var item:XML;
        folderDGDataXML.appendChild(new XML("<FOLDER_NAME><Name>ALL</Name></FOLDER_NAME>"));
        for each (item in xmlData.SUMMARY_RECORD){
            if (folderDGDataXML.FOLDER_NAME.(Name==item.FOLDER).toString() == ""){
                folderDGDataXML.appendChild(new XML("<FOLDER_NAME><Name>"+item.FOLDER+"</Name></FOLDER_NAME>"));
            if (folderDataXML.SUMMARY_RECORD.(Name==item.MONTH).toXMLString() == ""){
                folderDataXML.appendChild(new XML("<SUMMARY_RECORD><Name>"+item.MONTH+"</Name><COUNT>"+item.COUNT+"</COUNT></SUMMARY_RECORD>"));
            }else{
                var count:int = Number(folderDataXML.SUMMARY_RECORD.(Name==item.MONTH).COUNT) + Number(item.COUNT);
                folderDataXML.SUMMARY_RECORD.(Name==item.MONTH).COUNT = count;
Final output:
folderDGDataXML:   
<root>
  <FOLDER_NAME>
    <Name>ALL</Name>
  </FOLDER_NAME>
  <FOLDER_NAME>
    <Name>Folder1</Name>
  </FOLDER_NAME>
  <FOLDER_NAME>
    <Name>Folder1</Name>
  </FOLDER_NAME>
</root>
folderDataXML: 
<root>
  <SUMMARY_RECORD>
    <Name>Feb</Name>
    <COUNT>100</COUNT>
  </SUMMARY_RECORD>
  <SUMMARY_RECORD>
    <Name>Feb</Name>
    <COUNT>100</COUNT>
  </SUMMARY_RECORD>
</root>
Can you please help me where I am doing wrong? After getting correct XML, I need to populate datagrid & column chart.
Thanks in advance for the help.
Regards
Pavan

Most loops that eliminate duplicates keep a list/map of the data that has already been processed and compares the loop value against that.
In ActionScript, it is more efficient to use a map which is usually a plain object.
var alreadySeenFolders:Map = {};
In the loop you compare:
    var folderName:String = item.FOLDER.toString();
    if (alreadySeenFolders[folderName] == 1)
        continue; // was already in map
    alreadySeenFolders[folderName] = 1; // store it in map

Similar Messages

  • Unable to modify a XML node which is a SimpleType using a Typed XML field.

    Hello,
    I have an XSD schema that uses SimpleTypes.  When I attempt to modify a node in an Schema typed XML field, which has a schema using simpletypes, I receive the error:  XQuery [modify()]: The value is of type "xs:string", which is not a
    subtype of the expected type "<anonymous>"
    To reproduce the problem use the following information:
    SCHEMA:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    The T-SQL That produces the error:
    DECLARE
    @vx_Test xml (CONTENT [dbo].[Test]),
    @vs_ShipToAttentionTo NVARCHAR(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    How can I make this work.  In this example I am using a typed XML variable, but I really want to do this in a table update.
    Thanks,
    Kent

    Try the change below.  What I did was to create a named simple type for the AttentionTo node.  Here is my understanding (based on this working).  Because you have a simpleType the node cannot accept just any string, it has to be a string of
    the type in the simpleType.  That simpleType has no name (thus anonymous). 
    What I did was to create a named simpleType and used that simpleType as the type for the AttentionTo element.  Then in my XQuery, I cast the value to the name of that type (AttentionToType in my example).
    CREATE xml schema collection Test as '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0" type="ns1:AttentionToType">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:simpleType name="AttentionToType">
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>';
    go
    DECLARE
    @vx_Test xml (CONTENT dbo.Test),
    @vs_ShipToAttentionTo nvarchar(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo") cast as ns0:AttentionToType?');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo)
    with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • Adobe Flex 4 Plug-in for HP Quick Test Pro could not find  any Flex environment fields (TEAFlex*.xml

    Hello all,
    When compiling Flex project with QTP automation libraries included (Flash Builder version is 4.5. QTP is 11, Adobe Flex 4.5 Plugin for HP QuickTest Pro is installed) the message as below pops up
    Adobe Flex 4 Plug-in for HP Quick Test Pro
    Adobe Flex 4 Plug-in for HP Quick Test Pro could not find
    any Flex environment fields (TEAFlex*.xml).
    OK
    After accepting it there is Flex application shown in IE8.
    Trying to record actions in the application gives no effect while TEAPluginIE.dll and TEAPluginQTP.dll are loaded during that.
    What could it be providing that TEAFlex.xml is in the directory where the TEA* dlls reside?
    Have a nice day!

    Adobe's official exam guide outlines exactly what you need to know:
    http://www.adobe.com/devnet/flex/pdfs/ace_exam_guide_flex4.pdf
    I took the Flex 3 ACE recently and found that the guide represents the exam content very well. It looks like there aren't a whole lot of changes in the Flex 4 ACE guidelines.
    To answer your questions:
    LCDS is not on the exam.
    What they expect you to know about the AIR library is very basic. It amounts to simple operation of an AIR app, file system operations, customizing the native window, drag-and-drop, and security. I've never developed an AIR app and got by just fine.
    Before taking the exam, I was already quite comfortable with much of Flex. Along the way I learned a few things that I haven't had a reason to touch. I found the exam to be quite easy, but I'm also a computer science guy and has also just experience Java certification which is much more difficult.
    I breezed through the Training From The Source book and was happy with it. However, you will do just as well with the LiveDocs for free.

  • Iam unable to access my adobe flex application from my safari browser

    Hi,
    iam unable to access my adobe flex application from my safari browser, which i could able to access from my iphone4.
    please suggest.
    Thanks,
    Bodhtree Team

    This is a user forum we do not work for Adobe you need to contact Adobe directly Chat or Phone. Adobe self praise states their awesome support people.  Of course you know how much faith to give self praise. Learn Photoshop, get help and support | Adobe Photoshop CC   
    It is easier to get the phone number from Google then Awesome Adobe.com

  • Crossdomain.xml issue - Accessing SAP from adobe FLEX

    Hi All,
    We are in the process of trying to integrate 4 SAP bapis exposed as Web services from adobe flex.
    When we do so we are getting a "security error accessing URL"
    The URL of our flex application is:
    http://10.10.0.48:8081/water0305/iden.html
    The WSDL of the web service is:
    http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1
    We looked at various forums and we found that adding a crossdomain.xml file to the root directory
    (at the destination server) will resolve the issue.
    I did implement all those steps on the R/3 side to add a crossdomain.xml to an ABAP WAS.
    crossdomain.xml on WAS
    however i still get those errors(security error accessing URL).
    Below is the code i use to access the SAP web service
    <mx:WebService
    id="EqmtDetailWS" showBusyCursor="true" fault="Alert.show(event.fault.faultString)" >
    <mx:operation name="EqmtDetail" resultFormat="e4x" result="getEquip_result(event);" fault="getFault(event);">
    <mx:request>
    <Equipment></Equipment>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    We are  displaying the SAP info on a map service provided by esri so we included the load operation here.
    <-Loading the wsdl->
    private
    function onExtentChange(event:ExtentEvent):void {
    EqmtDetailWS.wsdl=
    "http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1&sap-user=******&sap-password=****&sap-language=EN&~transaction=iw51";
    EqmtDetailWS.loadWSDL();
    <Displaying the info from SAP>
    private function getEquip_result(event:ResultEvent):void {
    equip_desc = event.result.Equitext.Equidescr;
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Equi. Desc. : " + event.result.Equitext.Equidescr + "\n";
    var material:String=event.result.Equimaster.Material;
    SAPIDAliasEquipDesc =event.result.Equitext.Equidescr;
    material=material.substring(14,18);
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Material : " + material + "\n";
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Serial No : " + event.result.Equimaster.Serialno + "\n";
    var costcntr:String=event.result.Equilocation.Costcenter;
    costcntr=costcntr.substring(7,10);
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Cost Center : " + costcntr + "\n";
    CustomerID = event.result.Equisales.Customer;
    This is how we load the policy file.
    Security.loadPolicyFile(
    http://10.10.0.66:8001/sap/bc/bsp/sap/zroot/crossdomain.xml);
    This works fine when we run it from the IDE but throws up an error when we deploy it on the server
    So are we missing something ?
    Is there anything else to be done to overcome the security issue ?
    Thanks in advance.
    Regards,
    Karthik.

    Hi Rich,
    I followed the steps in your video when our system was R/3 4.7 (WAS 6.20) and the test worked fine, i.e. accessing the crossdomain by typing http://server:port/crossdomain.xml.
    I followed the same steps with our new version (we're undergoing an upgrade) but I kept getting the error message:
    "BSP Exception: the BSP URL /crossdomain.xml Does Not Contain Any Application Entries".  Then I saw Ivan post suggesting implementing OSS Note 1260386.  I applied the Note but I got the same error message. 
    Then I ran function ICFBUFFER_INIT to make sure the buffer is cleared, cleared the cache in the browser and still got the same error message.
    Our system is ERP 6.0, NetWeaver 7.0, level 17 (BASIS Component is SAPKB70017).
    Please help.  Thank you.
    Achille.

  • Problem with Xcelsius 2008 sp3 service pack chart slider into adobe flex

    Hello All,
    I tried to use the Xcelsius 2008 SP3 and created a Chart with a slider the new UI element which is introduced in the Service pack versions ..  now i tried to implement the logic in Adobe flex builer 3 setting the compiler properties as hot fix 2.0 . Followed all the rules like creating an action script and creating MXML component.. Now when i try to embed the same swf whic is generated into webdynpro component it gives me error tht some classes or some events or some variables are missing..
    According to my assumption i doubt wether the xcelsius 2008 sp3 will support the adobe flex 3 with this hot fix which i was initialy using .. So can anybody suggest me what can be doen to overcome this issue and make my new chart with slider run in my webdynpro abap :(...
    Regards,
    Sana.

    Hi Sana,
    You might be using Flex 3 sdk library files.
    Just check in Properies of your Flex project -> Flex Build Path -> Library Path .
    You might get the library files as Flex 3.*
    If it is the case then change it to Flex 2.0.1 Hotfix 3.
    now create a new project and compile your application and use the same swf.
    Otherwise try to import any existing Flex 2 project folder with compiler flex 2 ver. then try the same swf in your xcelsius application.
    Regards,
    Vivek

  • Adobe Flex within SAP NetWeaver Developer

    Hello,
    I can't find Adobe Flex within SAP NetWeaver Developer Studio.
    I am using  Version: 7.0.09
    Build id: 200608262203
    Is it necessary to download additional software for it?
    Regards
    sas

    Hi
    NetWeaver provides the ability to develop portal content without programming through Visual Composer (Outside-in approach).
    SAP NETWEAVER VC
    • Visual Composer is a visual modeling tool that enables sophisticated
    content development for the SAP NW Portal merely by dragging and
    dropping appropriate objects and establishing relationships between them.
    No programming required.
    • Visual Composer is completely Web based. Business experts can sit next to
    the business users and access Visual Composer from any machine to build or
    customize to reflect the business needs on demand
    • The purpose of Visual Composer is to provide a visual tool that enable
    customers quick and easy content development thereby
    – Minimize the time and effort to create content
    – Lead to quicker go live decision
    – Reduce Total Cost of Ownership (TCO)
    – Increase ROI
    Please check out the following links:
    http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
    http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
    http://help.sap.com/download/netweaver/nw04/visualcomposer/html/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    Here the installation guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45bfd990-0201-0010-e1b3-a38f22a5b5b2
    For download info check this thread:
    Where to download VC?
    Visual Composer as Modelling Tool
    Models designed in Visual Composer can be deployed to run in one or more technology engines, including SAP HTML/B and Flex. The same model can be deployed to more than one environment, although not all components and controls are fully supported in each. Visual Composer implements a proprietary XML-based Visual Composer Language as its source code for creating the models. Only at deployment is the model actually compiled into the executable code required by the selected UI technology. The result is a model once run
    anywhere capability.The models that you build in Visual Composer are generated in Generic Modeling Language (GML) code. To deploy your application to a portal, the GML code
    must be compiled into a language supported by the portal. During compilation, warnings and possible errors may be discovered, enabling you to check the model validity. The compiled content is deployed directly to the portal, in the runtimeenvironment that you select.In runtime, transactional content can run through HTML/B and Flex, while
    analytic content which may require a more animated environment may run through Flex. The models deployed by Visual Composer to the portal include runtime metadata, which is stored with the model in the PCD and exported in the business package, for delivery to customers.
    Thanks,
    Tulasi Palnati

  • Problem Installing Adobe Flex

    Hi,
    I have installed Adobe Flex. It says an Error occured and says to check the log file.
    This is what the log reads.
    !SESSION 2008-11-28 11:33:28.498 -
    eclipse.buildId=unknown
    java.version=1.5.0_11
    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
    !ENTRY org.eclipse.equinox.app 2008-11-28 11:33:30.342
    !MESSAGE Product com.adobe.flexbuilder.standalone.product could not be found.
    !ENTRY org.eclipse.osgi 4 0 2008-11-28 11:33:30.404
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: No application id has been found.
         at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
         at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
         at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
         at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
         at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
         at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)
         at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    !ENTRY org.eclipse.osgi 2 0 2008-11-28 11:33:30.482
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-28 11:33:30.482
    !MESSAGE Bundle update@plugins/org.eclipse.datatools.connectivity.oda.template.ui_3.0.4.200706071.jar was not resolved.
    !SUBENTRY 2 org.eclipse.datatools.connectivity.oda.template.ui 2 0 2008-11-28 11:33:30.482
    !MESSAGE Missing required bundle org.eclipse.pde.ui_[3.2.0,4.0.0).
    !ENTRY org.eclipse.osgi 2 0 2008-11-28 11:33:30.482
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-28 11:33:30.482
    !MESSAGE Bundle update@plugins/org.eclipse.datatools.connectivity.oda.template.ui_3.0.4.200706071.jar [64] was not resolved.
    !SUBENTRY 2 org.eclipse.datatools.connectivity.oda.template.ui 2 0 2008-11-28 11:33:30.482
    !MESSAGE Missing required bundle org.eclipse.pde.ui_[3.2.0,4.0.0).
    Please help me in this regard.
    Thanks,
    Sai

    Did you installed Flex Builder into it's own directory?  This is a very strange error, Flex Builder is saying that it's missing some core plugins from Eclipse.
    If you have Eclipse no your machine, make sure Flex Builder is installed in a different directory.  Do not install Flex Builder where you have Eclipse installed.
    -d

  • Unable to Check in Business Services in JDE DEMO.

    Hi,
    We have ERP 8.97 JDE tool set installed on our local m/c. We are unable to check in the Business Services (BSSV) object (JP55HOL) in JDE DEMO. We also tried checking in the vanilla BSSV (J0000030) after we had chekced it out, but this also did not work out. We are getting the error: General Error in Method, Check-in. However we had no issues in checking in the regular JDE objects.
    Please help!!!
    -Shahid

    Demo E900 is a big mess, perhaps "Oracle Lab" packaged it this way.
    Do this:
    1- Create a project "Temp"
    2- Check out F986020 & F986030 (only specs available, no table exists in the data source) - if you try to see by UTB or databrowser
    3- Generate table & index in design (take every thing as default)
    4- Now try check-in your BSSVs.
    5 Goodluck

  • "Unable to Check Out File Error" Message

    I'm new to using Adobe products, so forgive me if this is a dumb question! My graphic designer sent me a INDD file to edit the text in and when I try to open it in both InDesign and InCopy, I receive an "Unable to Check Out this File" error message. I just downloaded InDesign CC and InCopy CC (the free trial versions). She said that all settings on her end should allow me to view it. Any help is much appreciated!
    Thank you!

    I've just experienced the same error message in CS4. I got rid of it by going to the Links panel, selecting all the links to Incopy, and Unlinking.

  • PC Users are unable to check Outlook while my (mac) Mail is open

    Ever since I upgraded to 10.4, whenever I have my Mail application open, the PC users are unable to check their IMAP mail through Outlook. The PC Users and myself are all using different accounts, but are checking the same server.
    At first, this seemed like it was a coincidence... but then I shut my powerbook and they could check their again. I have to use a web mail client to check my email when I am on the network at work.
    Any ideas to resolve this issue? Mail is set to check every 5 minutes.

    AA8 and AA9 allow Reader Rights so the user can save the form. This is restricted by the license to 500 uses. In the long run, the only advantage of the Reader Rights is for your users, not for you. You can always import the data into the form and have the same result as they had in the form. It is not necessary to transmit the full form to you, only the data. If you were developing a web form that would likely exceed the 500 uses, you would have to negotiate a price with Adobe for Reader Rights (thousands of $$ should be expected).
    If saving is important in a company environment, not online, then you may want to read the EULA carefully as to the exceptions. You will still have to have at least AA8.
    I guess the printing problem was answered.

  • Unable to load any XML from JAR - Please help!!

    Hi All,
    I am a student in the final days of my degree. I have been working on my final project for some time now, an applet which converts input text to a signal plot for line encoding schemes - AMI, NRZ etc. It is pretty much finished, but one small bug threatens to scuttle the entire project! I have been searching the web all day long for answers with little success, and as the castor forum still appears to be down I am posting here. Any suggestions or advice would be greatly appreciated.
    The applet uses the castor databinding framework to load various XML data. I am using Eclipse 3.01 for development - when the program is run locally as an applet, everything works fine. When the program is bundled into a JAR file and nested into a clean folder with a html page and the jar file, when the command to read in XML is given, a NullPointerException occurs, indicating that castor was unable to access the XML files.
    Below is one of the methods used to make castor load XML data:
         public CodeSet loadCodeXML(String _codesetFilename)
              String _mappingURI = "schema/codes/codesets-mapping.xml";
              String _codesetURI = "schema/codes/" + _codesetFilename;
                    // Create a new Castor mapping object
              Mapping mapping = new Mapping();                         
            try                                                                 // Attempt to load in the selected XML character set
                 mapping.loadMapping(_mappingURI);                    // Initialize 'mapping' with the map file
                Unmarshaller unmar = new Unmarshaller(mapping); // Create a new XML Unmarshaller that uses 'mapping'
                // The line below creates a new CharSet object called _codeset and populates it with the XML data
                CodeSet _codeset = (CodeSet)unmar.unmarshal(new InputSource(new FileReader(_codesetURI)));
                // The character set was successfully loaded, so pass new CharSet object back to caller and end
                return _codeset;
            } catch (Exception e) {
                 // If an error occurs while extracting the XML data, this block will execute:
                JOptionPane.showMessageDialog(null, e);               // Display a message dialog containing the exception error
                return null;                                             // Do not return a CharSet object to caller
         }It would seem to me the problem lies within
              String _mappingURI = "schema/codes/codesets-mapping.xml";
              String _codesetURI = "schema/codes/" + _codesetFilename;I have read that files inside a JAR can be accessed in this way ( http://archive.codehaus.org/castor/user/msg00025.html ) but it won't appear to work.
    If these are set to a full system path (outside any JAR) i.e. "/home/me/proj/schema/codes/codesets-mapping.xml", the application operates fine. Clearly this is no good however, as the XML data must reside within the JAR package. I have tried many permutations such as "jar://schema/..." , "/schema/..", "schema/..", with no success. I have read of using InputStream and getResource methods to access files within the jar but have had no success. I have checked the schema dir is being put into the JAR archive.
    Could anyone suggest an appropriate way of loading XML files from within a JAR file in this context?
    Thanks in advance for any replies.

    Hi, me again..
    Re: mr_doghead - the filename of the file is passed from the calling function
    public CodeSet loadCodeXML(String _codesetFilename)eg loadCodeXML(ami.xml) will return a CodeSet object containing the ami xml data
    Anyway, I've manged to fix it up. The problem actually lies within castor, not my code at all. This is a known bug in castor that the dev's deemed 'not important' to fix, but I have to say the work around is EXTREMLY poorly documented online. Hence, this post is just to say how to fix it up if ne1 else is having trouble...
    To load mappings, use:
    mapping.loadMapping(getClass().getResource(_mappingURI).toString());where _mappingURI is a string such as "/xml/mapfile.xml"
    However, the unmarshalling method takes in a file object, so getResourceAsStream must be used:
    CharSet _charset = (CharSet)unmar.unmarshal(new InputSource(getClass().getResourceAsStream(_charsetURI)));Where CharSet is your custom object you are marshalling into, and _charsetURI is a relative path to your xml file.
    Ugly as hell? Very.
    Does it work? Perfectly.
    take it ez guys, time for me to go hand this sht in! ;D

  • Errors with SharePoint Security Token Service: "The revocation function was unable to check revocation for the certificate"

    I'm getting these errors in the eventlog and ULS, "An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root
    Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: <STS CERTIFICATE THUMBPRINT>\n\nErrors:\n\n RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate."
    The errors point to the SharePoint Security Token Service as the issue ("The revocation function was unable to check revocation for the certificate") reported back by the Topology service.  This is apparent when executing a search, accessing
    the managed metadata service, issuing SPSite commands in Powershell, or anything that needs to run through the "SharePoint Web Services" site.  I've looked at the certificate assigned to that site and everything appears to be in order. 
    It would seem to me to be either an incorrect endpoint configuration (internally cached perhaps?) or related to security access for the configuration database (in order to validate the certificate root).
    What I’ve tried so far:
    I’ve been all over the certificate settings, both in the server store, and within SharePoint Token Service config.  Both appear to be configured correctly such that the root CAs can be validated.
    Re-entered the passwords for the application pool domain accounts to eliminate these as a potential cause.  I’ve also verified the service accounts reporting the error, do have access to the configuration database.
    Re-provisioned the STS service to see if that might clear out any cached issues and validated everything else according to this
    MS Tech note.
    So far nothing has worked.  Is there anything else I could be looking at that I've missed? (Full eventlog detail below)
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          2/20/2015 11:19:41 AM
    Event ID:      8311
    Task Category: Topology
    Level:         Error
    Keywords:      
    User:          <SP SERVICE ACCOUNT>
    Computer:      <SHAREPOINTSERVER>
    Description:
    An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: <STS
    CERT THUMBPRINT>\n\nErrors:\n\n RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>8311</EventID>
        <Version>14</Version>
        <Level>2</Level>
        <Task>13</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-20T17:19:41.213852500Z" />
        <EventRecordID>1611121</EventRecordID>
        <Correlation />
        <Execution ProcessID="10212" ThreadID="10328" />
        <Channel>Application</Channel>
        <Computer><SHAREPOINTSERVER></Computer>
        <Security UserID="<SP SERVICE ACCOUNT>" />
      </System>
      <EventData>
        <Data Name="string0">CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US</Data>
        <Data Name="string1">CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US</Data>
        <Data Name="string2"><STS CERT THUMBPRINT></Data>
        <Data Name="string3">RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
    </Data>
      </EventData>
    </Event>

    Hi Darren,
    This problem seems to occur when an administrator deletes the local trust relationship of the farm from the Security section of the Central Administration website
    In order to resolve this problem, the local trust relationship has to be created. This can be done by running the following PowerShell commands
    $rootCert = (Get-SPCertificateAuthority).RootCertificate
    New-SPTrustedRootAuthority -Name "localNew" -Certificate $rootCert
    After running the above commands, perform an IISReset on all servers in the farm.
    More information:
    http://support.microsoft.com/kb/2545744
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Error while running C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat

    Hello
    I am a flex beginner, when i run the  C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat file the following error is displayed
    Loading Configuration file C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\flex-config.xml
    C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\loaderPanel.mxml
    Error :-1
    Please help me to run the bat file, as it will help me to learn flex independently.
    error message is attached as bmp.
    Thanks in advance.

    Hi,
    Take a look at this report: https://bugs.adobe.com/jira/browse/FB-11626 It might be of help.
    With best regards,
    Barna Biro
    Blog: http://blog.wisebisoft.com

  • Certificate issues Active Directory Certificate Services could not process request 3699 due to an error: The revocation function was unable to check revocation because the revocation server was offline. 0x80092013

    Hi,
    We have some problems with our Root CA. I can se a lot of failed requests. with the event id 22: in the logs. The description is: Active Directory Certificate Services could not process request 3686 due to an error: The revocation function was unable to
    check revocation because the revocation server was offline. 0x80092013 (-2146885613).  The request was for CN=xxxxx.ourdomain.com.  Additional information: Error Verifying Request Signature or Signing Certificate
    A couple of months ago we decomissioned one of our old 2003 DCs and it looks like this server might have had something to do with the CA structure but I am not sure whether this was in use or not since I could find the role but I wasn't able to see any existing
    configuration.
    Let's say that this server was previously responsible for the certificates and was the server that should have revoked the old certs, what can I do know to try and correct the problem?
    Thank you for your help
    //Cris

    hello,
    let me recap first:
    you see these errors on a ROOT CA. so it seems like the ROOT CA is also operating as an ISSUING CA. Some clients try to issue a new certificate from the ROOT CA and this fails with your error mentioned.
    do you say that you had a PREVIOUS CA which you decomissioned, and you now have a brand NEW CA, that was built as a clean install? When you decommissioned the PREVIOUS CA, that was your design decision to don't bother with the current certificates that it
    issued and which are still valid, right?
    The error says, that the REQUEST signature cannot be validated. REQUESTs are signed either by itself (self-signed) or if they are renewal requests, they would be signed with the previous certificate which the client tries to renew. The self-signed REQUESTs
    do not contain CRL paths at all.
    So this implies to me as these requests that are failing are renewal requests. Renewal requests would contain CRL paths of the previous certificates that are nearing their expiration.
    As there are many such REQUEST and failures, it probably means that the clients use AUTOENROLLMENT, which tries to renew their current, but shortly expiring, certificates during (by default) their last 6 weeks of lifetime.
    As you decommissioned your PREVIOUS CA, it does not issue CRL anymore and the current certificates cannot be checked for validity.
    Thus, if the renewal tries to renew them by using the NEW CA, your NEW CA cannot validate CRL of the PREVIOUS CA and will not issue new certificates.
    But it would not issue new certificates anyway even if it was able to verify the PREVIOUS CA's CRL, as it seems your NEW CA is completely brand new, without being restored from the PREVIOUS CA's database. Right?
    So simply don't bother :-) As long as it was your design to decommission the PREVIOUS CA without bothering with its already issued certificates.
    The current certificates which autoenrollment tries to renew cannot be checked for validity. They will also slowly expire over the next 6 weeks or so. After that, autoenrollment will ask your NEW CA to issue a brand new certificate without trying to renew.
    Just a clean self-signed REQUEST.
    That will succeed.
    You can also verify this by trying to issue a certificate on an affected machine manually from Certificates MMC.
    ondrej.

Maybe you are looking for

  • Warning Messages - Hotsync

    I keep getting this warning message in my hotsync log.  I don't know what to do about it.  can anyone point me in the right direction? -- WARNING: Possible database overwrite problem. Backing up database usa_and_canada-08c39cd5.mac to file C:\Program

  • Can't be converted into xml

    I am having problem in converting xml. oracle(7.2.3) -> xi -> sap SELECT MANDT FROM TEMP1 result : MANDT(100) <?xml version="1.0" encoding="utf-8"?> <ns:MT_Businesstrip_Document_Req xmlns:ns="http://xi.ssc.co.kr/XI/PDS_Businesstrip_Document">      <r

  • Connection pooling in multithreaded app results in occasional "Closed Statement" exc"

    Hi there, I'm writing a CORBA servant, which amongst all calls in a stored procedure. I'm using connection pooling (just by example) from multiple threads and use grabbed connection to prepare an SP statement, execute it, and close both statement and

  • Movie playback starts with pink screen

    I'm queuing and playing movies with MediaPlayer When a new movie starts playing for a split second the screen shows pink after which the movie starts playing normally. This is very unwanted as I'm building a multimedia application that will be projec

  • Media creation?

    I downloaded these files to install from. I usually make a backup of the install directories onto cd. That does not seem to be a problem for the base install 10.2.0.1: $ ls -lh Linux_Grid_Control_full_102010_disk* -rw-r--r--@ 1 oracle oinstall 614M M