NPE at PsiElementFactoryImpl.createFileFromText

I can't use the last three or four EAP builds without this exception popping every few seconds. Of course, the exception has been reported most of the time, but I get no feedback about it, and new builds doesn't seem to fix the problem.

Trivial operations, like simple refacotrings, adding imports, basically anything that modifies source code through PSI triggers this exception. In other words, EAP is currently unusable to me.

This exception is probably caused by some peculiarity in my project, but I have no idea what. Please, pretty please, could some JetBrainer shed shed some light on this problem? Here's the stack trace, as of build #5380:

2 comments
Comment actions Permalink

Another similar stack trace. This exception happened on a newly created project, with very few source files:

0
Comment actions Permalink

After some investigation, I think I've found the problem. I had "_.java;EJS" in my "Ignore files and folders" pattern, to prevent IDEA from parsing and compiling WSAD-generated source code. This used to work fine in 5.1, but seems to confuse Demetra.

After removing the aforementioned patterns (and dealing with lots and lots of compile errors), the createFileFromText exception seems to be gone. It would be great to be able to use those patterns again, without breaking IDEA.

0

Please sign in to leave a comment.