Forum Discussion

cmurray's avatar
cmurray
New Contributor
5 years ago
Solved

Script Snap Error: "[object JavaPackage] is not a Java class in nashorn:mozilla_compat.js"

I have a script snap that I’m using to do some weird data manipulation to amalgamate 3-hourly data and 1-hourly data into a consistent 1-hourly format. Here is my script, I’m using javascript code: ...
  • cmurray's avatar
    5 years ago

    I have fixed this by removing the importClass(java.util.Array); line, I have replaced it with a reference to LinkedHashMap as is mentioned in the boilerplate code.