Description
Investigate and try to fix the root cause.
Later add some decent error handling in this place so user can see the error message instead of http 500. Currently it fails with following stractrace under some conditions (and also sends nasty error email):
[496565631] errors.GrailsExceptionResolver Exception occurred when processing request: [POST] /translation/verify Stacktrace follows: org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [verifyTranslation] of controller [translate.TranslationController] caused exception: Assertion failed: assert original != null | | null false at com.studentsonly.grails.plugins.uiperformance.CacheFilter.doFilter(CacheFilter.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: Assertion failed: assert original != null | | null false ... 4 more Caused by: Assertion failed: assert original != null | | null false at translate.TranslationController$_closure1.doCall(TranslationController.groovy:13) at translate.TranslationController$_closure1.doCall(TranslationController.groovy) ... 4 more