Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Task queue failed at step 3: View setup failed: Error #1065


We are getting the following error being reported by our customers. About 1% have reported the problem, not sure how many see it and don't report it.

*Task queue failed at step 3: View setup failed: Error #1065*

The problem is we aren't able to replicate this at all. So debugging has been problematic. We have dug through the ActionScript and still not sure what's going on. We are thinking it maybe a hiccup when trying to load the playlist xml or config xml (both on same server as player).

Some customers state refreshing fixes it and other times reinstalling Adobe Flash Player corrected the issue. The problem started when we switched from JW Player 4.6 to 5.6 in May (to get around the url encoding bug).

Some specifics:
JW Player: 5.7.1896
Videos: MP4 via dynamically generated playlist with bitrate options
CDN: Cloudfront private content (signed video urls)

Any one with any ides? Anyone else seen this? Any suggestions on how to debug this problem?

16 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

Ethan, unfortunately I can't provide a direct link, so I setup a test page to mimic our instance of the player. The only functionality not replicated here is our use of addModelListener calls.

Test: http://www.kjdev.com/test.php

Screenshot of error on IE7: http://www.kjdev.com/task_queue.jpg

JW Player

User  
0 rated :

Debug version of Flash Player yielded a bit more info.

Error #2044: Unhandled error:. text=Task Queue failed at step 3: View setup failed: Error #1065: Variable ContextMenuClipboardItems is not defined.

Ethan Feldman

JW Player Support Agent  
0 rated :

What is – ContextMenuClipboardItems ?

Have you customized anything?

JW Player

User  
0 rated :

We are using a custom compile but no components were added. Our changes are minor: consisting of disabling of the scrub bar during certain events, changes to default stretching, and alternate text on right click menu.

I have no idea what ContextMenuClipboardItems is but after doing some "googling" it looks like it some see this error when compiling for FP9 instead of FP10. We followed the readme when recompiling using Adobe Flash Professional CS5.5

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you please use the stock player? It is pretty hard to debug when custom things have been done…

JW Player

User  
0 rated :

Using the stock player isn't an option because our application relies on some of the changes we have made. I think I'm getting closer to nailing this down though.

After going through all the archived versions of Flash Player from 9.0.28 to 10.3.181.35, the error only occurs in the following versions of Flash Player.
10.0.12.36
10.0.22.87
10.0.32.18
10.0.42.34
10.0.45.2

FP9 and 10.1.53.64+ works. Until we can find a fix, we are going to up our minimum FP to 10.1.53.64. Downside is we deal with a lot of corporate customers on aging workstations and sysadmins that don't want allow upgrading. Bright side, at least I have some answers now.

Ethan Feldman

JW Player Support Agent  
0 rated :

Well, you are using something custom, so it is pretty hard to debug, but glad you got closet to a solution…

JW Player

User  
0 rated :

Just wanted to update in case someone else runs into this.

For Adobe Flash Professional CS5.5, in the Publish Settings the player is set to "Flash Player 10.2" by default. Make sure you change this to "Flash Player 10 & 10.1" before you publish.

As stated by Adobe... "In Flash Pro CS5.5, the Flash Player 10.2 setting creates a SWF file using version 11 of the SWF format. The Flash Player 10 & 10.1 setting creates a SWF file using version 10 of the format."

Ethan, you may want to update compiling with Flash instructions in the README.txt.

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi, thanks for letting us know. You should mention this at – http://www.longtailvideo.com/support/forums/jw-player/feature-suggestions/ so the developers can update this accordingly.

JW Player

User  
0 rated :

done.

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks

JW Player

User  
0 rated :

I just updated the ADOBE flash player to version 11. It is FIXED!!! I have 2 laptops WIndows 7 and Windows XP. XP was running OK but Not WIndows 7. after update adobe flash player it ran ok. regards!

Ethan Feldman

JW Player Support Agent  
0 rated :

Cool!

JW Player

User  
0 rated :

We came across this too. The compile notes state Flash 10.0.0, but the Flash Builder 4.5 and higher all require SDK 3.6 in order to do flash 10. When you downgrade to sdk3.6, you'll find a few errors in the configger.as file.

The errors are related to Flash 11 / SDK 4.6 code on this line:
var disallowed:Vector.<RegExp> = new <RegExp>[ /fullscreen/i, /controlbar./i, /playlist./i ];

Which is invalid for Flex3.6

Rewriting this logic of testing the value against 3 regex in actionscript 3 style will allow this to compile again for Flash 10 / SDK 3.6

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks for sharing :)

This question has received the maximum number of answers.