BackgroundDisabledColor in sdk 4.1

Hi,
In sdk 3.5 we use backgroundDisabledColor="#666666" in mx textInput component.
how can I do the same in sdk 4.1?
Thanks!

I try using styles but still not working.
This is my code in my CSS file:
@namespace mx "library://ns.adobe.com/flex/mx";
mx|TextInput:disabled {
    contentBackgroundColor: #666666;
Any CSS guru?
Thanks

Similar Messages

  • Error in Printing Crystal Report Directly to Printer using SDK Code

    Hello ,
    I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
    as (Document Number).But While running the Code the Report is not getting printed and also the system is
    not able to fetch the correct data in the report using the supplied parameter .
    I am using Visual Studio 2005 Crystal Report dll s in my code :-
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports
    Imports System
    Imports System.Data.SqlClient
    Imports System.IO
    For Clarification i am pasting my code below :-
                Dim oRpt As ReportDocument
                oRpt = New ReportDocument
                oRpt.Load(Path)
                With crConnectionInfo
                    .ServerName = Server
                    .DatabaseName = Database
                    .UserID = User
                    .Password = Password
                End With
                CrTables = oRpt.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
                oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
                If Printer <> "" Then
                    oRpt.PrintOptions.PrinterName = Printer
                End If
                oRpt.PrintToPrinter(Copies, False, 0, 1)
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    Please suggest me what i have to do in my code to print the report with correct data in report.
    Thanks & Regards,
    Amit

    k

  • Print a report in crystal Report using SDK

    Hi Dear;
    any body can publish a sample code how can i print a report built in crystal report using SDK?
    regards;

    Hi Dany,
    Hope the following code will help u .
    before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
    for this you have to decalre commantype as stored procedure.
    first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
    Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
            Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                rptView.ReportSource = rptDoc
                rptView.Show()
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = False
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "rptForm"
                oFrm.Text = "rptForm"
                oFrm.ResumeLayout(False)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                oApplication.MessageBox(ex.Message)
            End Try
        End Sub

  • Is there a way to create a virtual network using C# and the Azure SDK/API?

    I don't see a clear way to create an Azure Virtual Network using the SDK.
    I have all the methods to create the virtual network configuration, but no way to submit it:
    IList<string> VirtualNetworkAddressPrefixes = new List<string>();
    IList<string> LocalNetworkAddressPrefixes = new List<string>();
    IList<NetworkListResponse.DnsServer> DNSServers = new List<NetworkListResponse.DnsServer>();
    IList<NetworkListResponse.Subnet> Subnets = new List<NetworkListResponse.Subnet>();
    NetworkListResponse.Gateway Gateway = new NetworkListResponse.Gateway();
    IList<NetworkListResponse.LocalNetworkSite> LocalSites = new List<NetworkListResponse.LocalNetworkSite>();
    IList<NetworkListResponse.Connection> Connections = new List<NetworkListResponse.Connection>();
    VirtualNetworkAddressPrefixes.Add("a.b.c.d/cidr");
    DNSServers.Add(new NetworkListResponse.DnsServer() { Name = "TestDNS1", Address = "a.b.c.d" });
    Subnets.Add(new NetworkListResponse.Subnet() { Name = "Subnet-1", AddressPrefix = "a.b.c.d/cidr" });
    Subnets.Add(new NetworkListResponse.Subnet() { Name = "GatewaySubnet", AddressPrefix = "a.b.c.d/cidr" });
    Connections.Add(new NetworkListResponse.Connection() { Type = LocalNetworkConnectionType.IPSecurity });
    LocalNetworkAddressPrefixes.Add("a.b.c.d/cidr");
    LocalSites.Add(new NetworkListResponse.LocalNetworkSite()
    Name = "On-Prem",
    Connections = Connections,
    VpnGatewayAddress = "a.b.c.d",
    AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = LocalNetworkAddressPrefixes }
    Gateway.Sites = LocalSites;
    Gateway.Profile = GatewayProfile.ExtraLarge;
    NetworkManagementClient netMgmtClient = new NetworkManagementClient(CloudCredentials);
    NetworkListResponse netlistresp = GlobalSettings.mainWindow.netMgmtClient.Networks.List();
    netlistresp.VirtualNetworkSites
    .Add(new NetworkListResponse.VirtualNetworkSite()
    Name = "TestVirtualNetwork",
    AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = VirtualNetworkAddressPrefixes },
    DnsServers = DNSServers,
    Subnets = Subnets,
    AffinityGroup = "East US",
    Gateway = Gateway,
    Label = "LabelValue"
    I have also created the entire XML response and sent it to the NetworkManagementClient -> Networks.SetConfiguration() method, but it appears this command expects the virtual network to already be in existence. If anyone could give guidance, it would be
    appreciated.

    Hi,
    As discuss above , we have to create the XML response  ,before that first you have to
    GetConfiguration() details of existing virtual network. 
    string.format("@<NetworkConfiguration xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration'>
                <VirtualNetworkConfiguration>
                <Dns />
                <VirtualNetworkSites>
                <VirtualNetworkSite name=""{0}"" Location=""{1}"">
                <AddressSpace>
                <AddressPrefix>10.0.0.0/8</AddressPrefix>
                </AddressSpace>
                <Subnets>
                <Subnet name=""Subnet-2"">
                <AddressPrefix>10.0.0.0/11</AddressPrefix>
                </Subnet>
                </Subnets>
                </VirtualNetworkSite>",Networkname,location)+(@"<VirtualNetworkSite name=""demodsf1"" Location=""West Europe"">
            <AddressSpace>
              <AddressPrefix>10.0.0.0/8</AddressPrefix>
            </AddressSpace>
            <Subnets>
              <Subnet name=""Subnet-1"">
                <AddressPrefix>10.0.0.0/11</AddressPrefix>
              </Subnet>
            </Subnets>
          </VirtualNetworkSite>  </VirtualNetworkSites>
                </VirtualNetworkConfiguration>
                </NetworkConfiguration>")
    you have to append the node for existing node with new values , i got it its adding new virtual network 
    Best regards,

  • How to find out which event is triggered in SDK

    Hi all
    From SDK, I am would like to know which event is triggered when the user select navigation menu Follow up -> Create Lead (screen 1).
    I am guessing, it calls LeadCreateWithRef outport event but I don't see any absl code?? (screen 2)
    When I try to switch from Display to Edit, I got error "Component which you are trying to edit comes from a lower layer. Please use Extensibility Explore to Edit" (screen 3)
    Also in Extensibility Explorer, I can't open the button details (can't even see it in the buttongroup).
    Any advice is welcomed.
    Thanks
    Anthony

    Hi Meghna
    Thanks for the info. I am trying to do reverse engineering, to understand how to existing UI screen is built, how and what events get called when button is pressed and which screen will be opened.
    For example, in Ticket screen, when I select Follow up then Create Lead:
    I cannot drill down to see the button and its properties??
    nb. Also there is no left right scroll bar to see the rest of button group. Is it a bug?? I am using Windows 8.1.
    And in outport setting, I don't see which action/event triggered? and what screen to show?
    Thanks again,
    Anthony

  • Error while running SDK Component on Server Side

    hello,
    I have a SDK Issue. I've created a gauge using jgauge ( jgauge - jGauge is a dial gauge that is simple, powerful, and 100% javascript and css. - Google Project Hosting ) in a SDK Component, and it's work fine in Localhost, In order to change the Image of the gauge, I've used 64bit convertor and the out come is this:
    the problem start when I've upload it to the server and tried run the Dashboard on Open Document / LanchPad.
    the component came out really messed up, all the canvas component created by the application are scattered:
    The problem repeats in every browser (EI, Mozila, Chrome). Product info:
    Design Studio 1.2 SP01
    BO 4.1 SP02
    have anyone faced this kind of problem or any other problem in uploading SDK component to server?
    thanks.

    I think you problem is on the following error.
    Manifest fetch failed (404)http://***/BOE/OpenDocument/1312081147/zenwebclient/manifest.appcacheopenDocument.faces?logonSuccessful=true&shareId=0bttoken=MDAwRGoxU2JUMTtMVFZZXTFQRG1MRzBLTDQ5YWpvM…:1
    Because all the others there i see on my SDK and it works.
    When you execute it locally, those same errors appears?
    And I have no clue what you have wrong there, but since the error mentions the MANIFEST, you should take a look there, here is example of one working.
    Manifest-Version: 1.0
    Bundle-ManifestVersion: 2
    Bundle-Name: ComboBox
    Bundle-SymbolicName: com.leandro.gp.combobox;singleton:=true
    Bundle-Version: 2.3
    Require-Bundle: com.sap.ip.bi.zen.rt.components.sdk.eclipse
    Bundle-Vendor: Leandro
    Make sure that the SymbolicName and Bundle Version are the same as in your contribution.xml.
    Hope this helps.
    Best
    Leandro

  • Error while running SDK application in XIR2 server machine

    Hi all,
    Thanks for your support provided so far.
    I have developed a .NET sdk application to extract the metadata from the XI-R2 universe and report files. I'm able to run the application in my machine. But when I run my tool in the server machine which has XI-R2 installed in it, it throws the following error.
    System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {DCDC6F02-5766-11D0-AF14-00A0C912DCDD} failed due to the following error: 80040154.
    I have referred the Busobj.dll and Designer.Dll in the application to extract metadata. These DLL's are embedded along with the application.
    Am I missing any Dll's? Kindly help me.

    Thanks Ted.
    Yes I looked the CLSID, it refers the Desktop Intelligence Application and the following keys under the CLSID are as follows:
    1. InProcHandler32-- Ole32.dll
    2. Localserver32  -- C:\BusinessObjects\BusinessObjectsEnterprise 11.5\win32_x86 busobj.exe /Automation
    3. ProgID -- BusinessObjects.Application.11
    4. VersionIndependentProgID --BusinessObjects.Application
    Kindly help me.

  • Help needed in using oracle rules SDK

    Hi,
    For testing my rulesets using oracle rules SDK I doing the following:
    1. Creation of dictionary, ruleSet.
    2. Declared two kinds of globalVariable variables in my datamodel :
    Final and non-Final.(Type of these varaibles are String and Double only)
    3. Final globalVaraibles are used in creating rule's patterns.
    4. Non-Final globalVariables are used in creating rule's action.
    5. Functions are created for asserting globalVariables values and
    returning non-final varaibles, since those are required as action
    results.
    6. In java code I am testing my ruleset (dict.testRuleSet()). Before
    testing i am populating my final global variables (since these are used
    in rule's patterns),
    and updating datamodel.
    The above procedure is working fine and I rules are successfully working.
    Now, first of all i want to know if the above mentioned approach is correct or it needs to be reframed??
    secondly, when i update datamodel with values (in java code itself) it
    takes 4-5 seconds in updating it. This is the main issue that why it is
    taking this much time??
    any comment would be of great help.
    Thanks in advance.

    I will send up an alert for you, Colin. Even though I use iTunes for Mac, troubleshooting it isn't my forté.

  • Windows phone 8.1 SDK want to install on WINDOWS 8.1 PRO 32bits...how can i ?

    windows phone 8.1 SDK want to install on WINDOWS 8.1 PRO 32bits...how can i ?
    is there any patch or any other version for windows 8.1 32 bits..to run win phone SDK..?

    Hi,
    According to the reference about Windows SDK, you should install it on a 64 bit system:
    http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx
    Regards
    Wade Liu
    TechNet Community Support

  • Converting Acrobat 7 SDK -built plug-in to Acrobat 9

    We have a plug-in developed inhouse with Acrobat 7 SDK. We are looking for someone with SDK programming experience to help us port it for Acrobat 9. We tried ourselves using Xcode compiler, but it seems that the plug-in is not showing up either as a Menu item nor as a tool icon.
    I understand that it may be a very simple problem, which somehow we miss resolving, but since our original programmer is no longer with us, we need some help in porting the tool to Acrobat 9 Pro.
    If interested, or have a suggestion, please call me at 216-252 7300 ext. 2684.
    Andrzej

    NoSmoking,
    Thanks for the reply. Since I am not the programmer you may need to just bear with me a bit, if you can.
    First, the app is running on OSX (10.3.9 - 10.5.11) - hence the use of XCode as compiler. I checked About Adobe Plug-ins list in 9 Pro which shows loaded plug-ins and our UpdatePage4Layer.acroplugin is not there. Unless there is another way to look at the loaded plug-in list, I cannot find it.
    Second, could you explain the check using PluginInit method? There is a section in the project's code which covers PluginInit, but I am not sure how I can use it:
    /* PluginInit
    ** The main initialization routine.
    ** Return true to continue loading plug-in.
    ** Return false to cause plug-in loading to stop.
    ACCB1 ASBool ACCB2 PluginInit(void)
    return MyPluginSetmenu();
    I also searched for AVMenuItemNew in the project's code and here is what I found:
    // Create our menuitem
    menuItem = AVMenuItemNew (MyMenuItemTitle, MyMenuItemName, NULL, true, NO_SHORTCUT, 0, NULL, gExtensionID);
    AVMenuItemSetExecuteProc (menuItem, ASCallbackCreateProto(AVExecuteProc, MyPluginCommand), NULL);
    AVMenuItemSetComputeEnabledProc (menuItem,
    ASCallbackCreateProto(AVComputeEnabledProc, MyPluginIsEnabled), (void *)pdPermEdit);
    // get advanced menu
    advancedMenu = AVMenubarAcquireMenuByName (menubar, "Advanced");
    endToolsGroup1MenuItem = AVMenubarAcquireMenuItemByName(menubar, "endToolsGroup1");
    ASInt32 sepIndex = AVMenuGetMenuItemIndex(advancedMenu, endToolsGroup1MenuItem);
    // add new menuitem under AcrobatSDK Sub Menu
    if(bUnderAcrobatSDKSubMenu) {
    // Acquire the common "AcrobatSDK" sub menu.
    commonMenu = AVMenubarAcquireMenuByName (menubar, "AMGR:AG_Plugins");
    // if "AcrobatSDK" sub menu is not existing, create one under Advanced menu.
    if (!commonMenu) {
    commonMenu = AVMenuNew ("AG Plugins", "AMGR:AG_Plugins", gExtensionID);
    commonMenuItem = AVMenuItemNew ("AG Plugins", "AMGR:AG_Plugins", commonMenu,
    false, NO_SHORTCUT, 0, NULL, gExtensionID);
    bCreatedCommonMenu = true;
    AVMenuAddMenuItem(advancedMenu, commonMenuItem, sepIndex);
    // add new menu item to Acrobat SDK sub menu
    AVMenuAddMenuItem (commonMenu, menuItem, APPEND_MENUITEM);
    // or directly add new menu item under Advanced menu
    else {
    endToolsGroup1MenuItem = AVMenubarAcquireMenuItemByName(menubar, "endToolsGroup1");
    ASInt32 sepIndex = AVMenuGetMenuItemIndex(advancedMenu, endToolsGroup1MenuItem);
    AVMenuAddMenuItem(advancedMenu, menuItem, APPEND_MENUITEM);
    AVMenuRelease(advancedMenu);
    AVMenuItemRelease(endToolsGroup1MenuItem);
    AVMenuRelease (commonMenu);
    HANDLER
    if(endToolsGroup1MenuItem)
    AVMenuItemRelease(endToolsGroup1MenuItem);
    if (advancedMenu)
    AVMenuRelease (advancedMenu);
    if (commonMenu)
    AVMenuRelease (commonMenu);
    return false;
    END_HANDLER
    Then I found also instructions to get the tool bar button (which BTW did not work in Acrobat 8):
    //add button to toolbar
    DURING
    // Create the main toolbutton. We position it just before the end of the
    // tools group of buttons.
    toolsSeparator = AVToolBarGetButtonByName(toolBar, ASAtomFromString("endSelectToolsGroup"));
    toolButton = AVToolButtonNew (ASAtomFromString("AMGR:UpdatePG4Layer"),GetToolButtonIcon("UpdatePG4Icon","png"), true, false);
    // You must set the internal/external nature of the toolbutton
    // before adding it to the toolbar. Buttons are internal by default.
    // AVToolButtonSetExternal (toolButton, TOOLBUTTON_EXTERNAL);
    AVToolBarAddButton (toolBar, toolButton, true, toolsSeparator);
    AVToolButtonSetExecuteProc (toolButton,
    ASCallbackCreateProto(AVExecuteProc, MyPluginCommand), NULL);
    AVToolButtonSetComputeEnabledProc (toolButton,
    ASCallbackCreateProto(AVComputeEnabledProc, MyPluginIsEnabled), (void *)pdPermEdit);
    AVToolButtonSetHelpText (toolButton, "AG Plugins:UpdatePG4Layer");
    HANDLER
    return false;
    END_HANDLER
    return true;
    However I do not know where I can find AVMenuItemNew&#12289, or is that expression a combination of separate items?
    Thanks again for your help,
    A.

  • PDF Portfolio SDK setup - Navigator project wizard in Flex Builder 4.6 does not show

    Hello, Experts
    I am trying to build PDF Custom Navigator using Adobe PDF Portfolio SDK; however, for some reason, when performing step 3 of installation, Navigator project wizard in Flex Builder  (  4.6 ) would not show;
    The plugins have been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    The NavigatorSupport folder has been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse and ( just in case ) to
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\
    any advice would be greatly appreciated
    Best Regards,
    -Alex

    as per Joel's recommendation, used 4.5 instead - that worked just fine

  • Datagrid Image Renderer Broken in CS SDK but not Flex project

    Within a Photoshop Extension, I have a DataGrid which has an inline custom image renderer whose dataprovider is an ArrayCollection called "photos"  representing a list of photos and some metadata properties.  One of the properties "fileName" is concatenated with a path to a thumbnail image such as source="{'LR_AUTO/imported/thumbs/' + data.fileName}".
    The dataprovider is bound to a LCDS DataService. When the extension is first launched, the dataservice initializes the dataprovider with the existing values for the "photos" arraycollection.  The thumbnail images are correctly shown.
    However, when the DataService receives a new row and updates the photos dataprovider, the datagrid's new row shows a broken image for the thumbnail even though the path is correct.  I have dumped the photos dataprovider and verified that all information is correct.  When I close Photoshop and relaunch it from Flash Builder, once again LCDS initializes the photos ArrayCollection and THEN the thumbnail that previously showed as broken show up correctly.
    I have a ColdFusion Directory Watcher Gateway that watches a directory where Lightroom auto-imports images from a tethered capture session.  When the camera sends Lightroom a new image, the new image is processed by Lightroom and moved to a target directory, and since ColdFusion's Directory Watcher is watching that targeted directory, ColdFusion will create a thumbnail image in a subfolder and notifiy LCDS that of the new image and related metadata.
    *** This is the interesting part *** When Lightroom places new images in the target directory, this is propogated to the Photoshop Extension's datagrid, and the new row shows up as described earlier, showing a broken image for the thumbnail.  BUT, instead of Lightroom, if I manually copy images to the folder where ColdFusion is watching, then exact same code path is exectuted and in the Photoshop Datagrid the new row appears and THE THUMBNAIL IMAGE shows up correctly.
    The difference seems to be only in how the images are put in the original target location.  The problem is when Lightroom puts them there, but it works when I put them there as a user.
    *** More Interesting Info *** I have the Flex code for the Photoshop Extension duplicated in a standalone, non-CSSDK project using Flex 3.4 which I launch in a browser.  I have mirrored the code in the Photoshop extension, but in this manner, the problem does not exist.  With plain Flex 3.4 in a browser, whenever LCDS notifies the datagrid of a new photo record, the datagrid's new row ALWAYS shows the thumbnail correctly.
    A primary difference in how the thumbnail image is rendered is that in a browser, the Flex 3.4 project accesses the image assets over the network, however, in the Photoshop Extension, the image asset WITH THE SAME RELATIVE PATH is accessed over the local file system.
    source="{'LR_AUTO/imported/thumbs/' + data.fileName}"
    So in the case of the browser, this path is a relative URL and the image is retrieved over HTTP, however, in the PS Extension, the same path represents a file system path relative to the project folder.
    Unfortunately, because the Flash Player (including APE) cannot access BOTH the network and the local filesystem, so I cannot change the Extension to use network access.
    ** The important part to remember is that when I stop the Flash Builder debug session and close Photoshop, then relaunch the debug with Photoshop, then all the images show up correctly in the Extension.
    Your advice is appreciated.
    Thank you!
    Steve
    ====================================================
    Environment
    ====================================================
    Photoshop CS5 Extended 12.01 x32
    Flash Builder 4
    CS SDK 1.02
    Extension Builder SDK 3.4
    MacBook Pro / OS X 10.5 / Intel Core 2 Duo 2.66 GHz / Procs: 1 / Cores: 2 / Memory: 8 GB
    App configured for Photoshop CS5 and Photoshop CS5 Extended
    ====================================================
    NewsAgencyPhotoshop.mxml
    ====================================================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="com.stevenerat.news.*"
                    horizontalScrollPolicy="off" verticalScrollPolicy="off" verticalGap="0"
                    layout="vertical" horizontalAlign="left"  backgroundColor="#353535"
                    historyManagementEnabled="false"
                    creationComplete="init();">
        <mx:Script>
                public function handlePhotoClick(data:Object):void {
                    this.PreviewImageWindow = PreviewImage(PopUpManager.createPopUp(this,PreviewImage,true));
                    var filePath:String = data.dirPath + data.fileName;
                    PreviewImageWindow.addEventListener("imageOpenEvent",imageOpenListener);
                    PreviewImageWindow.addEventListener("imageCloseEvent",imageCloseListener);
                    PreviewImageWindow.addEventListener("imageSavedEvent",imageSaveListener);
                    PreviewImageWindow.setFileName(data.fileName);
                    PreviewImageWindow.setFilePath(filePath);
                    PreviewImageWindow.y = 0;
                    PreviewImageWindow.x = 0;
            ]]>
        </mx:Script>
        <mx:ArrayCollection id="photos"/>
        <NewsPhoto/>
        <mx:DataService id="ds" destination="NewsAgencyPhotos" autoSyncEnabled="true" autoCommit="true" conflict="conflictHandler(event)"/>
        <mx:Label text="News Agency Photos" fontSize="20" paddingBottom="30"/>
        <mx:Label text="Available Images" fontSize="15"/>
        <mx:DataGrid id="photoIPTC" dataProvider="{photos}" editable="true" width="220" rowCount="5" rowHeight="75" wordWrap="true">
            <mx:columns>
                <mx:DataGridColumn headerText="id" dataField="fileName" width="40" editable="false" sortDescending="true"/>
                <mx:DataGridColumn dataField="psLock" width="65" headerText="Status" editable="false" editorDataField="value">
                    <mx:itemEditor>
                        <mx:Component>
                            <mx:ComboBox editable="false">
                                <mx:dataProvider>
                                    <mx:String>New</mx:String>
                                    <mx:String>Open</mx:String>
                                    <mx:String>Edited</mx:String>
                                </mx:dataProvider>
                            </mx:ComboBox>
                        </mx:Component>
                    </mx:itemEditor>
                </mx:DataGridColumn>
                <mx:DataGridColumn headerText="Photo" dataField="fileName" width="80" editable="false">
                    <mx:itemRenderer>
                        <mx:Component>
                            <mx:HBox horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off">
                                <mx:Image click="outerDocument.handlePhotoClick(data);" source="{'LR_AUTO/imported/thumbs/' + data.fileName}" width="75" height="75"/>
                            </mx:HBox>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>
    ====================================================
    A DUMP OF THE DATAPROVIDER
    in this case, one array item existed when launched, then a second was added
    while running.  The first has its thumbnail show, the second item has broken image
    ====================================================
    ------------------DUMP----------------------------
    (mx.collections::ArrayCollection)#0
      filterFunction = (null)
      length = 2
      list = (mx.data::DataList)#1
        fillParameters = (Array)#2
        length = 2
        localItems = (Array)#3
          [0] (com.stevenerat.news::NewsPhoto)#4
            aperture = "F10"
            cameraLens = "EF24-70mm f/2.8L USM"
            cameraModel = "Canon EOS 7D"
            city = ""
            copyrightNotice = "¬© Steven Erat 2011"
            country = ""
            creator = "Steven Erat"
            description = ""
            dirPath = "/Users/stevenerat/LR_AUTO/imported/"
            fileName = "ERAT_STEVEN_20110122_162.jpg"
            focalLen = "42.0 mm"
            headline = ""
            id = 1
            iso = "100"
            keywords = "Alt, Dramatic, Fashion, Girl, Glamorous, Glamour, Inked, Model, Portrait, SOPHA"
            psLock = "New"
            shutterSpeed = "1/128 sec"
            state = ""
          [1] (com.stevenerat.news::NewsPhoto)#5
            aperture = "F10"
            cameraLens = "EF24-70mm f/2.8L USM"
            cameraModel = "Canon EOS 7D"
            city = ""
            copyrightNotice = "¬© Steven Erat 2011"
            country = ""
            creator = "Steven Erat"
            description = ""
            dirPath = "/Users/stevenerat/LR_AUTO/imported/"
            fileName = "ERAT_STEVEN_20110122_163.jpg"
            focalLen = "42.0 mm"
            headline = ""
            id = 2
            iso = "100"
            keywords = "Alt, Dramatic, Fashion, Girl, Glamorous, Glamour, Inked, Model, Portrait, SOPHA"
            psLock = "New"
            shutterSpeed = "1/128 sec"
            state = ""
        uid = "8BAC025E-60D1-11F1-3654-44BDB0D218CE"
        view = (mx.collections::ArrayCollection)#6
          filterFunction = (null)
          length = 2
          list = (mx.data::DataList)#1
          sort = (null)
          source = (null)
      sort = (null)
      source = (null)
    ------------------END_DUMP------------------------

    I expected that if my extension uses the local filesystem AND the network that I would get a Security Sandbox Exception as I recently described in this thread:
    http://forums.adobe.com/thread/791918?tstart=0
    However, I just tried changing my datagrid image renderer to access the thumbnail via HTTP and the thumbnail issue after Lightroom export does not happen.
                <mx:DataGridColumn headerText="Photo" dataField="fileName" width="80" editable="false">
                    <mx:itemRenderer>
                        <mx:Component>
                            <mx:HBox horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off">
                                <mx:Image click="outerDocument.handlePhotoClick(data);" source="{'http://localhost:8500/LR_AUTO/imported/thumbs/' + data.fileName}" width="75" height="75"/>
                            </mx:HBox>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
    Furthermore, I can also open the image via the Photoshop DOM, and it does open correctly.  It seems that I do have a solution now, although I'm not certain as to why I'm not getting a Security Sandbox Exception as I described in the other post.
    Thanks for reading.

  • Error when starting Java(TM) ME Platform SDK 3.0

    hey guys, I get this error when starting Java(TM) ME Platform SDK 3.0. When I installed it it installed 'successfully' and then I double clicked the file on the desktop (I'm using Windows Vista 32bit Home premium) and it gave me the following error when saying 'Starting Modules':-------------------------------------------------------------------------------
    Log Session: Sunday, February 13, 2011 1:52:25 PM GMT
    System Info:   Product Version         = Java(TM) ME Platform SDK 3.0
      Operating System        = Windows Vista version 6.0 running on x86
      Java; VM; Vendor        = 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09; Sun Microsystems Inc.
      Runtime                 = Java(TM) SE Runtime Environment 1.6.0_23-b05
      Java Home               = C:\Program Files\Java\jdk1.6.0_23\jre
      System Locale; Encoding = en_GB (cdctoolbar); Cp1252
      Home Directory          = C:\Users\Molten Ice
      Current Directory       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\bin
      User Directory          = C:\Users\Molten Ice\javame-sdk\toolbar\3.0
      Installation            = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\ide10
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\java2
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\mobility8
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\profiler2
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9
      Boot & Ext. Classpath   = C:\Program Files\Java\jdk1.6.0_23\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_23\jre\classes;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunpkcs11.jar
      Application Classpath   = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_23\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_23\lib\tools.jar
      Startup Classpath       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
    WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-javame-common.jar!/org/netbeans/modules/javame/common/resources/layer.xml
    WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-e2e.jar!/org/netbeans/modules/e2e/layer.xml
    WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
    WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
    [      0]   INFO - ootstrap.PropertyEditorManager - Registering custom property editors
    [    117]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [    217]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [    317]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [    417]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [    523]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [    627]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [    732]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [    832]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [    932]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [   1032]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   2166]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   2268]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
    [   3384]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   5476]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   7576]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   9677]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  11777]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  13877]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  15977]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  18077]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  20177]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  22277]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  23379]  ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
    java.lang.reflect.InvocationTargetException
         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 com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
         ... 24 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
         ... 27 more
    Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
         ... 32 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         ... 37 more
    SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
    Caused: java.lang.reflect.InvocationTargetException
         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 com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
    [catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
         at java.lang.Thread.run(Thread.java:662)
    [  23598]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  23698]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  23798]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  23898]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  23998]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  24098]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  24198]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  24298]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  24398]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  24498]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  24600]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  24700]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  24800]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  24900]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  25000]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  25100]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  25202]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  25302]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  25402]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  25502]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  25602]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  26699]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  26799]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
    [  27914]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  30005]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  32106]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  34206]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  36306]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  38406]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  40506]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  42607]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  44706]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  46806]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
    [catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
         at java.lang.Thread.run(Thread.java:662)
    [  48018]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  48118]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  48218]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  48318]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  48418]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  48518]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  48618]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  48718]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  48818]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  48918]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  49018]   INFO - bootstrap.ObjectGraphPI did install Nokia's SDK with NetBeans and this works perfectly.
    I went through with everything recommended here: http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn
    But nothing worked.
    Any help appreciated!
    Thanks.

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • How to Installing AIR3 SDK in Adobe Flash CS5.5?

    Hi All,
    Can  anyone help me, with installing AIR3 SDK in Adobe Flash CS5.5?,
    I try to extract rename AIR3.0 to AIR2.6 and copy to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5" and
    try to extract and add AIR3.0  to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5"
    But it's not work, I don't see publish for runtime AIR3.0.
    Thanks,
    Porawee

    Ok dasessig, I will explain step by step with my solved for WIN version reference from original http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/.
    * I have installed only Adobe Flash Professional CS5.5, not need CS5.0, I don't test in OSX version but i think it's same as WIN version.
       1.  Download and extract the latest AIR 3.0 SDK.  and extrack to AIR2.6.
            Note : I got this file "air3_rc1_sdk_win_090611.zip" and extrack files to "AIR2.6"
       2.  Download and install Adobe Flash CS5.5.
       3.  Closed Flash Professional CS5.5.
       4.  Place the folder in either of the following locations:
              WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\
              OSX: Applications/Adobe Flash CS5.5/
            Note : It's will replace WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\AIR2.6
       5.  Create new folder name "AIR3.0" in "Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/"
       6.  Browse to the Adobe\Adobe Flash CS5.5\AIR2.6\frameworks\libs\air\ and copy airglobal.swc.
       7.  Paste the SWC "airglobal.swc" file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR3.0/.
       8.  Browse to Adobe Flash CS5.5/Common/Configuration/Players/ and copy "AdobeAIR2_6.xml" and paste to new copy file.
       9.  Rename new copy file "AdobeAIR2_6.xml" to "AdobeAIR3_0.xml".
            Note : Make sure you rename new copy file NOT original file "AdobeAIR2_6.xml"
      10.  Open and Edit "AdobeAIR3_0.xml" to match below xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <players>
      <player id="AdobeAIR3_0" version="13" asversion="3" minasversion="3">
        <name>AIR 3.0</name>
        <publishobject2 id="Air2_5" version="2.6" intversion="2.6"></publishobject2>
        <path platform="WIN">Air2_5.dll</path>
        <path platform="MAC">Air2_5.bundle</path>
        <playerDefinitionPath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />   
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"     supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <encodingPresets>
            <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
        </encodingPresets>
      </player>
    </players>
    11.  Run Adobe Flash CS5.5 > File > New... > ActionScrip 3.0
      12.  Now you have new file "Untitled-1.fla" then add below code to frame 1.
            import flash.desktop.NativeApplication;
            trace(NativeApplication.nativeApplication.runtimeVersion);
      13.  goto menu File > Publish Setting...   select target Player : AIR 3.0
      14.  Test with menu Control > Test Movie > in AIR Debug Launcher (Desktop)
      15.  Finally, you should have output in panel like this :
             [SWF] Untitled-1.swf - 2148 bytes after decompression
             3.0.0.3880
      Note : AIR3.0 for iOS and Android is below, you should followed step 1-10 before.
      AIR3.0 for iOS : open and edit "AiriPhone.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="PFI1_0" version="13" asversion="3" minasversion="3">
        <name>AIR for iOS</name>
    <publishobject2 id="Air2_5" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5.dll</path>
    <path platform="MAC">Air2_5.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
       AIR3.0 for Android : open and edit "Android.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="android_0" version="13" asversion="3" minasversion="3">
        <name>AIR for Android</name>
    <publishobject2 id="Air2_5_Android" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5_Android.dll</path>
    <path platform="MAC">Air2_5_Android.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
    Hope it's should work for you.
    Thank,

  • Error (InvalidArgsError) when Printing to a file with Adobe Acrobat 9.0 Interop SDK

    Hi,
    i am getting a error (Invalid arguments) when trying to print to a file with the Adobe Acrobat  SDK 9.0. When i use Adobe Acrobat 7.0 it works correctly. I set the fileName Property as follow:
    printerParamsType.InvokeMember("fileName", BindingFlags.SetProperty, null, printerParams, new object[] { path2RawFile });
    fileName has the value:  /c/temp/Rawfiles/df76eccc-2465-4f60-a4e7-d11d8da6ed64.prn
    [9464] System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Runtime.InteropServices.COMException (0x000003E9): InvalidArgsError: Invalid arguments.
    thanks

    Hello,
    I'm sorry you're having trouble with Acrobat. Unfortunately,
    these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Any questions related to the Acrobat family of desktop
    products would be best suited in the Acrobat Forums:
    Link to
    Acrobat Forums
    Thanks!
    Michelle

Maybe you are looking for