Continous exceptions in JSE 8 IDE
Hi,
Lastly, it has been happening more and more often that the IDE (SJSE8 on Linux, up to date with current patches) launchs an exception like this (or similar):
Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getJavadocFile(ClassFile InfoUtil.java:705)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.getHtmlReader(ClassFileI nfoUtil.java:633)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createParamsInfo(ClassFi leInfoUtil.java:582)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createMethodInfo(ClassFi leInfoUtil.java:213)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFil eInfoUtil.java:153)
at org.netbeans.modules.javacore.parser.ClassFileInfoUtil.createClassInfo(ClassFil eInfoUtil.java:66)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getResInfoFromClas sFile(ResourceImpl.java:413)
(...)
I've searched in the forum and I've found previous threads about this. In some of them, it was said that this is "standard behaviour" with NetBeans and that the only workaround was to clean .jstudio/Ent8/var/cache/. So I did it, and problems went away... for a few days.
Now it is happening again, and cleaning the .../var/cache directory doesn't seem to help at all. IDE is almost unusable, because the exception is thrown every time the IDE tries to offer contextual help of methods, or check the syntax. Basically, if I leave the cursor resting for more than two seconds, the exception window appears.
Is there anything I can do to relieve the problem? I'd rather not upgrade to NB 5.5 or so if possible, because I've read that it changes the project information files and I wouldn't be able to downgrade if needed. Besides, it requires more memory (min. 512 MB) and it could be a bit too much for my laptop (512 MBytes, 1,3 GHz Celeron).
TIA

