Jawr CSSServlet throwing StackOverflowError

szw

New Member
I'm deploying a Hybris application, which uses Jawr, to a Tomcat server. At start-up, JawrServlet throws a StackOverflow error.It's hard to reproduce the error, but it always happens during the processing of CSSServlet. Shortly after this is logged:\[code\][JawrRequestHandler] Initializing jawr config for request handler named CSSServlet\[/code\]This is how that Servlet is configured in my web.xml:\[code\] <servlet> <servlet-name>CSSServlet</servlet-name> <servlet-class>net.jawr.web.servlet.JawrServlet</servlet-class> <!-- Location in classpath of the config file --> <init-param> <param-name>configLocation</param-name> <param-value>/jawrsetup.properties</param-value> <!--<param-value>/jawrTEST.properties</param-value>--> </init-param> <init-param> <param-name>type</param-name> <param-value>css</param-value> </init-param> <init-param> <param-name>mapping</param-name> <param-value>/jawr-css</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>\[/code\]And here's a part of my console's log where the error happens:\[code\]INFO | jvm 1 | main | 2013/01/29 11:20:16.081 | 11:20:16,036 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/pause.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.082 | 11:20:16,036 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/pause-ie.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.082 | 11:20:16,036 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/left-hover.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.087 | 11:20:16,036 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/left-hover-ie.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.087 | 11:20:16,036 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/right-hover.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.087 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/right-hover-ie.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.092 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/play-hover.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.092 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/play-hover-ie.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.092 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/pause-hover.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.093 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bk-ruby/pause-hover-ie.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.097 | 11:20:16,045 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url('/images/bg.png')INFO | jvm 1 | main | 2013/01/29 11:20:16.098 | 11:20:16,046 [WrapperSimpleAppMain] DEBUG [Base64PostProcessorCssImageUrlRewriter] Skip encoding image resource : url("/images/content-bg.png")INFO | jvm 1 | main | 2013/01/29 11:20:16.098 | 11:20:16,057 [WrapperSimpleAppMain] INFO [Base64ImageEncoderPostProcessor] Base64 Postprocessing doneINFO | jvm 1 | main | 2013/01/29 11:20:16.098 | 11:20:16,058 [WrapperSimpleAppMain] DEBUG [AbstractChainedResourceBundlePostProcessor] postprocessing bundle:/bundles/dmlights.cssINFO | jvm 1 | main | 2013/01/29 11:20:16.198 | Jan 29, 2013 11:20:16 AM org.apache.catalina.core.ApplicationContext logINFO | jvm 1 | main | 2013/01/29 11:20:16.198 | SEVERE: StandardWrapper.ThrowableINFO | jvm 1 | main | 2013/01/29 11:20:16.198 | java.lang.StackOverflowErrorINFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$LazyLoop.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$GroupTail.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$CharProperty.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$Ques.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$GroupHead.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$LazyLoop.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$GroupTail.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$CharProperty.match(Unknown Source)INFO | jvm 1 | main | 2013/01/29 11:20:16.198 | at java.util.regex.Pattern$Ques.match(Unknown Source)\[/code\]
 
Back
Top