Flowdock

Expand all | Collapse all

Javascript error, cannot use threads

Jump to Best Answer
  • 1.  Javascript error, cannot use threads

    Posted 11-23-2017 04:35 AM

    I click on a message to reply to a thread and nothing happens. In the console I get the following error message:

     

    Uncaught TypeError: Cannot read property '0' of undefined
    at t.render (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:110)
    at c._renderValidatedComponentWithoutOwnerOrContext (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2176)
    at c._renderValidatedComponent (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2176)
    at c.mountComponent (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2172)
    at Object.mountComponent (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2681)
    at f (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2548)
    at r.perform (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2996)
    at m (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2549)
    at r.perform (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2996)
    at Object.batchedUpdates (owl-web-14b7fbe7a3b35961412c1b2b0a38bca5.js:2351)

     

    ----

     

    This happens using both the flowdock app and Chrome on both MacOS and Windows 7.

     

    Is there something wrong with my account? Any ideas how to get threads working properly?



  • 2.  Re: Javascript error, cannot use threads
    Best Answer

    Posted 11-27-2017 11:00 AM

    Hi Toni,

    Sorry you are experiencing this issue. I created a case for you with support so we can take a closer look. Someone will email you shortly. 

     

    Kind Regards,

    Leah



  • 3.  Re: Javascript error, cannot use threads

    Posted 12-27-2017 02:04 AM

    Hi Leah,

     

    how can i enter value dynamically while lisa is running a test? 

     

    Please look at above link. I am trying to use javascript in this context,

     

    <html>
       <head>
          
          <script type="text/javascript">
             <!--
                function getValue(){
                   var retVal = prompt("Enter your name : ", "your name here");
                   document.write("You have entered : " + retVal);
                }
             //-->
          </script>
          
       </head>
       
       <body>
          <p>Click the following button to see the result: </p>
          
          <form>
             <input type="button" value="Click Me" onclick="getValue();" />
          </form>
          
       </body>
    </html>
     

     

     

    But getting this error:

    ============================================================================
    | Error in Script
    ============================================================================
    | Step:        Execute script (JSR-223)
    ----------------------------------------------------------------------------
    | Message:     ReferenceError: "window" is not defined in <eval> at line number 1


    | Trapped Exception: ReferenceError: "window" is not defined in <eval> at line number 1
    | Trapped Message:   javax.script.ScriptException: ReferenceError: "window" is not defined in <eval> at line number 1
    ----------------------------------------------------------------------------
    STACK TRACE
    javax.script.ScriptException: ReferenceError: "window" is not defined in <eval> at line number 1
            at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)
            at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:451)
            at jdk.nashorn.api.scripting.NashornScriptEngine.access$200(NashornScriptEngine.java:73)
            at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:507)
            at javax.script.CompiledScript.eval(CompiledScript.java:106)
            at com.itko.lisa.test.ScriptExecHandler.executeCompiledScript(ScriptExecHandler.java:501)  

     

     

    -Regards,

    Shashank



  • 4.  Re: Javascript error, cannot use threads

    Posted 12-03-2017 12:41 PM

    I am having the same issue. The issue started my first day on my new job, disappeared two days later, and unfortunately has reappeared. Using the app does not fix the issue. neither does turning off all extensions, clearing the cache, or restarting the app or browser. 



  • 5.  Re: Javascript error, cannot use threads

    Posted 12-04-2017 05:01 AM

    mroswell,

     

    We'll create a case for you as well and contact you via the case to work on this issue further.

     

    Michael



  • 6.  Re: Javascript error, cannot use threads

    Posted 12-05-2017 02:04 PM

    Possibly same problem here.  All desktop browser configurations exhibit the same issue where clicking on a flow tries to open the flow, but no messages are loaded and the loading dots just continue forever.  The issue appears to be tied to my account.  Thanks.



  • 7.  Re: Javascript error, cannot use threads

    Posted 12-06-2017 04:49 AM

    adampatts,

     

    We'll create a case for you as well and contact you via the case to work on this issue further.

     

    Michael