Flex 4 - Can not get ADG working

Hello,
I have just downloaded flex 4 SDK (flex_sdk_4.0.0.14159_mpl) and Flash Builder 4.
I have created a test prroject and can not get it working with Advanced Data Grids.
Here is my set up:  Created Project called Test, this contains one MXML file that contains an Advanced Data Grid:
<fx:Script>
        <![CDATA[
            import mx.collections.HierarchicalData;
            [Bindable] private var _test:HierarchicalData;
        ]]>
</fx:Script>
<mx:AdvancedDataGrid id="test" dataProvider="{_test}">
   <mx:columns>
       <mx:AdvancedDataGridColumn headerText="COL_A" />               
       <mx:AdvancedDataGridColumn headerText="COL_B" />               
       <mx:AdvancedDataGridColumn headerText="COL_C" />               
    </mx:columns>
</mx:AdvancedDataGrid>
This works Okay.  I then include a libary into the project, the libary, also built with the same SDK, contains a class that contains nothing but one single method that does nothing:
<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:s="library://ns.adobe.com/flex/spark"
           xmlns:mx="library://ns.adobe.com/flex/mx"
           width="100%" height="100%">
    <fx:Script>
        <![CDATA[
            import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
            private function test(col:AdvancedDataGridColumn):void { }
        ]]>
    </fx:Script>
</mx:Canvas>
Launcing now causes the error
TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at mx.controls::AdvancedDataGridBaseEx/getSeparator()[E:\dev\4.0.0\frameworks\projects\datav isualization\src\mx\controls\AdvancedDataGridBaseEx.as:4618]
    at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[E:\dev\4.0.0\frameworks\proj ects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4660]
    at mx.controls::AdvancedDataGrid/createHeaderSeparators()[E:\dev\4.0.0\frameworks\projects\d atavisualization\src\mx\controls\AdvancedDataGrid.as:2428]
    at mx.controls::AdvancedDataGridBaseEx/drawSeparators()[E:\dev\4.0.0\frameworks\projects\dat avisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4574]
    at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\ datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:2119]
    at mx.controls::AdvancedDataGrid/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\datavi sualization\src\mx\controls\AdvancedDataGrid.as:2899]
    at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[E:\dev\4.0.0\frameworks\p rojects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:3468]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:718]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
Removing the method in the libary project alivates the problem.  But I can not see why this is a problem in the first place!!??!?!?!?!?!?!?
Can anyone help. this is really weird.

I'm getting the same error. This is due to a bug in AdvancedDataGridBaseEx.  The offending code is:
            var headerSeparatorClass:Class =
                getStyle("headerSeparatorSkin");
            sepSkin = new headerSeparatorClass();
if getStyle returns null then you will be trying to instantiate  headerSeparatorClass is going to cause the "Instantiation attempted on a non-constructor" error.
Apparently someone thought that the headerSeparatorSkin would never be null.

Similar Messages

  • Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It te

    Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It tells Adobe doesnT support my System. But I can not update my old version or activate it. What can I do?

    The mac you want to install photoshop cs2 on is running mac os x 10.6.8 Snow Leopard?
    (photoshop cs2 won't run on intel macs with mac os x newer than snow leopard)
    Did you ever have cs2 installed on this particular computer before?
    If the problem is that you already installed cs2, but it won't activate, that's because adobe took the activation servers offline for some older adobe products such as cs2.
    You'll need to use the non activation version of cs2 from here and the supplied serial number:
    Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products

  • My printer is on line i just can not get it working on my laptop

    my printer is on line i just can not get it working on my laptop

    Hi @murphyett , 
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Printer and not working Wirelessly. Here is a link to the HP Print and Scan Doctor. The HP Print and Scan Doctor will run a check on your system.
    What is the model of printer? I would be happy to assist if needed as there are many models of HP Printers I would need the model number. How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Activatable RMI - can not get to work

    Hi
    I am desperate to get activatable RMI to work. I tried the Sun tutorial example and even that I can not get to work.
    I would really appreciate it if someone can highlight where my stupidity lies.
    Here are my sources:
    Remote Interface:
    package compute;
    public interface Compute extends java.rmi.Remote
    void executeTask() throws java.rmi.RemoteException;
    Client code:
    package client;
    import compute.*;
    import java.rmi.*;
    public class Client
    public static void main(String[] args)
    if (System.getSecurityManager()==null)
    System.setSecurityManager(new RMISecurityManager());
    try
    Compute comp=(Compute) Naming.lookup("//"+args[0]+"/ComputeIT");
    comp.executeTask();
    System.out.println("returned");
    catch (Exception e)
    System.out.println("Exception caught!");
    System.out.println(e.getMessage());
    Server Implementation:
    package actengine;
    import compute.*;
    import java.rmi.*;
    import java.rmi.activation.*;
    public class ActServerImp extends Activatable implements Compute
    public ActServerImp(ActivationID id,
    MarshalledObject mobj) throws RemoteException
    super(id,0);
    public void executeTask() throws RemoteException
    return;
    Server Setup program:
    package actengine;
    import compute.*;
    import java.rmi.*;
    import java.rmi.activation.*;
    import java.util.Properties;
    public class ActServerSetup
    public static void main(String args[])
    try
    System.setSecurityManager(new RMISecurityManager());
    Properties props=new Properties();
    props.setProperty("java.security.policy",
    "/u/pretora/java/rmi/actsrv/security.policy");
    ActivationGroupDesc.CommandEnvironment ace = null;
    ActivationGroupDesc agd=new ActivationGroupDesc(props,ace);
    ActivationGroupID agi=ActivationGroup.getSystem().registerGroup(agd);
    // ActivationGroup.createGroup(agi,agd,0);
    String location="file:/u/pretora/java/rmi/actsrv/";
    MarshalledObject data=null;
    ActivationDesc ae=
    new ActivationDesc(agi,"actengine.ActServerImp",location,data);
    Compute cri=(Compute)Activatable.register(ae);
    System.out.println("Remote reference obtained");
    Naming.rebind("ComputeIT",cri);
    System.out.println("Remote reference bound to registry");
    // System.exit(0);
    catch (Exception e)
    System.out.println("ActServerSetup caught "+e);
    e.printStackTrace(System.out);
    If I run the lot (rmiregistry and rmid (with security pol!)) I get the following exception on the server side:
    java.io.StreamCorruptedException: InputStream does not contain a serialized obje
    .at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:855)
    .at java.io.ObjectInputStream.<init>(ObjectInputStream.java:174)
    .at sun.rmi.server.MarshalInputStream.<init>(MarshalInputStream.java:102)
    .at sun.rmi.server.ActivationGroupInit.main(ActivationGroupInit.java:52)
    the client side just times out:
    failed to activate object; nested exception is:
    java.rmi.activation.ActivationException: timeout creating child process
    It does work if I uncomment the 2 commented lines in the server setup progam and let rmid use the setup program's JVM to instantiate the ActServerImp.
    Any ideas much appreciated. Thanks

    I finally found my problem. By changing the codebase string in ActServerSetup.java from file:/// to http:// URL, I was able to see in Apache HTTP server's log the 404 errors for my interface classes. The line that read
    String location="file:/u/pretora/java/rmi/actsrv/";
    had to be changed to
    String location="file:///u/pretora/java/rmi/actsrv/ file:///u/pretora/java/rmi/common/";
    Now I am all set.
    thanks

  • Static NAT pass-through; can not get to work

    I am not having any luck getting a static NAT pass-through to work.
    BM3.8/NW6.5 all patched to the latest patches (no betas). IPFLT is NOT
    loaded.
    My internal network on one LAN all have 10.100.xxx.xxx private addresses.
    Dynamic NAT works great.
    I have secondary public IP addresses bound to my public NIC. Static NAT
    mapping between the secondary public IP addresses and the couple of
    individual private addresses work just fine. In other words, all has been
    working fine.
    I need to give one of those internal resources its public IP address
    (change it's private to its public).
    OK, I went into the NAT table and changed the proper public <-> private to
    public <-> public (identical addresses). I changed the internal computer
    to it's public address/mask with the same default gateway the server is
    using. The internal computer can now only ping itself; can't even ping
    it's default gateway. I did reinitialize, and also restarted. I can not
    get the pass-through connection to work.
    Any thoughts will be well received.
    Bob

    Robert,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • HT1420 how do i Deauthorize a computer that has had the hard drive lock up and can not get it working

    how do  i deauthorize a computer that has had the hard drive lock up and can not get it working

    You can only deauthorise individual computers directly on them. Otherwise if you've reached the 5 computer limit, then you should be able to log into your iTunes account and 'deauthorise all' (which you can only do once every 12 months) and you can then (re-)authorise up to 5 computers : authorising and deauthorising.

  • Can not get Netboot working across subnets

    On the same subnet all my images work correctly, but once I try to netboot form a different subnet it doesn't work anymore.  I am correctly using the bless command, and I have tried both specifying the server (to get the default image) and specifying the booter file (to get the specific image).  If I just use the --server option the log shows BSDP inform and BSDP ACK[LIST] but nothing after that... there is no select.  Again, on the same subnet it will use select and work normally.  If I use the --booter option then sometimes I can get the netboot to start but I get an error (for example, AST says there was a network error and NetInstalls do not start).
    I do know that this used to work, and in the process of changing computers and upgrading to Lion server it stopped working.  Any ideas?

    Depending on your network configuration it maybe that the simplest option is to multi-home your NetBoot server so it is visible on each subnet. Multiple servers is of course another option.
    However have a look at the information on the following links and see if any of it helps.
    http://macadmincorner.com/3-ways-to-netboot-across-subnets/
    http://afp548.com/forums/topic/netboot-across-subnets-intel/

  • Can not get relay working. Airport utility gets confused!

    I am trying to help my friend setup his two Airport Extremes, using one as a relay. I am not sure what the model numbers they are because I am back at my home right now and I do not have access to them. They are both white and they both have USB ports.
    I spent about four hours last night trying to set up one of the base stations as a relay with no success. I kept getting an error message (in the network system preferences control panel) on the one that I was trying to set up as a relay that said it could not connect to the internet because it was using a self-assigned IP address. I could not figure out where is was pulling the IP address from. It was in a range much different than what it should have been. I was expecting to see something in the range of 10.0.0.5 and it was using an IP address that began with 67.x.x.x. Any suggestions on how to resolve this problem?
    While I was trying to program the base stations I named them "Downstairs" and "Upstairs" so I could easily tell them apart. While trying to set up the relay it seemed like the Airport Admin Utility (version 4.2 under Panther) kept getting confused as to which one it was programing. I would change certain settings on one of the base stations and after quitting out of the utility and reopening it I would notice that the settings got applied to the wrong one. This happened numerous times and I can assure you that it was not a user error.
    Some basic questions about how the Airport relay works.
    When a relay is setup and working properly how does the network appear in the airport signal meter in the menu bar, do I see both airports or do I just see the main airport? If when the relay is setup properly you only see the main airport (instead of seeing the actual name of the relay airport in the menubar) how can you tell which airport you are actually connecting to?
    If you walk around the house with a laptop will the computer automatically connect to the strongest airport signal or will it lock into just one of them and stay there?

    Take a look at the diagram in this article:
    http://docs.info.apple.com/article.html?artnum=107454
    Note that Apple has specific terminology for base stations in a WDS setup:
    - a main base station. This is usually the one connected to the incoming broadband internet service
    - a remote base station. This wirelessly extends the range of either a main base station, or a relay base station.
    - a relay base station. This connects wirelessly to a main base station, and can itself have remote base stations associated with it.
    Your friend has two Airport Extremes. I suspect one is being used as the main base station. Therefore the second is being set up as a remote base station (NOT a relay) using Apple's terminology.
    What I suggest:
    1. unplug the second Base Station from power
    2. use the Airport Admin Utlity to view the configuration of the main base station. Under the Airport tab, make sure the box next to "create a closed network" is NOT checked. Under the Access Control tab, remove ALL entries. Under the WDS tab, remove ALL entries and uncheck all boxes. Update settings to the base station.
    3. do a hard reset of the second base station per:
    http://docs.info.apple.com/article.html?artnum=107451
    4. make sure both base stations and the Airport card equipped Mac being used to perform the configuration are all (for now) located in the same room.
    5. run the Airport Setup Assistant. Follow its guidance to configure the second base station as a new base station that "extends" the existing wireless network created by the main base station.
    That's it!
    In the most common setup, the remote base station will have the same wireless network name and will transmit on the same channel as the main base station. Under the Airport menu you will only ever see ONE wireless network. You can use a wireless network "sniffer" application - it will tell you that there are in fact two different access points and tell you which you are connected to. A WDS network is seamless - as you walk between base stations, the mobile computer will automatically associate with the base station from which it can get a reliable signal connection.

  • Flash player on a htc 8x . windows device can not get to work

    need help with installation. Some games I want to play for example on Facebook . Require adobe flashayer I go to download and nothing happens. On adobe site even again nothing happens . Tried to pull up device capatibility list for mobile devices didn't bring it up. Is there an app I can use I did not find anything that I could see for this in my market place
    can someone help.me out .

    Adobe stopped all development of Flash for Android devices in 2012. There are alternatives, but you'd have to check Android forums http://forums.androidcentral.com/google-nexus-7-tablet/225113-alternative-flash.html

  • How do I get to talk with someone?  You sold me a product I can not get to work and I want my money back!

    I have tried to contact customer support and have waited forever.  I am very frustrated and just ready to call it quits.

    This is a user to user forum.  We are customers just like you. You will need to contact Adobe for a refund if that is your desire:
    Contact | Adobe
    If you wish to describe your problem, maybe somebody here can offer a solution.

  • IVE PAY FOR MY PACKAGE BUT CAN NOT GET IT WORK

    IT KEEPS TELLING ME TO UPDATE

    Hi Valentine,
    Did you subscribe to one of the Acrobat online services? If so, have you tried signing in with your Adobe ID and password? That message can often mean that you just haven't signed in yet. (It can also mean that your subscription hasn't processed yet, so you may want to log in to www.adobe.com and look under My Subscriptions and Services. Make sure that the subscription you purchased is "Active."
    Please let us know how it goes.
    Best,
    Sara

  • Cisco Flex Connect and users can not get IP Address by WAN

    Hello my name is Ivan
    I have a wlc 5508 with license base to 50 aps, i use a deployment flex connect. I already registered all my access points, I use web authentication to authenticate users guest, and the service dhcp is in the central site.
    My issue is the users in each remote site, can not get an ip address by dhcp from the central site, they can authenticate in the guest ssid, but any users can not get an ip.
    The request is passing by the wan in this way
    Central Site DHCP - Router WAN - Remote Site - Users with notebooks. I use flex connect central deployment (all the traffic consulting to the wlc) .
    perhaps i should use local deploy? The wlc is in the central site.
    Can you help me to resolving this issue please? , perhaps any advice?
    Regards
    Ivan.

    Thanks Osita
    If I configure Central Authentication and  I configure central switching I need to create a dynamic interafce for each remote site and each dynamic interface associated with a different VLAN ID, because I can not associate a single interface dynamic to the same  VLAN ID, but in my case the client remote in each remote site have the same network segment with the same VLAN ID with the same SSID for guests. My goal is to configure web authentication with the local DHCP server at each remote site, will this work?.Each remote site have its own server dhcp.
    If I configure authentication central authentication with central switching with web authenticacion as I set in my scenario?
    My issues are the interfaces dynamics, because I have the same network to the customer guest with the same ID VLan in each remote site
    Regards

  • I have a pioneer 50 inch plasma   I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.   The receiver has two HDMI  inputs in the back.

    I have a pioneer 50 inch plasma + I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.
    The receiver has two HDMI  inputs in the back.  However they say they are not for PC's.  Furthermore they must be set up by going to the home menu.    I tried everything, but I can not get the receiver to talk to the Apple TV. I even tried a connector that uses an HDMI to the Apple TV that has the other side of the cable as 5 RCA cables.  I could not get the receiver to see the Apple TV.   I have a newer TV in the house, it has no problem talking with the Apple TV.  But this older system seems to be handicapped in its ability to talk with the newer Apple TV system.
    My Email is [email protected] 
    Do you have any suggestions
    Thanks
    Bob

    I could not access the Apple TV on the television.   If I put the Apple TV directly into by TV, I have an external sound system (entertainment system), therefore I worry that I would by pass the audio.
    Thanks for taking your time to attempt to help!   Any more suggestions would be greatly appreciated.
    Bob

  • HT204053 I can not get my Icloud to work on my iphone and ipad since i set up my new email addy on Apple Icloud won't let me change it on those devices ...Plz Help Shey

    I can not get my Iphone or ipad to except the new email address that is now on Apple so nothing will back up or work on Icloud on those devices Thx plz help Sheyw

    With iCloud on the phone, you will need to remove the account, then add it back in with the new address.  It is a bit awkward, but the only way to change the AppleID for the iCloud account login is to delete the account then add it back with the new credentials.  You won't loose anything as the iCloud account is still the same one, you just need to re-associate the AppleID credentials for it on the iPhone.

  • I have seen all the early responses to how to fix AOL mail issues on Iphones, however no mater how many smpt servers I set up or on .... I can not get AOL mail to send from my Iphone 5, running IOS 6.  I have an Iphone 4 running IOS6 and it works fine...

    I can not get the Iphone 5 to send out aol mail.  I have added the extra smtp server as suggested and it still will not send mail.

    I am having the same problem. Sometimes it works and sometimes it doesn't. I called apple restored my phone to its original and it did not work :-( Now it seems like it worked for a bit than stopped again. Now I have to contact Apple again to set up an appointment at an Apple store because it may be an issue with my phone. I have only had it for a week and half!

Maybe you are looking for

  • "Error at invoice posting"

    Hi all, i am getting an error while posting invoice to G/L accounts saying " Only output tax allowed for account 175000, VN is not allowed" i also tried to deactivate tax code VN. but the error still presist. where should i make the settings. Thanks

  • T400 and T61 Dim Display problem...​.

    Good day,      I am having extremely strange problem, and would apreciate any help. I also experiencing this exact problem with a T61 laptop. The display screen is extremely dim. I have changed the LCD Panel, LCD Cable, Inverter Card as well as the S

  • Part of my headphones plug broke off in the port. how do i get it out? the genius bar said their tweezers would not fit

    part of my headphones plug broke off in the port. how do i get it out? the genius bar said their tweezers would not fit

  • Item wise billing

    Dear All, we want to know Item wise billing for a given single sales order.one sales order has say 4 items.Now i want to do billing 4 times that is each item with one bill. How to acheive this scenario.Reward points are assured for your timely help.

  • Alternative of ocx i n10g

    Hi! what to do with activex as it is obsolete in 10g. where i will find help or documents about that. thanx