Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Sporadic bug?

Avatar

Level 3

I see this pop up once in about 4 debugging trials when working on my recording video application:

I'm using the new lccs_Playbackfix.swc and flex 4.1.  Right now my goal is to create a visual indicator to whether the current video is being recorded or not.  I don't believe this error has any direct connection to what I'm doing with the Image displaying the recording status.  Just thought this might help you guys out, or maybe it's just me.

Tue Apr 26 12:14:44 GMT-0500 2011 LCCS SDK Version : 1.4.0 Player Version : WIN 10,1,85,3

12:14:44 GMT-0500 requestInfo https://na2.collaboration.adobelivecycle.com/twvending/videochat?mode=xml&glt=g:&x=0.364526264369487...

12:14:44 GMT-0500 authentication status: 200

12:14:44 GMT-0500 authentication request complete

12:14:44 GMT-0500 requestInfo https://na2.collaboration.adobelivecycle.com/twvending/videochat?gak=cmVuZ2EqbmExcioxMmY5MmNlNTExNio...

12:14:45 GMT-0500 #TicketService# ticket received: v48ixl3z5v4v

12:14:45 GMT-0500 Getting FMS at https://na2.collaboration.adobelivecycle.com/fms?ticket=v48ixl3z5v4v&proto=rtmfp, attempt #1/3

12:14:45 GMT-0500 result: <fms>

<origin>fms6.acrobat.com</origin>

<proto_ports>rtmfp:1935,rtmps:443</proto_ports>

<retry_attempts>2</retry_attempts>

</fms>

12:14:45 GMT-0500 protocols: [object ProtocolPortPair],[object ProtocolPortPair]

12:14:45 GMT-0500 [attempt 1 of 2] Connecting to 0/1: rtmfp://fms6.acrobat.com/cocomo/na2-sdk-e80bc473-6f16-41ac-adcb-67e01950cd72/videochat #startProtosConnect#

12:14:45 GMT-0500 tempNetStatusHandler 0/2,NetConnection.Connect.Success

12:14:45 GMT-0500 isTunneling? false

12:14:45 GMT-0500 is using RTMPS? false

12:14:45 GMT-0500 RECEIVED LOGIN AT SESSION

12:14:45 GMT-0500 .user descriptor from server [object]

12:14:45 GMT-0500 \\

12:14:45 GMT-0500 .userID [string]= WCD-752960CA4D63BEF00A746C1A/2

12:14:45 GMT-0500 .role [number]= 100

12:14:45 GMT-0500 .affiliation [number]= 100

12:14:45 GMT-0500 .displayName [string]= Eric Bloms 2

12:14:46 GMT-0500 RECEIVENODES UserManager

12:14:46 GMT-0500 receiveAllSynchData UserManager

12:14:46 GMT-0500 RECEIVENODES FileManager

12:14:46 GMT-0500 receiveAllSynchData FileManager

12:14:46 GMT-0500 checkManagerSync:[object FileManager]

12:14:46 GMT-0500 RECEIVENODES AVManager

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at com.adobe.rtc.sharedManagers::StreamManager/onItemReceive()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomoPlayer10/src/com/adobe/rtc/sharedManagers/StreamManager.as:1786]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomoPlayer10/src/com/adobe/rtc/sharedModel/CollectionNode.as:777]

at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomoPlayer10/src/com/adobe/rtc/messaging/manager/MessageManager.as:718]

at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItems()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomoPlayer10/src/com/adobe/rtc/messaging/manager/MessageManager.as:593]

at com.adobe.rtc.session.managers::SessionManagerBase/receiveItems()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomoPlayer10/src/com/adobe/rtc/session/managers/SessionManagerBase.as:456]

<?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"
               xmlns:rtc="http://ns.adobe.com/rtc"
               width="100%" height="100%" currentState="logon" applicationComplete="loadComplete()" >
    <s:layout>
        <s:VerticalLayout paddingBottom="6" paddingLeft="6" paddingRight="6" paddingTop="6" />
    </s:layout>
    <s:states>
        <s:State name="default" />
        <s:State name="logon" />
    </s:states>
   
    <fx:Script>
        <![CDATA[
            import com.adobe.rtc.archive.ArchiveManager;
            import com.adobe.rtc.events.SessionEvent;
            import com.adobe.rtc.session.managers.SessionManagerPlayback;
           
            import flash.external.ExternalInterface;
            import flash.utils.Timer;
           
            import mx.core.Application;
            import mx.core.FlexGlobals;
            import mx.events.FlexEvent;
            import mx.utils.Base64Encoder;
           
            [Bindable] var roomURL:String = "<urlhere>";
            [Bindable] var displayName:String = "Guest";
            [Bindable] var isPriviledged:Boolean = false;
           
            protected function loadComplete():void
            {
                SetFlashVariables();
               
                // Attach the cleanUp function to a javascript function myFlexFunction()
                ExternalInterface.addCallback("myFlexFunction",cleanUp);
                // For Internet Explorer, FireFox, Safari or other
               
                currentState = "default";
               
                session.archiveID = "session";
                session.login();
            }
           
            protected function SetFlashVariables():void
            {
                //Read in the roomUrl from the flash vars.  If they fail, set an Error label and set
                //the room to default - videochat.
                try
                {
                    var flashVars = this.loaderInfo.parameters;
                    roomURL = "<urlhere>" + flashVars.room;
                    if(flashVars.room == null)
                        roomURL = "<urlhere>";
                }
                catch(error:Error)
                {
                    roomURL = "<urlhere>";
                }
               
                //Read in the userName from the flash vars.  If failure, then name the user "Guest"
                try
                {
                    displayName = flashVars.userName;
                }
                catch(error2:Error)
                {}
               
                //Read in the priviledged boolean from flash vars.  If failure, set isPriviledged to false
                try
                {
                    isPriviledged = flashVars.isPriviledged;
                }
                catch(error3:Error)
                {
                    isPriviledged = false;
                }
            }
           
            protected function session_Loaded():void
            {
                aPublish.publish();
               
                //Set the username that appears to display name
                session.userManager.setUserDisplayName(session.userManager.myUserID, displayName);

                //Only record the conversation if the call is not priviledged
                session.archiveManager.recordSession = isPriviledged ? false : true;
                if(isPriviledged)
                {
                    eyeballImage.source = "@Embed('assets/norecord.png')";
                }
                else
                {
                    eyeballImage.source = "@Embed('assets/record.png')";
                }
            }
           
            public function cleanUp():void
            {
                session.archiveManager.recordSession = false;
                var tenSecs:Timer = new Timer (1000, 15);
                tenSecs.addEventListener(TimerEvent.TIMER, onTick);
                tenSecs.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete);
                tenSecs.start();
            }
           
            public function onTimerComplete(event:TimerEvent):void
            {
                session.archiveManager.recordSession = false;
            }
           
            public function onTick(event:TimerEvent):void
            {
                trace("tick " + event.target.currentCount);
            }
        ]]>
    </fx:Script>
    <fx:Declarations>
        <rtc:AdobeHSAuthenticator id="auth" userName="&lt;userhere>" password="<passhere>" />
    </fx:Declarations>
    <s:HGroup horizontalAlign="center" width="100%">
        <s:Label id="teamLabel" text="TEAM Video Conference" fontSize="16" fontWeight="bold" />
    </s:HGroup>
    <rtc:ConnectSessionContainer id="session" roomURL="{roomURL}"
                                 authenticator="{auth}" autoLogin="false"
                                 height="80%" width="100%" includeIn="default"
                                 creationComplete="session_Loaded()" label="Label" name="Name">
        <rtc:WebCamera top="10" left="10" bottom="10" right="10" />
        <rtc:AudioPublisher id="aPublish" />
        <rtc:AudioSubscriber id="aSubscribe" />
        <mx:HBox horizontalAlign="right" width="100%">
            <mx:Image id="eyeballImage" source="@Embed('assets/record.png')" height="32" width="32" top="10" z="10" />   
        </mx:HBox>
    </rtc:ConnectSessionContainer>
</s:Application>



Thanks again for the help,

   -Eric

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi Eric,

You're right, there is a sporadic issue, not related to your feature -

we're going to be fixing this up for the next release. We can update the SWC

posted here once the bug fix has been checked in on our side.

thanks for reporting this issue!

nigel

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

Hi Eric,

You're right, there is a sporadic issue, not related to your feature -

we're going to be fixing this up for the next release. We can update the SWC

posted here once the bug fix has been checked in on our side.

thanks for reporting this issue!

nigel

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----