[Laszlo-dev] ack! completely blank screen, compiling to swf9 with debug=true
Sarah Allen
sarah at ultrasaurus.com
Wed Mar 18 12:28:13 PDT 2009
thanks... I'll try installing that separately when I get back home
this evening (offsite at a meeting today). Although it is weird,
since I installed the Flash authoring tool and have seen a Flash
Player debug alert in another Flash app I was working on.
On Mar 18, 2009, at 10:47 AM, Henry Minsky wrote:
> Hi Sarah,
>
> I just wanted to make sure you have the right debugging tools in
> place, because it sounds like you're not
> getting the runtime flash player errors displayed.
>
> You're running the Flash 10 debug player, right? That has to be
> downloaded and installed specifically,
> the regular Flash 10 player will silently discard a runtime error
> without saying anything.
>
> When I run the test-video app in swf9, I get something like this
> displayed in an alert dialog from the player
>
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
> at $lzc$class_mediastream/_addListeners()[/Users/hqm/openlaszlo/lib/
> jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/
> video/build/example-mediastream/$lzc$class_mediastream.as:548]
> at $lzc$class_mediastream/_onNetStatus()[/Users/hqm/openlaszlo/lib/
> jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/
> video/build/example-mediastream/$lzc$class_mediastream.as:539]
> at flash.net::NetConnection/connect()
> at $lzc$class_mediastream/_createStream()[/Users/hqm/openlaszlo/lib/
> jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/
> video/build/example-mediastream/$lzc$class_mediastream.as:518]
> at $lzc$class_mediastream/play()[/Users/hqm/openlaszlo/lib/jakarta-
> tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/video/
> build/example-mediastream/$lzc$class_mediastream.as:126]
> at $lzc$class_mediastream/_handleAutoplay()[/Users/hqm/openlaszlo/
> lib/jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/
> test/video/build/example-mediastream/$lzc$class_mediastream.as:184]
> at $lzc$class_mediastream/$lzc$set_url()[/Users/hqm/openlaszlo/lib/
> jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/
> video/build/example-mediastream/$lzc$class_mediastream.as:937]
> at LzEventable/setAttribute()[/private/tmp/lzswf9/lzgen24751/
> LzEventable.as:62]
> at $lzc$class_mediastream/init()[/Users/hqm/openlaszlo/lib/jakarta-
> tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk7/test/video/
> build/example-mediastream/$lzc$class_mediastream.as:895]
> at LzNode/__LZcallInit()[/private/tmp/lzswf9/lzgen24751/LzNode.as:
> 482]
> at LzCanvas/__LZcallInit()[/private/tmp/lzswf9/lzgen24751/
> LzCanvas.as:450]
> at LzCanvas/__LZinstantiationDone()[/private/tmp/lzswf9/lzgen24751/
> LzCanvas.as:397]
> at LzInstantiatorService/makeSomeViews()[/private/tmp/lzswf9/
> lzgen24751/LzInstantiatorService.as:234]
> at LzInstantiatorService/checkQ()[/private/tmp/lzswf9/lzgen24751/
> LzInstantiatorService.as:171]
> at Function/http://adobe.com/AS3/2006/builtin::call()
> at LzEvent/sendEvent()[/private/tmp/lzswf9/lzgen24751/LzEvent.as:89]
> at LzIdleService/__idleupdate()[/private/tmp/lzswf9/lzgen24751/
> LzIdleService.as:53]
> at LzIdleKernel$/__update()[/private/tmp/lzswf9/lzgen24751/
> LzIdleKernel.as:25]
>
>
> You can also run the fdb debugger from the command line like
>
> fdb "http://127.0.0.1:8080/trunk7/test/video/example-mediastream.lzx?lzr=swf9&debug=true
> "
>
> and will see something similar on the command line, once you've
> connected to the app.
>
> In this case, if I click "Continue" on the Flash error dialog window,
> the app comes up and displays the
> Laszlo debugger window, although the video views fail to get created,
> due to the error above during
> the processing of the instantiation queue.
>
>
>
> On Wed, Mar 18, 2009 at 12:17 PM, Sarah Allen
> <sarah at ultrasaurus.com> wrote:
>> just sent to laszlo-dev "For Review: Change 20090318-sallen-L
>> Summary:
>> improvements to videoplayer, WORK IN PROGRESS"
>>
>> Thanks!
>>
>> On Mar 18, 2009, at 9:12 AM, Henry Minsky wrote:
>>
>>> I'd be happy to help out here, I'm an old hand at getting blank
>>> screens in swf9 :-)
>>> Where can I get a copy of the test case to compile?
>>>
>>> On Wed, Mar 18, 2009 at 11:07 AM, Raju Bitter <rajubitter at me.com>
>>> wrote:
>>>>
>>>> Do you see any entry in the catalina.out Tomcat log file? Does the
>>>> LZX->AS3
>>>> compilation start? If you get the AS3 code (which I doubt), you
>>>> could run
>>>> that out of Flex Builder for debugging purporsed, or use fdb (Flash
>>>> Deubgger). I'd be willing to test on my machine as well, if you
>>>> send me
>>>> the
>>>> files.
>>>>
>>>> - Raju
>>>>
>>>> If not, you'll probably have to set your log-level to debug and
>>>> digg
>>>> deeper.
>>>>
>>>>
>>>>
>>>> - Raju
>>>>
>>>> On Mar 18, 2009, at 4:01 PM, Sarah Allen wrote:
>>>>
>>>>> So, I've been working away at fixing a/v bugs and compiling to
>>>>> swf8.
>>>>> I'm
>>>>> almost done with my most recent round of fixes, so I'm reviewing
>>>>> my
>>>>> changes
>>>>> and checking to make sure I didn't break swf9... whoops! I get a
>>>>> completely
>>>>> blank screen, no errors, no warnings, no debugger.
>>>>>
>>>>> Have you seen this before? Is there any way to debug this aside
>>>>> from
>>>>> going back to a known state and re-applying my changes gradually
>>>>> until I
>>>>> find the line of code that breaks.
>>>>>
>>>>> Thanks in advance for any advice,
>>>>>
>>>>> Sarah
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Henry Minsky
>>> Software Architect
>>> hminsky at laszlosystems.com
>>
>>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list