Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class

Hi,
I have a Flex (4.1.0) project, which has many skinnable custom components. The application allows a user to choose another style which changes these skins via loading a new compiled CSS. These non-default skins are in a separate Flex project.  I've not had a problem with this method until now.
The custom component I am skinning contains several icons which are defined in the component like this:
[SkinPart(required="true", type="mx.core.IVisualElement")]
public var componentIconHelp:IFactory;
then I use the iconRendererFunction to return the appropriate component part:
private function iconRendererFunction(item:Object):IFactory
     //truncated method    
     return componentIconHelp;
Within the skin for "style1", I then have
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
     xmlns:s="library://ns.adobe.com/flex/spark"
     xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:style1="resources.style1.*">
<!-- host component -->
<fx:Metadata>
     [HostComponent("myApp.components.ButtonComponent")]
</fx:Metadata>
<fx:Declarations>
     <fx:Component id="componentIconHelp">
          <style1:HelpButtonIcon />
     </fx:Component>
</Declarations>
When I try to compile this, I get the "Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class 'resources.style1.ButtonComponentSkinInnerClass0'" error.
If I remove the HelpButtonIcon from the <fx:Component> declaration, and just put it in the main body of the skin, it compiles and renders, but I need it to be a component (there's multiple components I have to choose from to display, similar to the ButtonBar skin).
Any ideas why it's not compiling and what I need to do to achive this?
Thanks

Thanks, one step closer (or further away :-)
I tried adding the airspark.swc to the library path for the project and it made no difference so I added:
-external-library-path /Applications/Adobe Flash Builder 4/sdks/4.0.0/frameworks/libs/air/airspark.swc
to the external tools configuration and now get the error:
command line: Error: unable to open 'Flash'
The project itself runs fine, it's only the ASDocs that's causing problems.

Similar Messages

  • Cannot compile Library project in Flash builder 4: Unable to locate specified base class

    I am migrating from Flex builder 3 to Flash builder 4, during that process I found that Flash builder could'nt compile Flex Library projects which contains components in the form of mxml files. Compiler throws "Unable to locate specified base class".
    I have narrowed it down to by creating a flex library project named test library, below its screenshot with its package structure
    ControlA is based on componentA
    when i compile this project, mxml compiler throws this error
    Unable to locate specified base class 'components.componentA' for component class 'ControlA'.
    I cannot upload project code because file uploads are disabled on this forum so I am going to paste the code for both componentA and controlA
    componentA
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" width="400" height="300">
    </mx:Canvas>
    ControlA
    <?xml version="1.0" encoding="utf-8"?>
    <components:componentA xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" width="400" height="300">
    </components:componentA>
    To further test it, I have made another library project with same package structure using pure AS3, and it compiled without errors

    It might be this happens and other errors if you forget to Run Flash Builder 4.5 Buritto and startup the other version FB4.
    It uses the same project listings and that can be confusing since you're not expecting the old version to be aware of new Buritto (MobileApplications) projects you added (thinking) only to the BETA version installed elseware no doubt.
    Well it might not be your problem but worthy of noting for other's I'm sure.
    Otherwise you've double checked you're using SDK 4.5 Hero with it too! right?

  • Server 3.1.2: Unable to locate search base: -1 Can't contact LDAP server

    Hello all—
    I've been getting repeated errors below in my system.log.  I'm running OS X 10.9.3 with Server version 3.1.2.  I've replaced my actual server name with "my.servername.net" in the log entries. Thanks for any advice!  —michael
    May 30 17:47:03 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:04 my.servername.net PasswordService[1345]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:04 leo com.apple.launchd[1] (com.apple.PasswordService[1345]): Exited with code: 1
    May 30 17:47:04 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:06 my.servername.net xscertd-helper[1351]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:06 leo com.apple.launchd[1] (com.apple.xscertd-helper[1351]): Exited with code: 1
    May 30 17:47:06 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:09 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:14 leo com.apple.launchd[1] (org.openldap.slapd[1359]): Exited with code: 1
    May 30 17:47:14 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:14 my.servername.net PasswordService[1363]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:14 leo com.apple.launchd[1] (com.apple.PasswordService[1363]): Exited with code: 1
    May 30 17:47:14 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:16 my.servername.net xscertd-helper[1365]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:16 leo com.apple.launchd[1] (com.apple.xscertd-helper[1365]): Exited with code: 1
    May 30 17:47:16 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:20 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:25 leo com.apple.launchd[1] (org.openldap.slapd[1371]): Exited with code: 1
    May 30 17:47:25 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:25 my.servername.net PasswordService[1375]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:25 leo com.apple.launchd[1] (com.apple.PasswordService[1375]): Exited with code: 1
    May 30 17:47:25 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:26 my.servername.net xscertd-helper[1377]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:26 leo com.apple.launchd[1] (com.apple.xscertd-helper[1377]): Exited with code: 1
    May 30 17:47:26 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:30 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)

    Unfortunately this problem wasn't solved this way.  After dragging the Server.app to the trash and then retrieving it ("Put Back") and launching it, and re-starting services, my problem still persists.
    Here are relevant system.log file entries. (Note the hostname is "leo"—I've changed the FQDN to leo.myservername.net):
    Jun  6 22:57:31 leo.myservername.net PasswordService[1011]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    Jun  6 22:57:31 leo com.apple.launchd[1] (com.apple.PasswordService[1011]): Exited with code: 1
    Jun  6 22:57:31 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:32 leo.myservername.net xscertd-helper[1014]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    Jun  6 22:57:32 leo com.apple.launchd[1] (com.apple.xscertd-helper[1014]): Exited with code: 1
    Jun  6 22:57:32 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:34 leo.myservername.net xscertd[333]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    Jun  6 22:57:40 leo com.apple.launchd[1] (org.openldap.slapd[1016]): Exited with code: 1
    Jun  6 22:57:40 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    Jun  6 22:57:40 leo.myservername.net com.apple.SecurityServer[22]: Session 100004 created
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    Jun  6 22:57:41 leo com.apple.launchd[1] (com.apple.PasswordService[1024]): Exited with code: 1
    Jun  6 22:57:41 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:42 leo.myservername.net xscertd-helper[1028]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    Jun  6 22:57:42 leo com.apple.launchd[1] (com.apple.xscertd-helper[1028]): Exited with code: 1
    Jun  6 22:57:42 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:45 leo.myservername.net xscertd[333]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    Also, for what it's worth, "Open Directory" in the Server.app has no settings within it. Nor will it stay "on." I'm not using OD per se, and am happy to leave it off, but it's possible the errors above are preventing it from running.
    Thanks for any other solutions. —michael

  • Unable to locate module base.

    Whenever I launch a .swf file, a cachelog appears and when I open it, all it says is:
    [DllMain] Cache loaded.
    [DllMain] Unable to locate module base.
    Please help!

    Please help!!!

  • Windows 2000 laptop seems unable to locate extreme base station?

    I've bought a new Imac and extreme base station - i've wired my cable internet through the Wan port into the Extreme and then through a cable into the Imac and this works fine but despite the fact that my extreme base station has been configured and the green light is showing, my IBM thinkpad (running windows 2000) is unable to locate it? It can find other Wifi networks in the area which suggests it is working? Any ideas? I have changed the wireless security to WEP but still no joy? Thanks Paul

    Hello PaulWilliams...Welcome to the Apple Discussions!
    First, try temporarily disabling WEP (or any) encryption on the 802.11n AirPort Extreme Base Station (AEBSn), and then try accessing the Internet wirelessly with your Windows 2000 laptop.
    If successful, I'd suggest using WPA or WPA2, instead of WEP, for your wireless security...assuming that your Windows 2000 laptop supports these. If you must use WEP, then you will need to provide the "Equivalent Network Password" to the laptop in order for it to connect wirelessly.

  • Link between Class and characteristics created for that class

    Hi All,
    Is there any table that I can look at to find a link between class and the characteristics created for that class. For all the list of characteristics created I am refereing to CABN table but my requirement is to find the logic to see all the characteristics created for a class. Can anyone suggest me the right table to look at?
    Regards,
    Shane

    Hi,
    I would like to thank you for your quick response. So based on your thoughts, here is the process i followed to find the characteristics for a existing class,  took the Internal class number and used the KSML table to find all the Characteristics created for that class.
    To find the list of values assigned to that characteristics, used the AUSP table for that characteristics internal number.
    Thank you again for your inputs
    Shane.

  • Class not Found Execption for inner classes

    Hi ,
    When I am trying to deploy a custom component despite of putting the class path I am facing isses regarding class not found for classes that are present in an inner jar.Can someone please let me know what could nbe wrong.Please let me know the correct way of doing so.
    I am adding a data type as well and adding the path thre also.
    Regards,
    Leena

    The most common problem is in the path part of the class-path.  One thing to remember is not to bother with .. or / at the start of the path.  For example my jar files are in a lib folder off the root of my application:
    <class-path>lib\aglj40.jar lib\pdfcore.jar lib\pdfencryption.jar lib\pdfservices.jar lib\rideau.jar</class-path>

  • FM/BAPI for assigning a class and value for the class instead of manually d

    Hi guys,
    Instead of manually adding equipment class and assigning value for the class added can i get a FM or BAPI.
    this is for transaction IE02.
    rewards will be given.

    Hi
    I hope this thread can help you
    Characteristic Value
    Re: Equipment Characteristic Value
    Change Equipment Using Transaction IE02
    Regards
    pavan

  • Tables for material class...

    hi,
    i have material number and i want to find class of this material number. which table(s) can i use?

    Hi,
    You can find out in an indirect way...
    Go MM03 for your material...
    IN Classification tab...the system will ask you to choose the material class..go on for each class..which ever is the class defined that matrial is the real one..
    Regards,
    Priyanka.P
    AWARD IF HELPFULL

  • Unable to locate class: com.iplanet.portalserver.auth.service.LoginServlet

    Trying to access the portal server via http://portalserver:port get a
    500 error response. Looking at the error logs I find this:
    [05/Dec/2001:08:46:34] warning (21789): Unable to locate class:
    com.iplanet.portalserver.auth.service.LoginServlet
    (java.lang.ClassNotFoundException:
    com.iplanet.portalserver.auth.service.LoginServlet)
    [05/Dec/2001:08:46:34] warning (21789): Internal error: Failed to get
    GenericServlet. (uri=/login,SCRIPT_NAME=/login)
    Any thoughts?
    -matt

    Found the problem...
    The iPlanet Portal server jars files where not specified in the
    webserver's jvm12.conf file.
    -matt
    Matt MacDonald wrote:
    Trying to access the portal server via http://portalserver:port get a
    500 error response. Looking at the error logs I find this:
    [05/Dec/2001:08:46:34] warning (21789): Unable to locate class:
    com.iplanet.portalserver.auth.service.LoginServlet
    (java.lang.ClassNotFoundException:
    com.iplanet.portalserver.auth.service.LoginServlet)
    [05/Dec/2001:08:46:34] warning (21789): Internal error: Failed to get
    GenericServlet. (uri=/login,SCRIPT_NAME=/login)
    Any thoughts?
    -matt

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • ERROR: Unable to locate system class: java/lang/String

    I have swtiched from running my application using sun jvm to using microsoft jvm. When i run it i get the following error:
    ERROR: Unable to locate system class: java/lang/String
    java -classpath out;etc..etc myclass
    has become
    jview -cp:a out;C:\build\rt.jar;etc..etc myclass
    any ideas?

    Search for the old "MS SDK for Java 4.0" somewhere (no, you can't find it at Microsoft's site).
    There are two files that you have to get: sdkdocs40.exe (a file with 10,895,496 bytes) and SDKJava40.exe (a file with 20,222,928 bytes).
    Use the embedded jvc compiler to recompile your program. Beware: try not to rely too much in jvc. Use it only for discover that you're using methods not implemented in JDK 1.1.8, but don't use it for deploying your app.
    You'll discover that you'll have to rewrite large portions of your program, and even change your program specifications to deal with the reduced functionality of the old MS JVM (for instance, say that you'll need to change the 'modified date' of a file.
    In JDK >= 1.2 there's the method File.setModified(); in MS JVM you'll need to use some com.ms.wfc function.

  • Patching WebLogic server - Unable to locate the specified product directory

    We are trying to apply the October CPU patch to our WebLogic 10.3.6 installation on Windows Server 2003.  However, when we run the below command:
    bsu -install -patch_download_dir=E:\ofm11g\utils\bsu\cache_dir -patchlist=BYJ1 -prod_dir=E:\ofm11g\wlserver_10.3
    We receive this error:
    Unable to locate the specified product directory.[E:\ofm11g\wlserver_10.3]
    That directory is valid.  We are running two instances using this WLS installation - Oracle Reports 11.1.1.6 and Oracle Portal 11.1.1.6.  We are trying to apply the patch with the same user that installed the software.
    I was able to successfully run this command on a different server that runs Oracle Internet Directory 11.1.1.6.
    Any ideas?

    I was able to fix this by ensuring that E:\ofm11g\wlserver_10.3 contained two files: .home and .product.properties.  After I copied these from a different server and edited to fit my environment, I was able to successfully install this patch.

  • Internal error: Unable to locate class: com/iplanet/ias/server/J2EERunner

    When trying to troubleshoot why I am getting "connection refused" for samples/jaxrpc/simple I found I am getting the following errors in server.log.
    [08/Sep/2003:16:08:41] INFO (17045): CORE3016: daemon is running as super-user
    [08/Sep/2003:16:08:41] SEVERE (17045): CORE4011: Internal error: Unable to locat
    e class: com/iplanet/ias/server/J2EERunner
    [08/Sep/2003:16:08:41] SEVERE (17045): CORE3187: Late initialization failed: Err
    or running init function(late) init-j2ee: unknown error
    I'm running on RedHat 7, kernel 2.4.20-20.7, with Java j2sdk1.4.2_01. The env $PATH includes /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/opt/oracle/product/9.2.0/bin:/root/bin:/usr/java/j2sdk1.4.2_01/bin:/opt/SUNWappserver7/bin
    I did not see anything else that I need to configure in the environment other than [Install home]/bin in $PATH. I found nothing about special $CLASSPATH settings.
    Anybody have any ideas?

    Hi Steve,
    I don't know what does internal error means, may be you could set the log level to fine to get more detail error messages.
    I remember myself getting "connection refused" exception.I resolved it by referring the troubleshooting section in the docs shipped with sample on resolving this error.
    Get back if still have any issues.
    -Amol

  • REP-0059: Unable to locate resources for subcomponent 'DE'.

    Hi,
    I am working on Report Builder: Release 3.0.5.8.0.
    When I run the command r30run I am getting the following error -
    Report Builder: Release 3.0.5.8.0 - Production on Wed Apr 20 15:54:38 2005
    Copyright (c) Oracle Corporation 1979, 1996. All rights reserved.
    REP-0059: Unable to locate resources for subcomponent 'DE'.
    Check the location of resource file.
    Previously I did not have the $ORACLE_HOME/reports30/mesg folder and hence I was getting the error -
    REP-0001: Unable to find the Report Builder message file. Please verify your installation.
    My id does not have access to the files in mesg folder.
    Could this be a reasn for the REP-0059 error.
    Please advise.
    Thanks in advance,
    Sumit

    hello,
    it looks as if there was somenting wrong with your installation. i am a bit concerned that you are using a product that old. there is no support available for this product as it has been de-supported for several years now.
    i would strongly suggest you move to a more recent release.
    thanks,
    ph.

Maybe you are looking for

  • How do I stop Thunderbird from erasing all my emails over a mont old.h

    I have Thunderbird on my office (Windows XP Professional) and personal (Windows XP home) desk top computers and my lap top (Windows 8.1) My office and lap top retain all my emails in my inbox until I deal with them but my personal desk top deletes th

  • How to call custom BSP application (copied from standard)

    Hi, I came across 1 interesting link in SDN. [Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment] My requirement is also similar. I need to copy the HRRCF_TRM_SRCH application. I know how to make the changes for the logic (like

  • Scrolling semi-transparent panels

    I have a parent panel that paints a custom background. Within that panel, I embed another panel held by a JScrollPane. My intent is to have the custom background show through on the panel that is being scrolled. To accomplish this, I set both the scr

  • How do I know if my sent mail was received and read?

    Hi-is it possible to mark my outgoing mail in such a way that I can be notified when the recipient has opened/read it? I know you can do this in other programs-does Mail offer this option? Thanks for any insights into this.

  • Reverse Engineering : Getting Layout from SamrtForm OTF.

    Hi All, I need to get the layout and content in a particular Window, Template, Table,..... from the OTF generated from SamrtForm Output. Well, the requirement seems to be a bit meaningless, but why do I need it ? I need it since I wanted to convert m