NullPointerException: null Error

Hello,
I have a perplexing error that has just appeared in Developer, not sure what it is about or what it means

error text below, I have also attached a screenshot.

NullPointerException: null

I have also seen this error.

I also found this error and after a long search it turned out to be a incorrectly JSDoc’ed method argument that recieved a value in a script not of that type.
Dunno why it throws an NPE but still.
Depending on the size of your globals.js this can be a pain to find. I did it like this:

  1. cutting half of it (ctrl+x) and save
  2. see if error persists
  3. if yes, cut the other half and repeat
  4. if no, the error is in the part you cutted
  5. put back the part you cutted (ctrl+z) and cut that part in half
  6. rinse and repeat

Good luck!

Hello,
Thanks for your reply…
That’s exactly what it was… I found it yesterday by pulling the globals.js apart. Until the error disappeared… pretty frustrating.

this should not really happen, if you have a javascript file that causes this in a sample solution make a case for this.