Community
Participate
Working Groups
This is with 3.1M1. While editing 1.5 source code I got an error message saying that an "Exception occurred during problem detection". Then I got several "An internal error occurred during: "Java AST creation"". Will attach the relevant parts of the log file. I'm unforturnately unable to provide the source code I was editing.
Created attachment 14575 [details] Log entries from when the problems started
It would at least help a lot if you could extract a simple test case from the if statement you are writing. You must have a method invocation in the condition of your if statement. Thanks.
Extracting a test case is somewhat problematic unforturnately. When this started happening, Eclipse started popping up a dialog about once a second with the latest instance of this (repetitive) exception, and I wasn't able to save my buffer because of this problem. So now I'm back to where I was before I started editing, and I'm not sure if I'll run into the same thing again. But if I do I'll try to extract the method in which I ran into the problem and post it here.
Created attachment 14609 [details] Repro case This is the java source code that is causing trouble. It's kind of intermittent, but it happens when I'm editing the last method (willWantPairStorage). I'm editing on line 285, which is the line after the comment saying "// forget about it". If I put the cursor at the end of that line (after "...groupName)"), add one closing parenthesis and then press the left arrow key this starts happening.
74514 has simpler testcase (less dependencies on missing types). Was able to obtain the NPE without the fix on this testcase though. *** This bug has been marked as a duplicate of 74514 ***