Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

setDisplayTemplate() returns java.lang.NullPointerException

$
0
0

Hi Experts,

 

I am getting a javascript error (java.lang.NullPointerException) when trying to update the display template of a chart at runtime through JavaScript. We are doing this on another applet with no problems. Here is the code (for some reason SCN is now showing the code so I attached as an image):

 

Setting the DisplayTemplate to an empty string causes no errors so maybe it has something to do with the forward slashes (/) ?

 

Appreciate any help on the matter.

 

Thank you,

 

Corey

Vale

 

MII Version: 14.0 SP6 Patch 9

 

Message was edited by: Corey Jackson


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>