Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Which browser are you using?
    Can you see the stack trace of the error?

    The extra info Dario mentioned is not yet printed by the official builds, I'll have to send you a preview of the next library, or you might wait January for the official release, for these new info to be in the error message.

    Let me know your thoughts.

  2. #12
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Using Google Chrome - and no there is absolutely nothing in the call stack for the exception, which is the annoying thing. All it points to is a line number (48) which of course is difficult to assess in a minified script.

  3. #13
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    I have more information now. Please find attached screenshot from a Google Chrome console.

    Click image for larger version. 

Name:	LS_Error.jpg 
Views:	1169 
Size:	50.0 KB 
ID:	176

  4. #14
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Code:
     'Attr.ownerElement' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).
    :9081/js/jquery/jquery.min.js?v=y097eeydkk6xyldi1420029582638:3 'Attr.textContent' is deprecated. Please use 'value' instead.
    :9081/js/jquery/jquery.min.js?v=y097eeydkk6xyldi1420029582638:3 'Attr.nodeValue' is deprecated. Please use 'value' instead.
    :9081/js/lightstreamer/lightstreamer.js?v=6.02a.7946:178 WebSocket connection to 'ws://ctsdmz:8686/lightstreamer' failed: WebSocket is closed before the connection is established.
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    http://ctsdmz:8686/lightstreamer/control.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    3http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8529&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_NETWORK_CHANGED
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_NETWORK_CHANGED
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8533&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_NETWORK_CHANGED
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    3http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8565&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8571&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8575&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    http://ctsdmz:8686/lightstreamer/create_session.js Failed to load resource: net::ERR_NETWORK_CHANGED
    http://ctsdmz:8686/lightstreamer/create_session.js?LS_phase=8581&LS_cause=t…NS&LS_user=KTURNER&LS_password=nullpassword&LS_force_head=true&LS_eng=866& Failed to load resource: net::ERR_NETWORK_CHANGED
    :9081/js/lightstreamer/lightstreamer.js?v=6.02a.7946:48 console.trace():9081/js/lightstreamer/lightstreamer.js?v=6.02a.7946:48 x.addPackedTimedTask
    :9081/js/lightstreamer/lightstreamer.js?v=6.02a.7946:49 Uncaught Executor error for times: 1420191599170 + null

  5. #15
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    The line number is not relevant because it simply points to the place where the exception is thrown, but that's not where the problem lies as the null->NaN value is coming in as a parameter to that method.
    The stack trace would actually show the bad call, I'm trying to imagine why is missing.

    In the library there are many calls to (a method that calls) that method, that's why pinpointing the case with static analysis of the code is not easy. Unfortunately it looks like at this point is the only path left.

    Just to try and reduce the code to be analyzed, does your application use our visual widgets?

  6. #16
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Yes , I am using the statusWidget and the moment as a safety blanket on our login screen to check that the connection is all OK. It gets removed from the DOM after a certain period of time.

  7. #17
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    I checked the various calls to the method, but I'm still at a loss, I don't seem to be able to justify the error.

    Can you please open the console on your application and run:

    do you get the stack trace in this case?

    Did you see the error on firefox? Maybe the stacktrace does appear there.

  8. #18
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    I ran that in Chrome and get this


    Click image for larger version. 

Name:	ls_error_2.jpg 
Views:	1055 
Size:	38.4 KB 
ID:	180

  9. #19
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    good news,

    by chance I reproduced the error you're facing. I can't be sure the cause is the same but I hope so, even if in my case I got a stack trace.
    I'm going to fix the bug tomorrow.

    Just so you know, the bug I found is harmless (the only effect is the error on console).

    Thanks for you patience!

  10. #20
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    OK - that sounds great

 

 

Similar Threads

  1. Replies: 1
    Last Post: July 7th, 2010, 03:13 PM
  2. Occasional javascript exceptions in IE6
    By Test6405 in forum Client SDKs
    Replies: 8
    Last Post: December 24th, 2009, 08:59 PM
  3. Replies: 3
    Last Post: April 9th, 2009, 11:38 AM
  4. Replies: 1
    Last Post: August 27th, 2007, 12:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:18 AM.