Jump to content

javascript on tibco spotfire server


OUIDAD BCHAIKER

Recommended Posts

Hello community,

 

i've created a function javascript on spotfire analyst it works fine.

but when i ve tried to visualise my dashboard on webplayer i ve got this error :

Execution of Javascript failed

Exception details:

Type: TypeError

Message: Cannot set property 'value' of null

Stacktrace: TypeError: Cannot set property 'value' of null

at eval (eval at (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:15846:165), :7:12)

at Object. (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:15847:4)

at Function.each (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:43:80)

at Object.evalCustomScripts (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:15846:122)

at eval (eval at evaluate (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:10887:89), :156:1287)

at eval ()

at Object.evaluate (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:10887:89)

at Object. (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:10514:122)

at Function.each (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:43:80)

at updateDocument (http://nom_serveur:8090/spotfire/wp/render/761194424092/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:10514:39)

 

i don't know how to fixe my probelm

is there someting to enable on the webplayer or the javascript doesn't work on server just on the analyst

i am using tibco spotfire server 7.6

 

Help please

 

thanks a lot in advance

Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...

Hi Shandilya , I have been receving similar issue as that of yours : "Execution of Java script failed " with below details :"Exception details:

Type: TypeError

Message: Cannot read property 'addEventListener' of null

Stacktrace: TypeError: Cannot read property 'addEventListener' of null

    at eval (eval at <anonymous> (http://localhost:8001/package=js:18506:86), <anonymous>:37:38)

    at Object.<anonymous> (http://localhost:8001/package=js:18507:4)

    at Function.each (http://localhost:8001/package=js:43:116)

    at Object.evalCustomScripts (http://localhost:8001/package=js:18506:43)

    at eval (eval at evaluate (http://localhost:8001/package=js:12828:83), <anonymous>:45:4518)

    at eval (<anonymous>)

    at Object.evaluate (http://localhost:8001/package=js:12828:83)

    at Object.<anonymous> (http://localhost:8001/package=js:12429:113)

    at Function.each (http://localhost:8001/package=js:43:116)

    at updateDocument (http://localhost:8001/package=js:12429:52) " We deployed the reports in test environment , in which we are getting this error . But while the same report when deployed in higher environments the error is not there .Can you please help me resolve this issue .

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...