Logging in problems of cat comments

Hi all

I'm having a problem with the implementation of a test of instant messaging client. I can connect to the CAA air as the developer application, and I can connect with my sample of Flex. However, when I change my AdobeHSAuthenticator.authenticator.userName to guest and the password = null, I get a "Error #1009: cannot access a property or method of a null object reference." FlashDevelop points to the sendMessage method and the clear method of the SimpleChatModel object.

Any ideas? Thanks in advance

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:TitleWindow ' http://www.Adobe.com/2006/MXML "x title = '0' ="Cat Simple"width ="400"height ="400" "
xmlns:RTC = "AfcsNameSpace" creationComplete = "init (); ">
< mx:Script >
<! [CDATA]

import com.adobe.rtc.sharedModel.descriptors.ChatMessageDescriptor;
import com.adobe.rtc.session.ConnectSessionContainer;
import com.adobe.rtc.events.ChatEvent;
import com.adobe.rtc.sharedModel.SimpleChatModel;
import com.adobe.rtc.events.AuthenticationEvent;
import com.adobe.rtc.authentication.AdobeHSAuthenticator;
import com.adobe.rtc.events.SessionEvent;
import flash.ui.Keyboard;
Import mx.controls.Alert;

import flash.events. *;

This simple example shows just how this shared model can be done easily binable for MXML.
See SimpleChatModel for more details

[Bindable]
public var _auth:AdobeHSAuthenticator = new AdobeHSAuthenticator();

[Bindable]
public var simpleChatModel:SimpleChatModel;

[Bindable]
private var _cmd:ChatMessageDescriptor;

private function init (): void
{

_auth. UserName = "customer";
_auth.password = null;

cSession.login ();

_auth.addEventListener (AuthenticationEvent.AUTHENTICATION_FAILURE, onAuthenticationResponse);
_auth.addEventListener (AuthenticationEvent.AUTHENTICATION_SUCCESS, onAuthenticationResponse);

cSession.addEventListener (SessionEvent.SYNCHRONIZATION_CHANGE, onSessionEventResponse);
cSession.addEventListener (SessionEvent.ERROR, onSessionEventResponse);


}

public void onAuthenticationResponse(event:AuthenticationEvent):void {}
If (event.type == AuthenticationEvent.AUTHENTICATION_SUCCESS) {}
trace ("authentication successful");
buildModel();
}
Else if (event.type == AuthenticationEvent.AUTHENTICATION_FAILURE) {}
Alert.Show ("authentication error:" + event.toString ());
}
}



public void onSessionEventResponse(event:Event):void {}
If (event.type == SessionEvent.SYNCHRONIZATION_CHANGE) {}
If {(cSession.isSynchronized)
Now we are connected and the pods have themselves synchronized, so go to the main screen
Switch to pods collaboration i.e. ConnectSessionContainer
vsMain.selectedIndex = 1;
}
else {}
We are now disconnected
cSession.roomURL = null;
vsMain.selectedIndex = 0;
}
}
Else if (event.type == SessionEvent.ERROR) {}
var sError:SessionEvent = event as SessionEvent;
Alert.Show (sError.error.name + ":" + sError.error.message);
}
}



private function buildModel (): void
{

Create the model: just call the constructor will not create the node in the collection or the messages.
Call to subscribe and five it an ID shared during the creation of the model.
The shared ID becomes the name of the node in the collection.
simpleChatModel = new SimpleChatModel (true);
simpleChatModel.sharedID = "simpleChatModel";
simpleChatModel.subscribe ();

simpleChatModel.addEventListener (ChatEvent.HISTORY_CHANGE, onChatMsg);

}

private void submitChat(str:String):void
{
_cmd = new ChatMessageDescriptor();
_cmd. DisplayName = cSession.userManager.getUserDescriptor (cSession.userManager.myUserID) p:System.NET.mail.MailAddress.DisplayName.
trace (_cmd. DisplayName);
trace (STR);

_cmd. MSG = str;

simpleChatModel.sendMessage (_cmd);

chat_msg_input. Text = "";
}

private void clearChat (): void
{
chat_msg_area. Text = "";
simpleChatModel.clear ();
}

private void onChatMsg(evt:ChatEvent):void
{
If (evt.message! = null & & evt.message.msg! = null & & evt.message.displayName! = null)
{
chat_msg_area. Text += evt.message.displayName + ":"+ evt.message.msg + "\r"; ".

} else {}
chat_msg_area. Text = "";
}
}

[]] >
< / mx:Script >

" < = roomURL rtc:ConnectSessionContainer ' https://ConnectNow.Acrobat.com/trainone/myfirstroom "authenticator ="{_auth}" "
ID = "cSession.
Width = '100% '.
Height = "100%".
autoLogin = "false" >

< mx:VBox width = '100 percent"height ="100% ">
< mx:TextArea width = "100%" height = "100%" id = "chat_msg_area" / >

< mx:ControlBar >
< mx:TextInput width = "100%" id = "chat_msg_input" / >

< mx:Button label = click "Submit the cat" = "{submitChat (chat_msg_input.text)}" / >
< mx:Button label = "Clear Chat" click = "clearChat ()" / > "
< / mx:ControlBar >
< / mx:VBox >

< / rtc:ConnectSessionContainer >

< / mx:TitleWindow >

Hello

I modified your code and it works now. Your buildModel() method has not been called and if the SimpleChatModel was always null. It was because our service was too fast :), and we were broadcasting the event AuthenticationSuccess before you can get it. It should work now.



     
          
     

     

          
               

               
                    

                    
                    
               
          

     

Tags: Adobe LiveCycle

Similar Questions

  • Problem with his comments before signing the PDF.

    Problem with his comments before signing the PDF.

    My problem is with sticky notes that I need to use my comments frequently.

    When I place my signature and save document commented, disappear all pop-up windows and icons of sticky notes go "flat" of the document.

    It's the same with all the annotation tools and pop ups disappear if I use them with.

    Is there a way to keep comments and pop-ups 'living' signing and recording after his comments?

    Fig 1: commented the document before you sign and save.

    Photo 2: after you save the signed document. Pop - ups disappeared and sticky notes are here to stay.

    Hey Tomi,

    It was a typo on the part of Ajlan. It was supposed to read "Lock after signing the Document. Please see the screenshot below. However, this check box only appears in the dialog box sign the Document If you sign the last signature on the PDF field. If you don't, it's because there are other unsigned signature fields.

    Steve

  • Payment problems - recommended cat but does not work

    Hello

    The credit card was rejected because he was over the limit. This problem has been fixed, but I don't see any way to pay the account manually or have Adobe reprocess it.
    All I can do is to change the map. I tried to change and then return to the original, but Adobe won't accept.

    I tried to go through the contact us link, but ended up with a recommendation of cat, but no direct link. I can't find any other way to use the Chat. Everything that brings me to the same page and problem.

    Any ideas?

    Thank you

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • logging in problem

    Hello

    I have problem connecting to.

    I can:

    -conect to my account from the website

    - and my cell phone plugged in too.

    I can't:

    -log from my pc at home

    -Connect from my mac at work

    I unlink my account because it was the link recently with my hotmail account.

    But still the same...

    What should I do?

    Thank you very much

    What exactly is the version of Skype installed on your PC? In Skype go to help-> on Skype.

  • "The user profile service failed the log - on" problem of Windows XP administrator account

    OK, so my mom is unable to log on to his profile on Windows XP Home Edition. She has both the administrator account. When she tries to connect, you will see the above error message. My brother can log into his account without problem.

    My mother told me that she had initially gone on ITunes and downloaded 3 things that the program said she needed. When she went to reboot his computer according to the instructions, she received this error message and cannot connect.

    She then guest account and was able to remove the 3 programs, but nothing helped. If anyone has any ideas, it would be appreciated. This is the Windows program that is already installed on the computer.

    I tried to search in the forums, but it's a little confusing. She got also never all warnings "temporary profile".

    Thank you!

    Looks like the user profile is damaged.  To allow for the recovery, you will need to log in with an administrator account.  If your MOM was the only administrator account, try starting mode safe mode (F8 at startup) and log in as user 'administrator '.  The default value is the empty password.  After that, follow the steps in the following article:

    "How to recover damaged Windows XP user profile"
      <>http://support.Microsoft.com/kb/555473 >

    HTH,
    JW

  • Win7 log in problems: "the referenced account is currently locked and cannot be saved in.

    I've seen a few posts related to this error, but nothing of quite like what I feel... My service company COMPUTER is perplexed and they have tried a bunch of stuff at the end server without result, so want to recreate the image on my computer, I don't want to just cause it's a pain.

    I have 2 computers in my workplace. A desktop and a laptop both running Win7 that connect on the server in domain of companies. I use the same username and password for both, of course.
    The problem is with the laptop. Occasionally when I try to log in, I get a notification "the referenced account is currently locked and cannot be saved in" and I can not connect. However, if I unplug the network cable and try it, it works. If I plug the power cable back in and lock the computer, restart the whatever, I can connect properly. However, after a few hours or days, it does the same thing.
    So I'm not completely locked out of the system. It's really annoying to have to disconnect the network like that.
    It has not always done this... It allows to work very well, but it seems to have just started for no apparent reason. The main difference between laptops and desktop, is that the laptop has Symantec PGP Whole Disk Encryption, while the office is not.
    Any thoughts on what may happen and what can I do about it?

    Hello

    I suggest that you post the application on Microsoft TechNet forum because we have experts working on these issues. You can check the link to post the same query on TechNet:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking

    Please do not hesitate to contact us if you have other questions related to Windows.

  • BlackBerry Call Log ID problem Z10

    My wife has a Z10 and recently a whole started having problems with the display ID. When she receives a call from a person in its list of conact, it appears as a simple number & does not display the name. Once a call at the end, it then shows the name of the person calling in the call log.

    Someone at - it hsd this problem? Can someone please suggest a solution if you have found a.

    Thank you

    RedBaron salvation,

    Welcome to the support community!

    Your wife has enabled smart dialing or she codes of countries included in the phone numbers? If so, this article should provide more information on this issue. "Caller ID shows not associate contact when the country code is included in the telephone number ' http://blackberry.com/btsc/KB33685
    If this is not the case, is it possible that more than one contact on the BlackBerry Z10 smartphone is associated with phone numbers that are affected?

    I look forward to your reply.

  • Problems of Tunneling comments

    Hello

    I was wondering if someone could help me out here. I followed the guidelines in accordance with the configuration guide estimé WLC regarding the configuration of the internal controller that is simple enough. Mobility anchor is in place with the controller of the DMZ however I do not know what configuration is required on the controller of DMZ itself regarding the DHCP and the WLAN comments himself. To be honest, the documentation is a bit narrow to say the least.

    Any help would be greatly appreciated

    See you soon,.

    Martin

    Martin,

    I share your frustrations with the documentation to access as a guest. Of what you have said that you are having problems with the way in which mobility guest access is configured regarding DHCP. I hope this helps.

    The first part is well documented. Set up a group of mobility between the remote control and the controller of the DMZ. Make sure it is pointing upwards. Now we'll move DHCP configuration.

    (1) on the controller of the DMZ, set up a DHCP pool for invited guests. Make sure that you generate a WLAN and link to the appropriate interface

    (2) on the remote control, your 'management' interface, set the DHCP server or the ip address of the management on the controller of the DMZ interface. Very important!

    (3) build the WLAN prompt on the remote with the same configuration and link its interface to the management interface of the remote control.

    Voila... now, all DHCP requests will be forwarded to the anchoring of the DMZ.

    Thing I can help with made me know.

    -Mike

    http://CS-Mars.blogspot.com

  • Logging strange problem with PIX

    Since I upgraded to v7.0 on my PIX525 I noticed a weird problem that I have been unable to resolve in what concerns my PIX syslogging. A handful of times a week, I get messages stating that my email gateway trying to send about 4.2 GB e-mail messages to mail servers different.

    Problem is I don't see any indication of this in my mail server logs, my SMTP gateway logs, and my bandwidth monitor is not reported this. We move usually about 1.5 GB per day through our internet pipe so if there was a 4.2 GB extra traffic, I know. I tried to sniff the traffic of the mail server and I do not take into account everything that matches the entry in syslog. I can't find any info regarding no matter where this and I was wondering if anyone has seen this issue.

    Thank you.

    Trac bug Cisco messages the following warning, corrected in version 7.02:

    CSCeh96708 Yes Syslog reports erroneous transfer size in syslog TCP disassembly 302014

    Please upgrade to version 7.02 and these messages will be fixed.

    Please rate this post if this has been helpful.

  • Problem with the comment tool, I do not see my comments

    I use one PC with Windows 8.1 and Adobe Acrobat Reader DC. With the help of the "Add ". a comment"tool, I see that content when I select. . The remaining it is not displayedI need to take notes in my book to give a few lessons and I can't see my comments in the PDF file. What can be my problem?

    Thank you for asking.

    Can you open a few other PDF, create a note annotation, set its properties to your taste, then right-click and select Properties, set opacity to 100% and click on the checkbox "Use default properties" at the bottom.

    Close the player. When you open the player, these properties will stick?

    If not and you are comfortable using the command line (CMD prompt) to run a command, you can run the following command:

    reg delete "HKCU\Software\Adobe\Acrobat Reader\DC\Annots\cAnnots"

    reg delete "HKCU\Software\Adobe\Acrobat Reader\11.0\Annots\cAnnots"

    This should dispel any annotation stored preferences and also the preference of 0-opacity which appears to have been set.

  • Text log filtering problem

    Hello

    I have a vCenter Log Insight dashboard that will show me our backup account unauthorized access

    Which means not allowed as the connection comes from an unauthorized IP address.

    I have several positive faulse due to this release: where an IP address is specified.

    issue_log.jpg

    Does anyone know how can I solve this problem? or get rid of this positive faulse?

    Thank you very much

    Concerning

    Change the constraint to: 10.0.0.73, 172.20.241.137, 10.75.1.64, vcenterhpdp @ connected

  • Admin Log in problems, far from redirects auto...

    Hello

    I am faced with a new site on Business Catalyst. I already runs a little through the system, but this one has problems. I warn you, I find the system very confusing and not so well designed commercial catalyst admin... I think I might have mucked DNS settings this time at launch.

    Memory I clicked on external DNS, (I know now that's not how my other sites are actually) but I can not connect to see...

    I've changed server names and the values of A DNS to point to the correct IP address, but now every time I try and log in to the administration panel of Business Catalyst, I redirect to the site instead, which is a page of portfolio for the domain provider...

    Help, please

    Ed

    Hi Ed,

    You set up one or the other, not the servers of names and records. A change in file is if you want Web traffic to point only to a site like BC. Name servers are for all traffic - it would be if you were using BC for emails etc.

    It would take effect however not admin redirecting to the Web site unless you are not loging in correctly or you implement a redirection of domain under this URL.

    What happens when you go to... http://YOURSITEPREFIXHERE.businesscatalyst.com/admin ? (If you have your own domain partner instead of businesscatalyst use)

  • Workstation9 &amp; VS2010 log file problem

    It is more of an irritant than as a serious problem.

    Just upgraded to Workstion9; but now, when I launch Visual Studio 2010 upwards, I have a message box titled "VMware", with the following error message:

    "An error occurred during the attempt to access the log file. Logging may not work correctly. »

    I was wondering if anyone else has seen elsewhere, or better knows how to fix?

    See you soon.

    Colin.

    My experience with this issue is a bit different, I only get the error when launching visual studio as a non-administrator. I throw VS as an administrator when you are working on an IIS Web site, the error does not come then. Looking at the box in connection shows the location of the log file, when I open this directory location shows with a padlock on the subject (see http://answers.microsoft.com/en-us/windows/forum/windows_7-files/what-are-the-padlock-icons-on-folders-for/e4b100a7-f65d-49c6-8555-6df40d35676a on this problem).

    Get rid of the error turned out to be pretty easy. All first quit all instances of Visual Studio, then in the directory identified in the box "VMware/About VMware Virtual Debugger" (when the error does not), the directory has been in my temp C:\Users\\AppData\Local\Temp, with the name of vmware - Directory and just delete this folder (actually not a bad idea to delete everything you can ", it is supposed to be temporary, after all).  Next time, I have not launched VS no error.

    I hope this helps!

  • Adobe Edge CC install log in problem

    Anyone else having problems installing Adobe Edge CC on their Macs. I get to the point where Adobe Application Manager (7.0.0.414 (7.0.0.414)) application to connect and when I put my details (which I changed my password to see if it makes a difference) the loading animation just sits there in a loop for more than 10 minutes before I Cancel.

    login.jpg

    I installed Adobe reflow CC with no problem (or asking for my log in), so it's weird. Any help would be appreciated.

    Thank you, Elaine,.

    I work at a University, and on my Mac, I had to do the following: go to the apple-> system icon

    preferences-> network-> ethernet-> advanced-> proxy-> and uncheck all of the proxies on the left side.

    Then he gave me access.

    Thanks for you're help.

  • Safari and Firefox Log-in problems

    I have problems to connect to some Web sites.  In particular, Facebook and Spotify.

    When I open either my wife login/password details are displayed.  I change mine by changing my user name and then selecting my details in the automatic fill pop - up. AutoFill completes the password for me. When I click on the "connect" button or either of these Web sites, instead of my contact information is passed to the site Web and my version, opening, the connection details get switched back instantly on the IDs of my wife and get his version of web pages instead.

    To add to this, Spotify now goes directly to the newspaper to my wife and no longer gives me the ability to insert my own login information.

    I'm under El Capitan on an iMac nine (iMac retina 5K, 27 inches, end of 2015) which has just migrated from a backup Time Machine created by my mid 2007 iMac who unfortunately died last week. This re-switch ID problem didn't happen on my old iMac.

    Only a few sites present me this problem so far.

    Is there a setting I need to adjust to prevent the connection back to the details of my wife?

    Disconnect from Spotify first, then sign in with your user name and password. In type manually.

Maybe you are looking for