I am suddenly getting this error from eclipse when compiling.
Internal compiler error: java.lang.NullPointerException at
org.eclipse.jdt.internal.compiler.apt.dispatch.AnnotationDiscoveryVisitor.visit(AnnotationDiscoveryVisitor.java:61)
The project is an android project. Any clues? Don't want to do another eclipse reinstall! Help!
Little late, but I had the same problem and also tried to find solution. Maybe it will help someone in the future:
The problem is that Eclipce is unable to compile files and it throws an exception. In my case the fix was:
- Move for now all compiled sources (buildBin folders)
- Move for now all custom builders (.externalToolBuilders) if you have ones, and all .settings folder
- Restart Eclipse and let it build
- Fix compilation problems :)
- Paste back all previously removed files (to not loose any settings\builders)