StackOverflowError: null - can't precompile , but app works with play run

来源:互联网 发布:轩辕剑天之痕 mac x11 编辑:程序博客网 时间:2024/06/03 22:52

这是原因:

Hello, 

I've another problem that drives me crazy: 

I can't precompile my app anymore and it only gives me this error: 

Internal Server Error (500) for request GET / 

Oops: StackOverflowError 
An unexpected error occured caused by exception StackOverflowError: null 

play.exceptions.UnexpectedException: Unexpected Error 
at play.Invoker$Invocation.onException(Invoker.java:232) 
at play.Invoker$Invocation.run(Invoker.java:273) 
at Invocation.HTTP Request(Play!) 
Caused by: java.lang.StackOverflowError 

The same error i get, when i run my app for the first time, but when i stop 
it and do a "play run" again, it's working. 

i've attached the full stack of precompile. 

Thanks for any ideas... 


解决方法:

We have the same (with play-scala), the workaround we use is to 
increase the stack size: 

play run -Xss4m 

Though I saw that Guillaume committed something related to this 
recently, so perhaps this is a fix? 

Manuel 


--------------------------------------------------------


that's all


原创粉丝点击