I am just a beginner at ecj, but I actually had exactly the same Java
exception when trying to make the gui work on a variation of tutorial
I am using Eclipse. The problem occured when I was directly importing the
ec.zip directly as a library in the project.
But, if I import the whole unziped folder structure of ec in the project,
then it finds the required files and then the graph works!
Hope that helps...