XML element "userComments" of variable "UserComments" is not defined error while deploying AccountDistribution composite to soa server

Hi,
We did deploying AccountDistribution composite to soa server hosted in our test environment but We could not succeed as the following error was thrown on compilation itself in Jdeveloper.
<snip>
     Error(124): XML element "{http://xmlns.oracle.com/InvoiceSynchronization/AccountDistribution/AccountDistribution}userComments" of variable "UserComments" is not defined
<snip>
We have had 4 variables defined with element attribute in our AccountDistribution bpel
<variable name="UserComments" element="client:userComments"/>
and for every variable we are coming up with this error on composite deployment.
We have tried multiple workarounds like deleting SCA-INF of AccountDistribution that is auto generated by Jdeveloper etc but but no luck, we are still coming up with same error.
We back traced for the element's definition i.e userComments definition and we could find the definition in xsd stored in MDS as per configuration.
Please provide your advise on how to proceed further on this issue.
Thanks,
Satheesh

Hi Nicolas,
adf-config.xml is for all the composites present in the project, but we are getting this error in only 1 composite, our other composites are working fine without any error.
We tried creating a new variable with type element and getting same error.
Thanks
Satheesh

Similar Messages

  • " User not authorized" error while deploying webdynpro application on WAS

    I am getting following error while deploying dyn pro application on WAS
    Error
    May 17, 2005 6:37:21 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Settings
    SDM host : DYNPRO
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/720359/LOCALS1/Temp/temp50603PVTOSAP.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/720359/LOCALS1/Temp/temp50603PVTOSAP.ear
    Aborted: development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [DYNPRO] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted
    Additional Log :
    May 17, 2005 6:37:21 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [002]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7162 - 630_SP]/>
    <!NAME[D:\usr\sap\DYN\DVEBMGS00\SDM\program\log\sdmcl20050517131312.log]/>
    <!PATTERN[sdmcl20050517131312.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    May 17, 2005 6:43:12 PM  Info: -
    Starting deployment -
    May 17, 2005 6:43:12 PM  Info: Loading selected archives...
    May 17, 2005 6:43:12 PM  Info: Loading archive 'D:\usr\sap\DYN\DVEBMGS00\SDM\program\temp\temp50603PVTOSAP.ear'
    May 17, 2005 6:43:14 PM  Info: Selected archives successfully loaded.
    May 17, 2005 6:43:14 PM  Info: Actions per selected component:
    May 17, 2005 6:43:14 PM  Info: Update: Selected development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08' updates currently deployed development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.09.04.27'.
    May 17, 2005 6:43:15 PM  Info: Error handling strategy: OnErrorStop
    May 17, 2005 6:43:15 PM  Info: Update strategy: UpdateAllVersions
    May 17, 2005 6:43:15 PM  Info: Starting: Update: Selected development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08' updates currently deployed development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.09.04.27'.
    May 17, 2005 6:43:15 PM  Info: SDA to be deployed: D:\usr\sap\DYN\DVEBMGS00\SDM\root\origin\local\PVtoSAP\LOKAL\0.2005.05.17.18.37.08\temp50603PVTOSAP.ear
    May 17, 2005 6:43:15 PM  Info: Software type of SDA: J2EE
    May 17, 2005 6:43:15 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    May 17, 2005 6:43:15 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    May 17, 2005 6:43:15 PM  Error: Aborted: development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [DYNPRO] with user name: [J2EE_ADMIN]
                        Check your login information.
                        Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    May 17, 2005 6:43:17 PM  Error: -
    At least one of the Deployments failed -

    Hi Abhijeet,
    1. Execute the remoteGUI
    <<Installed drive>>:\usr\sap\J2E\JC00\SDM\program\RemoteGui.bat
    2. Click the "Connect to SDM server" (Menu "SDM GUI --> Login")
    3. Give the hostname (DYNPRO) and port (50018)
    4. Enter the password and click login.
    Check whether you are able to login or not. If you are not able to login through the RemoteGUI, then the password might be wrong. Check the password.
    Regards,
    Santhosh.C

  • "Limits not Defined " error while saving IT0008 in sap hr

    Hi Experts
    While trying to Hiring an employee, infotype0008 showing Limits not defined error and not allowing to save the record. I checked table V_T510 and V_T510N. All the limits defined in right way. Please check and advice. I attached copy of screen shot for your reference.
    Regards
    Prakash Bhave

    Hi Remi
    Thanks for your reply. As per your reply I followed procedure and it allowed me to save Basic Pay Infotype (0008)
    Thanks a ton.
    Regards
    Prakash Bhave

  • "Content account is not defined" error while trying to checkin a document

    Hi, all
    I am running ECM integration samples included on SDK (included on file ContentIntegrationSuite_10gR3_20081218.zip, folder "oracle-cis-10g\samples\CodeExamples\src\java\com\stellent\cis\sdk\samples"), and I got the error "Content account is not defined. Unable to validate user security." when running the ChekinFile.java sample.
    I could successfully run the ServerInfo.java with no problems, and I expected to run the other example as easily as that.
    Is there any configuration I must change on ECM to run this sample?
    The stack trace follows. Thanks in advance.
    com.stellent.cis.client.command.CommandException: Content item '1256149797205Content-Id-SDK' was not successfully checked in. Content account is not defined. Unable to validate user security.
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:338)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
         at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
         at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
         at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
         at com.stellent.cis.client.api.scs.document.checkin.impl.SCSDocumentCheckinAPI.checkinFileStream(SCSDocumentCheckinAPI.java:707)
         at com.stellent.cis.sdk.samples.checkin.CheckinFile.execute(CheckinFile.java:87)
         at com.stellent.cis.sdk.samples.checkin.CheckinFile.main(CheckinFile.java:64)
    Caused by: com.stellent.cis.server.api.scs.request.SCSRequestException: Content item '1256149797205Content-Id-SDK' was not successfully checked in. Content account is not defined. Unable to validate user security.
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.checkBinderForErrors(SCSRequestProcessor.java:357)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.validateResponse(SCSRequestProcessor.java:273)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.processRequest(SCSRequestProcessor.java:118)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:61)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedPublishFilter.handleRequest(SCSOptimizedPublishFilter.java:128)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedRetrieveFilter.handleRequest(SCSOptimizedRetrieveFilter.java:250)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.rewrite.SCSRewriteURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.cache.impl.SCSServiceCacheFilter.handleRequest(SCSServiceCacheFilter.java:104)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestExecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
         ... 7 more

    Hi
    Issue is caused with the way parameters are passed from CIS 8.x onwards where when not giving a parameter that is a required one then it has to be set to blank. Like in the case for dDocAccount setting the value to blank string (i.e. "") would successfully check in the document.
    dDocAccount is a required additional paramter that needs to be supplied when checking in contents when UseAccounts=true is set in the config.cfg of the CS.
    From the CS checkin page when not specifying the Account it is set as blank which is why the the checkin goes through fine.
    This was not the case with CIS 7.6.1 where dDocAccount was not required to pass as parameter even if UseAccounts=true is set in the config.
    In case checkins have to be done without giving the Account then add the code for setting the dDocAccount to a blank string (i.e. "") and then recompile the java code and execute the it.
    Reason why CIS 7.6.1 did not show this behaviour is since CIS would set that (the value for account parameter) in the binder and pass it to the CS.
    Hope this helps
    Srinath

  • Output device not defined error while saving the quotation

    Hi all,
    We have some custom output types (ZGEN, ZSSO, ZQTO, ZJT)configured in the nace transaction for Application V1.  Whenever i am creating / saving a quotation one of the output type(ZQTO) is not processing for mail (External Send) and it is displaying an error as 'Output device not defined'.  If i remove all the output types while changing the quotation in VA22 from header, it is processing.
    I checked with all other output types combination.  The error is trigerred only when we  have ZJT output type along with ZQTO.
    We are not able to recognise the error.  Please help out to solve this issue.  Its very urgent.
    Thanks.

    Hi Remi
    Thanks for your reply. As per your reply I followed procedure and it allowed me to save Basic Pay Infotype (0008)
    Thanks a ton.
    Regards
    Prakash Bhave

  • "Sales area is not defined" error while creating IBD

    Hi All,
    We are getting the below error while creating IBD:
    Sales area    is not defined
    No inbound delivery created for the replenishment delivery 0089799561
    We are trying to create IBD from OBD.
    We have the Z output type ZPED, which is basically same functionality as SPED.
    When we trigger the ZPED in OBD, an idoc will be triggered and IBD will be created automatically.
    Here in this case, we are getting the error when ZPED is triggered and we are seeing this error from the processing log of that output.
    Below is the details of the processing log of failed ZPED:
      Object 0089799561
       Output type: Stk.Transf.CrteDeliv
       Processing log for program /SPE/STO_ID_PROCESSING routine STO_ID_CREATI
       Sales area    is not defined
       No inbound delivery created for the replenishment delivery 0089799561
    ZPED is triggered by a batch job in the system but when we are trying to manually trigger it, it got successful.
    Please suggest what can be the root cause of it.

    First of all, please avoid using abbreviated words which is not encouraged here.  Second, what is the Business process that warrants you to create inbound delivery against outbound delivery.  Whenever you post here and expect assistance from members, please ensure you provide maximum details with regard to business process and what you had configured so that it will be easy for others to understand.
    G. Lakshmipathi

  • System property 'primavera.bootstrap.home' not found error while starting P6 application via managed server

    Hi All,
    I had installed P6 8.3 with weblogic 10.3.6.
    My Adminserver is running.
    But when i am starting my managed server P6, P6 server is getting started but P6 application is failing to start and giving above error.
    but my p6help web application is showing Active state.
    I added below line in startWeblogic.cmd and setDomainEnv.cmd file but no use.
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6\
    I tried by redeploying p6 application but still same error.
    Please help.

    Hi,
    I has set the classpath as well same as above.
    If i start managed server manually or using start_primavera.bat,  P6 application is becomeing acive and working.
    But if i start managed server using windows service, Managed server is get started, p6help is also becoming active but only p6 is failing to start.
    If i chek the log it is showing same log below,
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Building arguments for main class
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Invoking main class
    <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Oct 30, 2013 4:08:54 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>
    <Oct 30, 2013 4:08:55 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
    <Oct 30, 2013 4:08:56 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 30, 2013 4:08:56 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 30, 2013 4:08:56 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\Primavera\servers\P6\logs\P6.log is opened. All server side log events will be written to this file.>
    <Oct 30, 2013 4:08:57 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 30, 2013 4:09:00 PM IST> <Warning> <HTTP> <BEA-101377> <Filtering class loader configuration ignored for web module p6.war of application p6>
    Oct 30, 2013 4:09:03 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing JavaServer Faces implementation (1_2_07-b03-FCS) for context '/p6'
    - Refreshing com.primavera.bre.SystemApplicationContext@7fc4fe21: display name [com.primavera.bre.SystemApplicationContext@7fc4fe21]; startup date [Wed Oct 30 16:09:05 IST 2013]; root of context hierarchy
    - Loading XML bean definitions from class path resource [/com/primavera/pvweb/servlet/webconf.xml]
    - Bean factory for application context [com.primavera.bre.SystemApplicationContext@7fc4fe21]: org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b
    - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b: defining beans [metaConfigProvider,settingsManager,adminManager,LogMgr,performanceManager,threadPool,remoteQManager,subSystemInitializer,sqlConnectionPoolManager,registryService,tracer,mailService,configDumpHelper,autoConfigCollectionTask,proxiedUrlOpener,systemFacade,autoStarterService]; root of factory hierarchy
    System property 'primavera.bootstrap.home' not found
    <Oct 30, 2013 4:09:07 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.primavera.pvweb.listeners.PVContextListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    Caused By: com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
    at com.primavera.common.BootstrapHome.get(Unknown Source)
    at com.primavera.infr.admin.MetaCfg.a(Unknown Source)
    at com.primavera.infr.admin.MetaCfg.getMetaJDBCURL(Unknown Source)
    at com.primavera.infr.srvcs.RegistryServiceImpl.init(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace

  • HTTP/1.1 405 Method Not Allowed error while deploying application in EPMA

    Hi All,
    I have recently installed EPM 11.1.2.1 on a windows 2008 server with SQL Server 2008 database. I created a new HFM application and tried to deploy it, but the deployment gets aborted with the error "HTTP/1.1 405 Method Not Allowed" seen in the deployment log.
    Any clue as to what might be the issue? Thanks in advance.

    "405 Method Not Allowed" is most likely an IIS configuration issue. Please try reboot and try to redeploy again.
    You need to check and ensure that both Roles and IIS components are installed correctly and that the HFM is functioning OK via IIS when browsing through it.
    Also, by default IIS does not install ASP server scripting roles. To correct this by adding the ASP role in IIS
    "If you are using Windows 2008, you must install ASP Role Services before installing EPM System products that require IIS. If you are using Windows 2008, you must install .NET 3.5 before installation of Data Relationship Management.
    If IIS is chosen as the Web server during configuration, you must allow all unknown ISAPI extensions through the Internet Information Services Manager."
    Please refer "Oracle Hyperion Enterprise Performance Management System Installation Start Here" guide page no: 64
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdfhttp://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdf

  • SAP Note 0001370334: Error while deploying EAR file

    Hi All,
    We have a project requirement where payload should not be visible in both IE(SXMB_MONI) and RWB(Channel Monitoring). We have followed sap note 0001370334 and created .ear file as per sample .ear file given in the sap note.
    Here the problem is when we are trying to deploy that .ear file using NWDS, it is throwing exception :
    [ERROR CODE DPL.DCAPI.1027] SduLoadingException.
    Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Kindly provide ur inputs.
    Thanks,
    Veneela

    Did you see this link?  Looks like your ear file is not as expected. Please delete and create and deploy again
    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Deploy%29Problems-P29
    /thread/1516905 [original link is broken]

  • [AIR 3.0] New JSON functionality doesn't work in FlashPro: Error #1065: Variable JSON is not defined

    After upgrading the AIR SDK to 3.0 in Flash Professional CS5.5 I've found some problems.
    First, the JSON class in the as3corelib.swc library now throws a couple of compile errors:
    1061: Call to a possibly undefined method decode through a reference with static type Class.
    1172: Definition com.adobe.serialization.json:JSON could not be found.
    At first I was completely puzzled, since I had the proper "import com.adobe.serialization.json.JSON;" reference,
    and I had the "as3corelib.swc" referenced in my ActionScript Properties, so how could that not be found?
    Then, I found out that's because it conflicts with the new internal JSON class included with AIR 3.0
    (maybe it should have been called something else, to avoid conflicts with Adobe's own as3corelib library).
    The new native JSON class doesn't have the decode() method. Now it's called parse()
    Ok, so I've tried using the new JSON class, but after changing decode() with parse() and removing
    the "import com.adobe.serialization.json.JSON;" reference, Flash tells me that "Variable JSON is not defined".
    Really? The JSON class is showing in the Flash Builder code completion popup,
    complete with its all-new parse() and stringify() methods! So why does it say it's not defined?
    Also, my SWF file gets compiled with no errors at all, so that verifies that the new 3.0 libraries are in place.
    I only get the "JSON is not defined" error at runtime in ADL, not at compile time. Why?
    In order to upgrade to the AIR 3.0 SDK, I've followed this guide:
    http://kb2.adobe.com/cps/908/cpsid_90810.html
    I know that's about upgrading to AIR 2.7, but I suppose the steps to upgrade to AIR 3.0 would be very similar,
    only with the AIR3.0 SDK package, instead of 2.7.
    I also took care to type version="13" in all the XMLs, instead of version="12" as stated in that guide, which is meant for 2.7.
    Also, I followed this advice about adding -swf-version=13 in the Project Properties window in Flash Builder:
    http://blogs.adobe.com/cantrell/archives/2011/08/how-to-use-the-air-3-beta-sdk.html
    But that doesn't seem to make a difference, since, even though I use Flash Builder for code editing (which is usually used for Flex),
    my project is a Flash Professional project, not a Flex one, and when testing the project, Flash Builder runs Flash Professional
    to compile and then runs adl.exe (it's the same as if you click the option "Control / Test movie / in AIR Debug Launcher (Mobile)" inside Flash Pro).
    In the "ActionScript Settings" window in Flash Professional, I also have the proper airglobal.swc referenced (from the AIR 3.0 SDK),
    and the same airglobal.swc is referenced in Flash Builder as well (in "Referenced Libraries"), to get proper code completion.
    I've tried all sorts of things to try to get it to work, but no luck. Still get the "JSON is not defined" error at runtime.
    I'm starting to get desperate about this. I'm going to have to revert back to AIR 2.7.1, to stop wasting time on this issue.
    BTW, I'm also having another unrelated problem (though maybe it happens because of the same reason as the other problem).
    Now Flash Builder underlines the getTime() method in my code, as if it no longer were a method of a Date class instance.
    I have a line where I ask for the timestamp like this:
    ts = new Date().getTime();
    That has worked perfectly fine up until now with AIR 3.0.
    Now, when hovering the mouse cursor over the orange "(?)" icon that appears at the left, Flash Builder tells me
    "Access of undefined property getTime". Why?
    The AS3 documentation doesn't say anything about getTime() getting deprecated of anything of the sort:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html
    In fact, in the code completion popup that Flash Builder shows, now there isn't any mention
    of get or set methods, as you can see here:
    I suppose I can use the .time property instead of .getTime() but I don't know why I'm not getting all the methods I had available before.
    Any ideas why all this is happenning? Specially the dreaded "JSON is not defined" error.

    Well, after much tinkering, I think I've finally found a way to finally make it work!.
    I've created some modified XML files with the profiles needed for AIR 3.0 and after a lot of tries, it finally works!
    I've uploaded them here: http://www.mediafire.com/?d5e761frl5px4
    These are the steps needed to get AIR 3.0 running properly:
    Put all three files into the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    Then, make sure you've unzipped the AIR 3.0 SDK into the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR3.0" Do not overwrite the contents of the "AIR2.6" folder, as suggested by the "Overlay AIR SDK" article (linked in the above post). It gave me problems. It's best to use a different separate folder. My XML files point to that new "AIR3.0" folder.
    Inside the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0" create a new folder named "AIR3.0". Inside that folder, copy the file "airglobal.swc" located at "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR3.0\frameworks\libs\air".
    Finally, you will have to keep the file "descriptor-sample.xml" in the "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\samples" folder, but change the xmlns attribute to "http://ns.adobe.com/air/application/3.0"
    Yes, you have to change that inside the AIR2.6 folder even if the SDK has been put into AIR3.0. That's because of how the publish settings work in Adobe Flash. It's hardcoded into a DLL, so that can't be changed. Not very intuitive.
    I think AIR SDK installations should be a lot more straightforward than this! I know Adobe AIR is meant for developers, not for final users, but still, all these not very well documented upgrade procedures are a pain in the ***. I've wasted A LOT of hours in this (more than half a day), with what should have been a straightforward upgrade!
    Adobe should make a SDK installer so we do not have to be tinkering with all these error-prone procedures each time a new update is released!
    Well, I hope those XML files are useful to somebody and avoids further frustration.
    Regards,
    OMA2k
    PD: BTW, I still have the .getTime() issue described in my above post, but it's not very important,
    since I can still use the .time property. Still, it puzzles me why this is happening.

  • ReferenceError: Error #1065: Variable @namespace is not defined.

    I am using FB4 but SDK 3.5.  I created a webservice to call a webservice by .Net.  The related codes are listed below
    <mx:WebService id="ws"   wsdl="{URL_WSDL2}" fault="wsHandleFault(event)"  useProxy="false"  >
      <mx:operation name="GetDistrict"
       resultFormat="object"
       result="GetDistrict(event)" />
      <mx:operation name="GetStates"
       resultFormat="object"
       result="GetStates(event)" />
    </mx:WebService>
    private function LoadData():void {;
      ws.getOperation("GetDistrict").send();
      ws.getOperation("GetStates").send();
      btnLoad.enabled = false;
    However, I got runtime error:
    ReferenceError: Error #1065: Variable @namespace is not defined.
    at mx.rpc.xml::SchemaLoader/schemaImports()
    at mx.rpc.wsdl::WSDLLoader/schemaImports()
    at mx.rpc.wsdl::WSDLLoader/resultHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at DirectHTTPMessageResponder/completeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    I really don't know how to fix it.  Wish someone can share his/her experience.  Thanks.

    When creating a Web Service in .NET, specifically a WCF based Web Service, the auto generated code tends to have an empty namespace (for you to fill). If you specify a namespace for the service contract and behavior this tends to resolve the Flex issue.
    e.g. in your .NET service or service interface code you can specify them as attributes and would look something like:
    ' VB
    Imports System.ServiceModel
    <ServiceContract(Namespace:="http://somedomain.com")>
    <ServiceBehavior(Namespace:="http://somedomain.com")>
    Public Class MyWebService
    // C#
    using System.ServiceModel;
    [ServiceContract(Namespace:="http://somedomain.com")]
    [ServiceBehavior(Namespace:="http://somedomain.com")]
    public class MyWebService
    Hope that helps someone!
    (I realise this post is a bit old, but shows up high in Google for the error message, so have posted for the benefit of anyone finding it)

  • ReferenceError: Error #1065: Variable TestMain is not defined

    I'm loading a .swf and trying to find a class based on an embedded xml document in it. I've looked this problem up endlessly and everyone has either said "Your class isn't public", "Your classname is interfering with your document class", or "You aren't using the same ApplicationDomain", none of which are true. Here's my code:
    In CoCMain.as, with a CoCMod.fla:
        private function pluginLoadingComplete(e:Event):void {
            var testXML:XML = new XML(new e.target.content.description);
            trace(e.target.applicationDomain.hasDefinition("blah.blaah.testPlugin.TestMain"));//returns false
            trace(ApplicationDomain.currentDomain.hasDefinition("blah.blaah.testPlugin.TestMain"));//returns false
            trace(testXML.main[0]);//returns blah.blaah.testPlugin.TestMain
            var pluginClass:Class = e.target.applicationDomain.getDefinition(testXML.main[0]) as Class;//error here
    And in TestMain.as, with a TestMod.fla (this is the swf I am loading):
    package blah.blaah.testPlugin {
        public class TestMain {
            public function TestMain():void {
                super();
            public function onEnable():void {
                trace("blah");
    And in frame 1 of TestMod.fla:
    import blah.blaah.testPlugin.TestMain;
    [Embed(source = 'main.xml', mimeType = "application/octet-stream")]
    const description:Class;
    The xml file:
    <mod>
              <name>Test Mod</name>
              <description>Please ignore</description>
              <author>Bleachisback</author>
              <version>1.0</version>
              <main>blah.blaah.testPlugin.TestMain</main>
    </mod>
    The error I am getting:
    ReferenceError: Error #1065: Variable TestMain is not defined.
        at flash.system::ApplicationDomain/getDefinition()
        at me.bleachisback.cocMod::CoCMain/pluginLoadingComplete()

    copy and paste code where you add the listener that calls pluginLoadingComplete and the load method code.
    also, make sure your loaded swf is using TestMain in blah/blaah/testPlugin by using a trace statement in TestMain.

  • Profiling Error (Variable ContextMenuClipboardItems is not defined) on Flash Player 10

    Hi Team
    When i start the profiler i get the below error
    1.I am using FB 3.
    and flash player 10.
    Any pointers are highly appreciated.
    ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not
    defined.
    at flash.ui::ContextMenu/initLinkAndClipboardProperties()
    at flash.ui::ContextMenu()
    at
    mx.core::Application/initContextMenu()[C:\autobuild\3.2.0\frameworks\pro\
    jects\framework\src\mx\core\Application.as:1154]
    at
    mx.core::Application/initialize()[C:\autobuild\3.2.0\frameworks\projects\
    \framework\src\mx\core\Application.as:844]
    at
    grip/initialize()[D:\eclipse\grip-app-client\grip\src\grip.mxml:0]
    at
    mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::c\
    hildAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\mana\
    gers\SystemManager.as:2009]
    at
    mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.2.0\
    \frameworks\projects\framework\src\mx\managers\SystemManager.as:3234]
    at
    mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::d\
    ocFrameHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\
    \managers\SystemManager.as:3064]
    at
    mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.2.0\framewo\
    rks\projects\framework\src\mx\managers\SystemManager.as:2916]
    Thanks
    ilikeflex

    You have to use FB4 to profile on FP10
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Variable png is not defined.

    Hi,
    I am migrating project from AS2. I have removed most of the
    compiler and run time errors, but I have no clue about this error.
    I can't track it.
    ReferenceError: Error #1065: Variable png is not defined.
    Any ideas what might be causing it?
    Any replies would be greatly apriciated. Thanx

    I'm with kglad, there must be something somewhere. Are you
    loading any images dynamically that would need a .png file
    extension? How many different scripts do you have? Is it one long
    one or is it spread out over a few classes? Did you create the
    original code or are you modifying someone elses?
    - B

  • Variable ByteArray is not defined in generated introspection file

    I am getting this error, Variable ByteArray is not defined.   This worked fine against Flex SDK 4.0 and is now throwing a runtime  error once it is built against the 4.5 SDK.  Is this related to updates  to the introspection in Flash Builder?
    Keith H.
    ReferenceError: Error #1065: Variable ByteArray is not defined.
    at global/flash.utils::getDefinitionByName()
    at  com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot  \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr  c\com\adobe\serializers\utility\TypeUtility.as:593]
    at  com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\  depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize  rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
    at  com.adobe.serializers.utility::TypeUtility$/convertListToStrongType()  [C:\depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\seria  lizers\src\com\adobe\serializers\utility\TypeUtility.as:518]
    at  com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot  \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr  c\com\adobe\serializers\utility\TypeUtility.as:623]
    at  com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\  depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize  rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
    at  com.adobe.serializers.utility::TypeUtility$/convertListToStrongType()  [C:\depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\seria  lizers\src\com\adobe\serializers\utility\TypeUtility.as:518]
    at  com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot  \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr  c\com\adobe\serializers\utility\TypeUtility.as:623]
    at  com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\  depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize  rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
    at  com.adobe.serializers.utility::TypeUtility$/convertResultHandler()[C:  \depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializ  ers\src\com\adobe\serializers\utility\TypeUtility.as:436]
    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\soap\Operati on.as:953]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\AbstractInvo ker.as:313]
    at mx.rpc::Responder/result()[E:\dev\hero_private\frameworks\projects\rp c\src\mx\rpc\Responder.as:56]
    at mx.rpc::AsyncRequest/acknowledge()[E:\dev\hero_private\frameworks\pro jects\rpc\src\mx\rpc\AsyncRequest.as:84]
    at  DirectHTTPMessageResponder/completeHandler()[E:\dev\hero_private\fram  eworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:451 ]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I am facing similar error. Please let me know the links where you find solution for this problem.
    I have many files generated upon introspection of a web service which contains similar line as follows:
    model_internal::propertyTypeMap["uid"] = "ByteArray";
    ReferenceError: Error #1065: Variable ByteArray is not defined.
        at global/flash.utils::getDefinitionByName()
        at com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot\flex\ide_trunk\ide_ builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\TypeUtil ity.as:593]
        at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\depot\flex\ide_trunk \ide_builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\Typ eUtility.as:562]
        at com.adobe.serializers.utility::TypeUtility$/convertResultHandler()[C:\depot\flex\ide_trun k\ide_builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\Ty peUtility.as:436]
        at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\hero_private\frameworks \projects\rpc\src\mx\rpc\soap\Operation.as:953]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\hero_private\frameworks \projects\rpc\src\mx\rpc\AbstractInvoker.as:313]
        at mx.rpc::Responder/result()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\Respond er.as:56]
        at mx.rpc::AsyncRequest/acknowledge()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc \AsyncRequest.as:84]
        at DirectHTTPMessageResponder/completeHandler()[E:\dev\hero_private\frameworks\projects\rpc\ src\mx\messaging\channels\DirectHTTPChannel.as:451]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Thanks,
    Deepa

Maybe you are looking for

  • No service for system ..PI, client. in Integration Directory -IDOC

    Hi, I am getting following error when try to post IDoc frm SAP to SAP XI: No service for system ..PI, client. in Integration Directory -IDOC I have verified the following transactions: port,RFC destinations are correct in SAP and XI systems(verfied i

  • Itunes wont install on my computer. its a geteway with vista.

    i tunes wont install? it will downlaod no problem and have an error while installing and wont continue? any idea why?

  • Java: how to handle user-defined character (UDC)??

    Dear all, i am new to internalization and localization. i am now porting an application from vb.net to java. the vb.net version can handle (input/output [to file, screen, database] ...etc) user defined character (charset is big5 + extra characters) t

  • Embedding product discriptors in image metadata?

    I'm working with a third-party vendor to help my company develop a digital asset management system. At this stage of the project I'm trying to find a way to embed product description information (which is currently contained in a FileMaker db) into i

  • Can't access tools in c4d lite

    Hi there, I am in c4d lite. After making an object and selecting polygon mode, I am tryingt o right click in the work area to access my tools (ie dissolve, brush, mirror, iron, knife etc.) The contextual menu that apprears is very bare. It has  four