JavaScript validator throws NullPointerException in Eclipse

I just ran into this problem myself and the previous accepted answer was not helpful. The problem is not the validator, it is the build. To fix go to Project -> Properties -> Builders, then disable ‘JavaScript Validator’. Since you are working with PHP your build is getting confused when you try and validate a PHP file with a JavaScript validator.

The error message doesn’t really do anything it just gets annoying really fast.

Javascript Validator problem in Eclipse

Leave a Comment