FreeMarker errors cause IDEA to stop responding

I'm using FreeMarker pretty heavily in my application, and the integration within IDEA is really good.  However, ever since upgrading to IDEA 9, whenever there is a bug in my FreeMarker template, and FreeMarker throws an exception while parsing or rendering, IDEA just hangs for over 2 minutes.  Eventually it resumes, but this happens a lot when adding new templates, and makes IDEA unusable.

Has anyone else had this problem when using FreeMarker with IDEA 9?

Thanks!

-- Michael

6 comments

Could you provide thread dumps as described in
http://www.jetbrains.net/devnet/docs/DOC-192 ? Also, it would help if
you attached some of the templates which slow down IDEA.

0

The freemarker templates are decidedly large (some are generated and can be over 1000 lines), which may be the problem.

I've attached the thread dump logs for one of the failures.



Attachment(s):
IDEA9ThreadDumpLogs.zip
0

Approximately how many FreeMarker files are there in your project?

0

Anyway, please try the 9.0.3 EAP from http://confluence.jetbrains.net/display/IDEADEV/Maia+EAP, it should be a faster in this respect.

0

I just tried 9.0.3 build 95.105 and it works great.  No slowness with freemarker errors.

Thanks for the suggestion!

0

Thanks for reporting the problem!

0

Please sign in to leave a comment.