rajjaiswalsaumya / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

On Merging CSS Files, only the last mentioned css will be read by the browser #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.use web utilities lib to merge css and js as mentioned in the documentation
2. In any html page include all css files using one <link> tag as mentioned in 
the documentation.
3.load the page by the browser

What is the expected output? What do you see instead?
-Expected:
  all css files are merged and applied by the browser.
-Actual:
  css files are merged but only the last mentioned file is applied by the browser

What version of the product are you using? On what operating system?
    webutilities-0.0.6.jar, linux 

Please provide any additional information below.
This has occured on happening on chrome Version 41.0.2272.101 and firefox 37.0 

Original issue reported on code.google.com by amr.m.ha...@gmail.com on 2 Apr 2015 at 8:43

GoogleCodeExporter commented 8 years ago
Can you please share these details?

- The paths your CSS files
- The href path of your link tag
- web.xml mapping for the merge servlet

That would help to see if there is any configuration issue.

Original comment by rr.patil...@gmail.com on 2 Apr 2015 at 12:33

GoogleCodeExporter commented 8 years ago
Tags added to Web.xml:

<!-- css and js minifiy filter -->
  <filter>
        <filter-name>yuiMinFilter</filter-name>
        <filter-class>com.googlecode.webutilities.filters.YUIMinFilter</filter-class>
        <!-- All the init params are optional and are equivalent to YUICompressor command line options --> 
        <init-param> 
                <param-name>lineBreak</param-name>
                <param-value>8000</param-value>
        </init-param>
 </filter>

<!-- css and js minifiy filter -->
<filter-mapping>
   <filter-name>yuiMinFilter</filter-name>
   <url-pattern>*.js</url-pattern>
   <url-pattern>*.css</url-pattern>
 </filter-mapping>

<servlet>
        <servlet-name>JSCSSMergeServlet</servlet-name>
        <servlet-class>com.googlecode.webutilities.servlets.JSCSSMergeServlet</servlet-class>
        <!-- This init param is optional and default value is minutes for 7 days in future. --> 
        <init-param>
                <param-name>expiresMinutes</param-name>
                <param-value>14400</param-value> <!-- 10 days -->
        </init-param>
        <!-- This init param is also optional and default value is 'public'.-->
        <init-param>
                <param-name>cacheControl</param-name>
                <param-value>public</param-value> 
        </init-param>
    </servlet>

<servlet-mapping>
    <servlet-name>JSCSSMergeServlet</servlet-name>
    <url-pattern>*.js</url-pattern>
    <url-pattern>*.css</url-pattern>
  </servlet-mapping>

Original comment by amr.m.ha...@gmail.com on 21 Apr 2015 at 10:32

GoogleCodeExporter commented 8 years ago
CSS tags has changed From:

<link rel="stylesheet" href="/css/skitter.styles.css">
<link rel="stylesheet" href="/css/jquery.ad-gallery.css">
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/one-column.css">
<link rel="stylesheet" href="/css/update.css">

TO: 

<link rel="stylesheet" 
href="/css/bootstrap.min,skitter.styles,jquery.ad-gallery,common,one-column,upda
te.css">

Script tags changed from:

<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
<script src="/js/jquery.easing.1.3.js"></script>
<script src="/js/slideshow/jquery.skitter.min.js"></script>
<script src="/js/slideshow/jquery.ad-gallery.min.js"></script>

To:

<script 
src="/js/jquery-2.0.3.min,/js/vendor/modernizr-2.6.2-respond-1.1.0.min,/js/jquer
y.easing.1.3,/js/slideshow/jquery.skitter.min,jquery.ad-gallery.min.js"></script
>

Sorry for late reply... your help is much appreciated , Thank you

Original comment by amr.m.ha...@gmail.com on 21 Apr 2015 at 10:38

GoogleCodeExporter commented 8 years ago
Looks mostly correct to me accept one thing. Have you deployed your app at / 
context? Otherwise your paths would have been /app/css/....

Original comment by rr.patil...@gmail.com on 21 Apr 2015 at 4:03

GoogleCodeExporter commented 8 years ago
Actually, it is /ROOT under webapps..

but it is accessible like this /js/... as in  
www.comapany.com/js/jquery-2.0.3.min.js

Original comment by amr.m.ha...@gmail.com on 22 Apr 2015 at 6:49

GoogleCodeExporter commented 8 years ago
I found that exception thrown on loading the css files

<!-- Full stack trace:
javax.servlet.ServletException: Filter execution threw an exception
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:259)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.management.troubleshooting.requestwatcher.RequestWatcherFilter.doFilter(RequestWatcherFilter.java:201)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.SiteEngineCleanUpFilter.doFilter(SiteEngineCleanUpFilter.java:26)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.LoginNameCookieValidationFilter.doFilter(LoginNameCookieValidationFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.servlet.SetCurrentCallerFilter.doFilter(SetCurrentCallerFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.servletmapper.UrlToServletMapperFilter.doFilter(UrlToServletMapperFilter.java:72)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.mode.ModeUrlTranslatorFilter.doFilter(ModeUrlTranslatorFilter.java:80)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.CaptchaValidationFilter.doFilter(CaptchaValidationFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.util.CharEncodingFilter.doFilter(CharEncodingFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.application.servlet.ApplicationHeartbeatFilter.doFilter(ApplicationHeartbeatFilter.java:181)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.app.servlet.PreviewRequiresGuiFilter.doFilter(PreviewRequiresGuiFilter.java:97)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: 
com/yahoo/platform/yui/compressor/CssCompressor
    at com.googlecode.webutilities.filters.YUIMinFilter.doFilter(YUIMinFilter.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    ... 44 more

Original comment by amr.m.ha...@gmail.com on 23 Apr 2015 at 9:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
ok I added the library, yuicompressor-2.4.8.jar, and the error were resolved... 
but i get another error from js , 
java.lang.NullPointerException
    at org.mozilla.javascript.Parser.addError(Parser.java:127)
    at org.mozilla.javascript.Parser.reportError(Parser.java:141)
    at org.mozilla.javascript.Parser.statementHelper(Parser.java:1247)
    at org.mozilla.javascript.Parser.statement(Parser.java:688)
    at org.mozilla.javascript.Parser.parseFunctionBody(Parser.java:444)
    at org.mozilla.javascript.Parser.function(Parser.java:573)
    at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2217)
    at org.mozilla.javascript.Parser.memberExpr(Parser.java:1936)
    at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1794)
    at org.mozilla.javascript.Parser.mulExpr(Parser.java:1723)
    at org.mozilla.javascript.Parser.addExpr(Parser.java:1704)
    at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1684)
    at org.mozilla.javascript.Parser.relExpr(Parser.java:1658)
    at org.mozilla.javascript.Parser.eqExpr(Parser.java:1614)
    at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1603)
    at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1592)
    at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1581)
    at org.mozilla.javascript.Parser.andExpr(Parser.java:1569)
    at org.mozilla.javascript.Parser.orExpr(Parser.java:1557)
    at org.mozilla.javascript.Parser.condExpr(Parser.java:1540)
    at org.mozilla.javascript.Parser.assignExpr(Parser.java:1525)
    at org.mozilla.javascript.Parser.variables(Parser.java:1375)
    at org.mozilla.javascript.Parser.statementHelper(Parser.java:1089)
    at org.mozilla.javascript.Parser.statement(Parser.java:688)
    at org.mozilla.javascript.Parser.parseFunctionBody(Parser.java:444)
    at org.mozilla.javascript.Parser.function(Parser.java:573)
    at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2217)
    at org.mozilla.javascript.Parser.memberExpr(Parser.java:1936)
    at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1794)
    at org.mozilla.javascript.Parser.mulExpr(Parser.java:1723)
    at org.mozilla.javascript.Parser.addExpr(Parser.java:1704)
    at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1684)
    at org.mozilla.javascript.Parser.relExpr(Parser.java:1658)
    at org.mozilla.javascript.Parser.eqExpr(Parser.java:1614)
    at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1603)
    at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1592)
    at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1581)
    at org.mozilla.javascript.Parser.andExpr(Parser.java:1569)
    at org.mozilla.javascript.Parser.orExpr(Parser.java:1557)
    at org.mozilla.javascript.Parser.condExpr(Parser.java:1540)
    at org.mozilla.javascript.Parser.assignExpr(Parser.java:1525)
    at org.mozilla.javascript.Parser.variables(Parser.java:1375)
    at org.mozilla.javascript.Parser.statementHelper(Parser.java:1089)
    at org.mozilla.javascript.Parser.statement(Parser.java:688)
    at org.mozilla.javascript.Parser.parse(Parser.java:382)
    at org.mozilla.javascript.Parser.parse(Parser.java:340)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
    at com.googlecode.webutilities.filters.YUIMinFilter.doFilter(YUIMinFilter.java:180)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.management.troubleshooting.requestwatcher.RequestWatcherFilter.doFilter(RequestWatcherFilter.java:201)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.SiteEngineCleanUpFilter.doFilter(SiteEngineCleanUpFilter.java:26)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.LoginNameCookieValidationFilter.doFilter(LoginNameCookieValidationFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.servlet.SetCurrentCallerFilter.doFilter(SetCurrentCallerFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.servletmapper.UrlToServletMapperFilter.doFilter(UrlToServletMapperFilter.java:72)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.mode.ModeUrlTranslatorFilter.doFilter(ModeUrlTranslatorFilter.java:80)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.CaptchaValidationFilter.doFilter(CaptchaValidationFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.util.CharEncodingFilter.doFilter(CharEncodingFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.application.servlet.ApplicationHeartbeatFilter.doFilter(ApplicationHeartbeatFilter.java:181)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.app.servlet.PreviewRequiresGuiFilter.doFilter(PreviewRequiresGuiFilter.java:97)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:662)

Original comment by amr.m.ha...@gmail.com on 23 Apr 2015 at 10:50

GoogleCodeExporter commented 8 years ago
i moved all the files to one folder and here is what i got:
please note that some of these files are minimized already

GET jquery-2.0.3.min,moderni...jquery-ui-1.10.4.min.js

500 Internal Server Error

staging.emaratsport.com

5.0 KB

172.22.3.77:80

19ms
HeadersResponseHTMLCacheCookies

<html>
  <head>
    <title>500 - Server error</title>
  </head>

  <body>
    <div style="font-family: sans-serif; color: darkred; font-size: 12px; font-weight: bold; margin-top
: 100px; margin-left: 20px; text-align: left;">An unexcepted error occurred: 
<pre>java.lang.IndexOutOfBoundsException
: Index: 0, Size: 0</pre></div>
<!-- Full stack trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.getToken(JavaScriptCompressor.java:578)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTree(JavaScriptCompressor.java
:1094)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaScriptCompressor.java:556)
    at com.googlecode.webutilities.filters.YUIMinFilter.doFilter(YUIMinFilter.java:185)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.management.troubleshooting.requestwatcher.RequestWatcherFilter.doFilter(RequestWatcherFilter
.java:201)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.SiteEngineCleanUpFilter.doFilter(SiteEngineCleanUpFilter.java
:26)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.LoginNameCookieValidationFilter.doFilter(LoginNameCookieValidationFilter.java
:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.servlet.SetCurrentCallerFilter.doFilter(SetCurrentCallerFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.servletmapper.UrlToServletMapperFilter.doFilter(UrlToServletMapperFilter
.java:72)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.siteengine.dispatcher.mode.ModeUrlTranslatorFilter.doFilter(ModeUrlTranslatorFilter
.java:80)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at ae.dmi.polopoly.filter.CaptchaValidationFilter.doFilter(CaptchaValidationFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.util.CharEncodingFilter.doFilter(CharEncodingFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.application.servlet.ApplicationHeartbeatFilter.doFilter(ApplicationHeartbeatFilter.java
:181)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.polopoly.cm.app.servlet.PreviewRequiresGuiFilter.doFilter(PreviewRequiresGuiFilter.java:97)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:662)

Original comment by amr.m.ha...@gmail.com on 27 Apr 2015 at 7:21

GoogleCodeExporter commented 8 years ago
I solved the issue by downgrading to yuicompressor-2.4.7.jar from 2.4.8
Thanks

Original comment by amr.m.ha...@gmail.com on 27 Apr 2015 at 8:53

GoogleCodeExporter commented 8 years ago
As per latest comment, this was not valid code issue but configuration. 
Resolving it.

Original comment by rr.patil...@gmail.com on 27 Apr 2015 at 8:56