This problem is not easily reproducible I'm afraid but I'm seeing it quite often. One issue seems to to related to assets, I sometimes get incompatible encoding errors - usually this can be fixed by an "rm -rf public/assets" and a recompilation... however, the existing assets worked for some time, then suddenly "stopped" working resulting in encoding errors. I didn't touch them. A complete restart of TorqueBox (eg. shut down, no java running at all, then start again) wouldn't help either. Only removal of assets then recompiling all of them.
Another issue I'm now seeing is on posting forms, the error I get there is:
"ActionView::Template::Error (Input length = 1):"
This seems to be template related, and what do you know - a removal of all assets, then a recompile fixes this problem (for a random amount of time until it's back again). What I don't get is that even a restart of TorqueBox won't help, only removal and recompilation of assets. It's as if the assets are touched by something (but they shouldn't be).
All this seems to be related to Encoding somehow. Of course, I'm not sure about the "ActionView::Template::Error (Input length = 1):" but since JRuby complained about encoding and a recompilation fixed it, this might be something similar.
Sorry if this is a little vague at the moment - I just don't know more.
|