关于OSCache的问题

jobell 发布于 2010/04/20 11:24
阅读 672
收藏 0

华为云11月刊推送:DIY微信问答机器人,高性能计算代码的20个技巧!>>>

我在测试用oscache的时候,根据下面的日志看出来应该是写入缓存出现了问题???不明白!!

 

写入缓存
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
写入缓存
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
采用缓存方案!
java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
com.lovver.jrails.exception.JRailsException: java.lang.NullPointerException
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:94)
 at com.lovver.jrails.JRailsRequestProcessor.processResponse(JRailsRequestProcessor.java:257)
 at com.lovver.jrails.JRailsRequestProcessor.processRequest(JRailsRequestProcessor.java:135)
 at com.lovver.jrails.JRailsRequestProcessor.process(JRailsRequestProcessor.java:60)
 at com.lovver.jrails.JRailsServlet.prosess(JRailsServlet.java:148)
 at com.lovver.jrails.JRailsServlet.service(JRailsServlet.java:55)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
 at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
 at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
 at org.apache.coyote.Response.action(Response.java:183)
 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
 at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95)
 at freemarker.core.Environment.process(Environment.java:192)
 at freemarker.template.Template.process(Template.java:237)
 at com.lovver.jrails.rest.controller.BaseController$FreeMarkerRendder.responseRender(BaseController.java:73)
 ... 20 more
写入缓存
写入缓存
采用缓存方案!

加载中
0
jobell
jobell

现在就是想把缓存给集成到框架里面去,针对request的get方法进行缓存,这样就避免了查库。写代码的时候也方便!

0
jobell
jobell

现在刷新页面频率快了就会出现这样的问题。头疼啊!!

返回顶部
顶部