ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.

Hi All
                  This is the Error where i got from my sample chatting application...
ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.
at mx.messaging::Producer/handlePriority()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messagi ng\Producer.as:190]
at mx.messaging::Producer/internalSend()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \Producer.as:169]
at mx.messaging::AbstractProducer/send()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \AbstractProducer.as:561]
at SampleMessagin/sendMessage()[D:\FlexJavaPrograms\SampleMessagin\src\SampleMessagin.mxml:2 9]
at SampleMessagin/___SampleMessagin_Button2_click()[D:\FlexJavaPrograms\SampleMessagin\src\S ampleMessagin.mxml:74]
                    this is the code
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
      currentState="{st}"
      creationComplete="consumer.subscribe()">
<fx:Script>
  <![CDATA[
   import mx.messaging.events.MessageEvent;
   import mx.messaging.messages.AsyncMessage;
   import mx.messaging.messages.IMessage;
   import mx.modules.IModule;
   import mx.states.State;
   [Bindable]
   public var st:String="";
   public function changeStateHandler(event:Event):void
    st = "Login"
   //send message throug this method
   protected function sendMessage():void
    var msg:IMessage = new AsyncMessage();
    msg.headers = uname.text;
    msg.body = sendText.text;
    producer.send(msg);
    sendText.text = " ";
  //message  Handler  
   protected function consumer_messageHandler(event:MessageEvent):void
    // TODO Auto-generated method stub
    var resp:IMessage = event as IMessage;
    dispText.text = resp.headers.toString()+" :: "+resp.body.toString()+"\n";
  ]]>
</fx:Script>
<fx:Declarations>
  <s:Producer id="producer"
     destination="chat"/>
  <s:Consumer id="consumer"
     destination="chat"
     message="consumer_messageHandler(event)"/>
  </fx:Declarations>
<s:states>
  <s:State name="State1"/>
  <s:State name="Login"/>
</s:states>
<s:Panel x="246" y="137" width="366" height="200" title="Login Here" includeIn="State1">
  <mx:HBox horizontalCenter="2" verticalCenter="-30">
   <s:Label text="Enter UR Name"/>
   <s:TextInput id="uname"/>
   <s:Button id="login" label="Login" click="changeStateHandler(event)"/>
  </mx:HBox>
</s:Panel>
<s:Panel includeIn="Login" x="327" y="78" width="353" height="369"  title="Welcome:{uname.text}">
  <s:TextArea x="6" y="11" height="222" width="335" id="dispText"/>
  <s:TextArea x="10" y="241" height="85" width="258" id="sendText"/>
  <s:Button x="276" y="241" label="Send" height="76" click="sendMessage()"/>
</s:Panel>
</s:Application>
and my messaging-config.xml is as follows
             <?xml version="1.0" encoding="UTF-8"?>
<service id="message-service"
    class="flex.messaging.services.MessageService">
    <adapters>
        <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" />
        <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> -->
    </adapters>
    <default-channels>
        <channel ref="my-polling-amf"/>
    </default-channels>
    <destination id="chat"/>
</service>
                  can any one help me what is the error present here.............
                     why it is showing error .. am i wrote anything wrong in this code .. please help me....

I'm not the expert on this topic, but I think this line:
msg.headers = uname.text;
...is throwing the error. Look into how to properly construct the headers for the message. They should be in name/value pairs.

Similar Messages

  • Extending Array class, get Error #1069: Property 0 not found with indexOf call

    I'm using inheritance to extend the Array class to create a Paths class that moves Sprites/MovieClips around on the screen. I'm getting an odd error on a call to indexOf. Here's the error:
    ReferenceError: Error #1069: Property 0 not found on Paths and there is no default value.
        at Array$/_indexOf()
        at Array/http://adobe.com/AS3/2006/builtin::indexOf()
        at Paths/Next()[D:\Stephen\Documents\Flash\TossGame\TossGameFirstPerson\Paths.as:40]
    Here's the relevant code in the Paths class:
        public class Paths extends Array
            private var cCurrentPath:Path;
            public function Next():Path
                var lArray:Array = this;
                var lNextIndex:int = indexOf(cCurrentPath) + 1;
                if (lNextIndex == length) lNextIndex = 0;
                var lPath:Path = lArray[lNextIndex];
                return lPath;
        } // class
    I get the error at the highlighted line. cCurrentPath is populated with a Path object which is the object located at position 0 of the this object (Paths). I've tried the following variants of the Next() function:
    public function Next():Path
         var lArray:Array = this;
          var lNextIndex:int = lArray.indexOf(cCurrentPath) + 1;
          if (lNextIndex == lArray.length) lNextIndex = 0;
          var lPath:Path = lArray[lNextIndex];
          return lPath;
    public function Next():Path
         var lArray:Array = this;
          var lNextIndex:int = this.indexOf(cCurrentPath) + 1;
          if (lNextIndex == this.length) lNextIndex = 0;
          var lPath:Path = lArray[lNextIndex];
          return lPath;
    public function Next():Path
         var lArray:Array = this;
          var lNextIndex:int = super.indexOf(cCurrentPath) + 1;
          if (lNextIndex == super.length) lNextIndex = 0;
          var lPath:Path = lArray[lNextIndex];
          return lPath;
    Same error happens whichever I try. Anyone got any ideas?
    Stephen
    Flash Pro CS3 (Version 9.0)

    Mark your class dynamic.
    public dynamic class Paths extends Array

  • Error catcher: Error #1069: Property _bindingsByDestination not found

    I appear to be having a rather strange issue. In my Flex project I have a mx:Canvas with a mx:Resize inside. The mx:Resize is redundant and not needed at all. Currently it looks like this:
    <mx:Resize easingFunction="{Bounce.easeOut}" />
    Nothing uses it at all, its completly redundant. If I remove that one line of MXML the flash player complains with this error:
    Error catcher: Error #1069: Property _bindingsByDestination not found on ********* and there is no default value.
    Any ideas?
    Regards:
    John

    don't use the name property.  that is a string:
    targets=(obj.dropTarget.parent)
    trace(targets);
    trace(targets.x)

  • "Property currentLabel not found on String"

    This is the error message I keep getting with the following setup:
    I have several button instances onstage named "1gun", "2gun", "3gun" and so on.
    There are also several button instances onstage named "1bullseye","2bullseye" and so on.
    When I use this code and click on a button containing an index of gun,it returns the number preceding the string "gun", just as I want it to do.:
    {trace (e.currentTarget.name.slice(0,1))}
    When I use this code and click on a gun button, it returns  the name of the "bullseye" button that corresponds with the "gun": button:
    {trace ("bullseye" + e.currentTarget.name.slice(0,1))}
    However, when I use this code, I get the output error in the title of this thread:
    {trace("bullseye" + e.currentTarget.name.slice(0,1).currentLabel)}
    Property currentLabel not found on String and there is no default value.
    The code is intended to trace the current frame of a bullseye when the corresponding gun is clicked. So if "1gun" is clicked, it would trace the currentFrame of "1bullseye".
    Any ideas about why this isn't working?

    The following is just a String, which does not have a property named currentLabel...
    "bullseye" + e.currentTarget.name.slice(0,1)
    If there is a MovieClip that has an instance name of bullseye#  (where # is some number), then you need to use bracket notation to have that String interpretted as an instance of an object....
    {trace(this[ "bullseye" + e.currentTarget.name.slice(0,1)].currentLabel)}

  • OpenWithDefaultApplication in flex sdk 3.5.0.12683 and ReferenceError: Error #1069:

    I  am trying to use openWithDefaultApplication to open the files in default application for the desktop application developed using AIR.
    Development environment is as follows
    - Flex builder 3.0 eclipse plugin .
    - Flex SDK version is 3.5.0.12683.
    - AIR 2.0 sdk, I have used instruction specified at  http://www.adobe.com/support/documentation/en/air/2/releasenotes_developers.html#h, to overlay AIR2.0 sdk  with Flex 3.5.0.12683. SDK.
    I get the following error when openWithDefaultApplication is executed
    ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
        at air_openwithdefaultapp/onFileSelect()[D:\www\flexprojects\air_openwithdefaultapp\src\air_ openwithdefaultapp.mxml:28]
    I tried to trace/alert the flex and air runtime verions and I get following  details, 3.5.0.12683 for Flex SDK and  2.5.0.16600 for AIR.
    The same code works fine when I use the Flash Builder4 with Flex 3.5 sdk.
    Any idea what is going wrong here?

    Hi Swapnil,
    1)Try Overlaying SDK to 2.0 like:
                     a)Download the AIR SDK 2.0 zip
                     b)and paste it at C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 and
                     c)extract it.Check whether this SDK selected in Flex Compiler.
    2) Make sure that you have changed the AIR version number in descripter file (-app.xml) for example <application xmlns="http://ns.adobe.com/air/application/1.5"> here have to change 1.5 to 2.0.
    3) In the Flex Compiler panel check that which Flex SDK (3.5) has been selected. Might it different from defaultly selected.
    In Flex Builder you can check in two ways :
              a)Window>Preferences>Flex>Installed SDKs(Default)>Check SDK selected.
              b)Select Project folder in Navigator Panel and Mouse Right click >properties>Flex Compiler>Check SDK selected.
    4)Make sure that the opening files have accessibility with this function.
    -Vamshi

  • ReferenceError: Error #1069

    Dear all,
    I encounter this error:
    ReferenceError: Error #1069: Property message not found on
    mx.messaging.events.ChannelFaultEvent
    Could anyone give me a hint on what actually cause this
    error?
    Thank you in advance

    It would be best if you post simplified code and data that still exhibits the problem.
    Boil the problem down to simplified code and you will likely find an answer comes quickly.
    If you are accessing data with HTTPService, WebService, or RemoteObject, don't forget that Flex is asynchronous, so you can't send a data request and have other parts of the program that depend on the data already having been returned. That often means you need to call a function inside the result handler for the data service result event, after the data has been successfully processed.
    If this post answered your question or helped, please mark it as such.

  • ThinkVantage fingerprint error 7210001 (object: clsid-not-found(CID_HomePassport::Set))

    Hi
    I have a Lenovo W520.
    When i want to open the thinkvantage fingerprints.
    There is the followed message: Error 7210001 (object: clsid-not-found(CID_HomePassport:et))
    And i can't do anything, the window is empty.
    How can I fix this?

    I have the same issue and nothing I can do to fix it unless they replace the fingerprint reader (whole plam rest). After wasting so much time, I got a reply 
    [quote[
    I went through about 2 fingerprint readers this way. the best I can figure out is there is an odd issue with either bios or the embedded controller when it gets turned off due to low power in certain situations that causes the frimware in the fingerprint reader to be corrupted somehow. This only seems to happen when you have the swipe to power on feature enabled. I would get that reader replaced and then make sure the first thing you do is turn off the swipe to power on feature in the fingerprint software. My 3rd reader has been solid as a rock since I have done that. I hope this helps.
    I would forget about trying to recover the reader BTW. I tried everything and even sent the readers to lenovo and they weren't even able to fix them when they were in this state. 
    I have an idea as to what is going on but lenovo was not able to re-produce this problem on their end. either way you should be golden with that feature disabled, once you have a new reader installed. 
    http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T530-Win7-Pro-Fingerprint-reader-doesn-t-wo... should tell you how to disable it. 
    after saying all of this I do want to make it clear that I am happy with my T530 over all. It could have used more LEDs for keyboard and ultrabay and battery state in the front and an eSATA port. and a way to route the miniDP port through the intel HD4000 when using integrated graphics mode. and it would be 100% perfect. but despite those things I've been very happy with it and how well it works with Linux. and I've had no problems with lenovo support. I even just got a 4 year extended warranty with acidental damage protection today. 
    [quote]
    so its defective?

  • The VCC property was not found on the resource

    Hi all,
    I used a subversion to download/upload process in one of my application.
    At a point it give an error like this.
    svn: The VCC property was not found on the resourceCan someone tell me what that error means, and how to fix it.
    Thanks in advance,
    itsjava :)

    There are several resources available if you do a Google (or other favorite search engine) search on this such as [this one|http://www.svnforum.org/2017/viewtopic.php?t=6271&highlight=vcc+property+resource] and [this one|http://svn.haxx.se/dev/archive-2003-10/0674.shtml] and [this one|http://readlist.com/lists/subversion.tigris.org/users/2/11220.html] (that talks about this usually being a web server configuration error). I recommend specifically focusing on Subversion forums such as the [General Setup & Troubleshooting forum|http://www.svnforum.org/2017/viewforum.php?f=16] at [SVNForum.org|http://www.svnforum.org/].

  • Itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    Can you start QuickTime on your computer?
    You'll probably have to search for the Windows Installer Cleanup Utility and use it to remove QuickTime Player and iTunes. Then download and install the iTunes again.

  • I get error message''one file not found'' when tring to sync Ipod Nano 6th gen to I tunes. Help

    I get error message''one file not found'' when tring to sync Ipod nano 6th gen to Itunes. Help

    See:
    iTunes cannot sync... apps not determined installed on...: Apple Support Communities
    installed apps could not be determined...: Apple Support Communities

  • Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Unistall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Uninstall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    I had gotten a similar problem, except with "provider services", i believe, but i solved it by copying sqlite3.dll from E:\Program Files\Common Files\Apple\Apple Application Support to E:\Program Files\Common Files\Apple\Mobile Device Support. doing that solved my first problem, but now i have been getting the error described in this topic (unable to load dataclass info... etc.). i tried reinstalling itunes (i already had 9.1.1, and thats what i reinstalled) by using the method described on apples site (using the "remove programs" tool in the control panel) and then downloading and installing itunes. when i opened it again, i still got the same error, and just now i got an error saying "the instruction at "0x00aadb6b" referenced memory at "0x00000008". the memory could not be read" it gave me the option to cancel and debug, or to press ok and terminate the program. I tried pressing cancel, and the popup went away but nothing else happened. a minute later the popup was back, so i pressed ok and itunes quit. Upon opening Itunes again, i got the very same error. sorry for the long post, but its really been bugging me. thanks for any help you might give, and if you need anymore info, feel free to contact me.

  • Report Generation Toolkit (Word) : How to use correctly bookmark and cross-reference without "Error! Reference source not found"

    Hi,
    I try to generate a report using a template. In my template I use some cross-reference to refer to one bookmark. For exemple in the first page I created a bookmark for my name and in the header I created a cross-reference refer to my name. The problems is when I run my VI the bookmark actualise perfectly but the cross-reference refer to the bookmark can't actualise with the same value and generates an error : "Error! Reference source not found".
    Can somebody help me please!
    Nki
    Solved!
    Go to Solution.
    Attachments:
    01.jpg ‏72 KB

    Hi,
    When i create the word template, the bookmaks and the cross-reference referred to the bookmark update correctely. The problem is when I try to change the bookmark using "report generation from template vi" the bookmark change but not the cross-reference and the error generated is "Error! Reference source not found". 
    I make coople reasherch and i think they have no solution for this because : "if the text in a heading referred to in a cross-reference is revised, the cross-reference to the heading may no longer work" (http://office.microsoft.com/en-us/word-help/troubleshoot-cross-references-HP005189368.aspx).
    To "resolved" this problem I create an other bookmark in the template who have the same value white the principle bookmark.   
    I use Labview 2011 and Micosoft office 2010.

  • Error(10,47): EntryFlowPageCO not found  in class oracle.apps.ap.oie.entry.

    Hi All,
    I extended a CO named IndusFinalReviewPageCOXX and I got the following error.
    Error(10,47): EntryFlowPageCO not found in class oracle.apps.ap.oie.entry.summary.webui.FinalReviewPageCO in class indus.oracle.apps.ap.oie.entry.summary.webui.IndusFinalReviewPageCOXX.
    I already drag the class file of EntryFlowPageCO in path myclasses\oracle\apps\ap\oie\entry\summary\webui
    and import the file. but the error remains same..after that I compile the class file of EntryFlowPageCO and found one more CO imports in EntryFlowPageCO. I drag class file of that CO also in appropriate path.. But still get the same error.
    Pls give me the solution ASAP.
    Thanks
    Amit Jaitly

    Amit,
    In the standard CO you can check that controller EntryFlowPageCO is not under myclasses\oracle\apps\ap\oie\entry\summary\webui.
    Its under oracle/apps/ap/oie/entry/webui so put the same under this directory structure.
    Regards,
    Gyan

  • Error 404: SRVE0190E: File not found when trying to access jsp

    I am using RAD (new to web dev) for some reason my app is unable to find .jsp's when they are not in the web content folder. I have a predefined package for my jsp's and when I run my servlet I get
    Error 404: SRVE0190E: File not found: /WEB-INF/classes/app/view/search.jsp
    now if I amend my URL in the servlet to "/search.jsp" and move the jsp to the web content folder, it works. I just don't understand why it cannot find the file when I put it in the package I created and link to it, but finds it just fine in the webcontent folder. Is there some unwritten rule JSP's MUST be in the webcontent folder? Because when i do that, then I have issues with my image links for the GUI (get red X's for all my images regardless of the fact they are linked properly.) Basically if I put my jsps where I want, look fine in design and preview, but the jsp isnt found when executed, if I move them to the web content folder the images no longer work but the jsps run. I am getting rather frustrated. Any help is appreciated.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    *https://support.mozilla.org/kb/Clear+Recent+History
    Are you using cleanup software like CCleaner or other software that may corrupt the cache?
    You can try to delete the entire cache folder.<br />
    You can find the location of the cache folder on the about:cache page (open via the location bar, like a web page).
    You can check the <b>browser.cache.disk.enable</b> pref on the <b>about:config</b> page to verify that the disk cache is enabled (should be true).

  • OMF Error 139  ( mob file not found)

    Just in case anyone else encounters this problem... I've seen posts about it in the past, but I'm not sure it ever got answered. I got error 139 when trying to export an OMF from 7.2 - long story short, the problem turned out to be that I was trying to make an OMF that was bigger than 2gig. It was 2.01 gig. Apparently the old 2gig file size limit still applies to OMFs in Logic. I don't know why. The workaround was to split the song into 2 sets of audio files and make 2 OMFs. In response to earlier discussions of error 139, having 24-bit files was not a problem, nor was files from different volumes/locations.
    Also, this may have been suggested before, but if you are having trouble importing or exporting an OMF of a very long session, note that Logic has a limit on how long a song file can be, but that the limit is in BARS(2158 bars), not TIME, so you can always use a slower tempo (i.e. 50% or 25% of actual tempo if you want to maintain a relationship to the click) to make your session longer in time but not in bars. Maybe we won't need workarounds by the time Logic 8.0 comes out. But I'm not complaining, I think 7.2 is the best Logic ever and I've been using it since...um.. well, since Notator.

    hello folks,
    I have Windows XP home Firefox v1.0.6.
    removed old java in Add/Remove programs.
    cleared the "Temporary Internet Files" folder that contained C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5.
    tried to load jre-1_5_0_04-windows-i586-p-iftw.exe for the third time, and the install still hangs up.
    J2SE Runtime Environment 5.0 Update Installer Information : Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\2XFKL4VY\je150000[1].cab. Verify that the file exists and that you can access it.
    and,
    Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\EEIDPHGA\jp150040[1].cab. Verify that the file exists and that you can access it.
    here's the thing, I cannot surf to "Content.IE5" folder in my "Local Settings\Temporary Internet Files" folder, but I can plug in the directory in the address bar of Windows Explorer & see the "Content.IE5" folder.
    I do not see "je150000[1].cab" or "je150000[1].cab" in there.
    Am I using the wrong program to fresh install Java for Firefox in XP?
    Is there something wrong with my operating system?
    monitoring this thread.....
    thanx.

Maybe you are looking for

  • Why is previewing songs in the iTunes Store causing a problem for me?

    I don't have a problem playing music in my iTunes library or navigating around it, my problem is in the iTunes Store. If I select 'See All >' after searching for something in particlar then select a song and start scrolling down the page it becomes u

  • Motorola input box question

    i have a text field in my app and when i edit it on my motorola phone a small box comes up on the bottom of the screen with the label and lets me input a value. is there a way to display that with a command without having a text field displayed on th

  • Is there a way to schedule a synchronization?

    Hello, I have just started using iSync to synchronize with my Sony Ericsson K800i Is there anyway I can get isync to synchronize my phone on a schedule of say every hour? Thanks

  • Why wont home sharing load my library?

    it just continues to say its loading and it never does

  • Find Idoc extension type for Basic Idoc type

    Hi all, Is there any way to find existing extesions for Idoc given by SAP? For example, for basic idoc DEBMAS05 for version 4.7 , Idoc extension is DEBMASEXT. In similar way I want to know what is Idoc extension for Idoc basic type PREQCR02 [Create P