tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jose luis sanchez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2026) Excesive Error logging on yuicompressor
Date Tue, 13 Nov 2012 11:28:12 GMT
jose luis sanchez created TAP5-2026:
---------------------------------------

             Summary: Excesive Error logging on yuicompressor
                 Key: TAP5-2026
                 URL: https://issues.apache.org/jira/browse/TAP5-2026
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-yuicompressor
    Affects Versions: 5.3.6, 5.3.5
            Reporter: jose luis sanchez
            Priority: Trivial


I've found that sometimes, the tapestry5-yuicompressor component rethrows excesive output
when it does find an error in minifying css/js files.

Le me show the error in see in my logs.

12:11:06.552 ERROR o.a.t.s.a.A.ResourceMinimizer - JavaScript compression problems for resource
'core' JavaScript stack, for locale en, resources=classpath:org/apache/tapestry5/underscore_1_3_3.js,
classpath:org/apache/tapestry5/scriptaculous_1_9_0/prototype.js, classpath:org/apache/tapestry5/scriptaculous_1_9_0/scriptaculous.js,
classpath:org/apache/tapestry5/scriptaculous_1_9_0/effects.js, classpath:org/apache/tapestry5/t5-core.js,
classpath:org/apache/tapestry5/t5-spi.js, classpath:org/apache/tapestry5/t5-prototype.js,
classpath:org/apache/tapestry5/t5-init.js, classpath:org/apache/tapestry5/t5-pubsub.js, classpath:org/apache/tapestry5/t5-events.js,
classpath:org/apache/tapestry5/t5-dom.js, classpath:org/apache/tapestry5/t5-console.js, classpath:org/apache/tapestry5/t5-ajax.js,
classpath:org/apache/tapestry5/t5-formfragment.js, classpath:org/apache/tapestry5/t5-alerts.js,
classpath:org/apache/tapestry5/tapestry.js, classpath:org/apache/tapestry5/tapestry-console.js,
classpath:org/apache/tapestry5/tree.js, classpath:org/apache/tapestry5/tapestry-messages.js:
12:11:06.554 ERROR o.a.t.s.a.A.ResourceMinimizer - java.lang.RuntimeException
java.lang.RuntimeException: null
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:299)
~[yuicompressor-2.4.7.jar:na]
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:336)
~[yuicompressor-2.4.7.jar:na]
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
~[yuicompressor-2.4.7.jar:na]
	at org.apache.tapestry5.internal.yuicompressor.JavaScriptResourceMinimizer.doMinimize(JavaScriptResourceMinimizer.java:150)
~[tapestry-yuicompressor-5.3.6.jar:na]
	at org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer$1.perform(AbstractMinimizer.java:67)
[tapestry-yuicompressor-5.3.6.jar:na]
	at org.apache.tapestry5.internal.TapestryInternalUtils$5.run(TapestryInternalUtils.java:582)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1119) [tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.internal.TapestryInternalUtils.performIO(TapestryInternalUtils.java:576)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer.minimize(AbstractMinimizer.java:61)
[tapestry-yuicompressor-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:44)
[tapestry-core-5.3.6.jar:na]
	at $ResourceMinimizer_49a4f82ce9661.minimize(Unknown Source) [na:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.assembleStackContent(StackAssetRequestHandler.java:175)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.assembleStackContent(StackAssetRequestHandler.java:163)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.getUncompressedResource(StackAssetRequestHandler.java:146)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.getCompressedResource(StackAssetRequestHandler.java:132)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.getResource(StackAssetRequestHandler.java:123)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.access$100(StackAssetRequestHandler.java:40)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler$1.perform(StackAssetRequestHandler.java:103)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.TapestryInternalUtils$5.run(TapestryInternalUtils.java:582)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76)
[tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1119) [tapestry-ioc-5.3.6.jar:na]
	at org.apache.tapestry5.internal.TapestryInternalUtils.performIO(TapestryInternalUtils.java:576)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.handleAssetRequest(StackAssetRequestHandler.java:96)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.AssetDispatcher.dispatch(AssetDispatcher.java:114)
[tapestry-core-5.3.6.jar:na]
	at $Dispatcher_49a4f82ce9656.dispatch(Unknown Source) [na:na]
	at $Dispatcher_49a4f82ce965a.dispatch(Unknown Source) [na:na]
	at $Dispatcher_49a4f82ce9654.dispatch(Unknown Source) [na:na]
	at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
[tapestry-core-5.3.6.jar:na]
	at $RequestHandler_49a4f82ce9655.service(Unknown Source) [na:na]
	at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902) [tapestry-core-5.3.6.jar:na]
	at $RequestHandler_49a4f82ce9655.service(Unknown Source) [na:na]
	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892) [tapestry-core-5.3.6.jar:na]
	at $RequestHandler_49a4f82ce9655.service(Unknown Source) [na:na]
	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
[tapestry-core-5.3.6.jar:na]
	at $RequestHandler_49a4f82ce9655.service(Unknown Source) [na:na]
	at $RequestHandler_49a4f82ce964a.service(Unknown Source) [na:na]
	at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
[tapestry-core-5.3.6.jar:na]
	at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) [tapestry-core-5.3.6.jar:na]
	at $HttpServletRequestHandler_49a4f82ce964c.service(Unknown Source) [na:na]
	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
[tapestry-core-5.3.6.jar:na]
	at $HttpServletRequestFilter_49a4f82ce9648.service(Unknown Source) [na:na]
	at $HttpServletRequestHandler_49a4f82ce964c.service(Unknown Source) [na:na]
	at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852) [tapestry-core-5.3.6.jar:na]
	at $HttpServletRequestHandler_49a4f82ce964c.service(Unknown Source) [na:na]
	at $HttpServletRequestHandler_49a4f82ce9647.service(Unknown Source) [na:na]
	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) [tapestry-core-5.3.6.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.28]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.28]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) [catalina.jar:7.0.28]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.28]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
[catalina.jar:7.0.28]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [catalina.jar:7.0.28]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [catalina.jar:7.0.28]
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [catalina.jar:7.0.28]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.28]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [catalina.jar:7.0.28]
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
[tomcat-coyote.jar:7.0.28]
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
[tomcat-coyote.jar:7.0.28]
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.28]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_35]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_35]
	at java.lang.Thread.run(Thread.java:662) [na:1.6.0_35]


I do believe throwing a RunTimeException might be too heavy for just a problem on minifying
a js file, and as it happens quite often, it over-fills my log file.

I do not know if this might be related to the library i'm using, lombok-5.3.4.0.jar, but tapestry
should control how third party modules behave under his umbrella. IMHO.

I've found this error related, somehow, to this one :
https://issues.apache.org/jira/browse/JSPWIKI-597

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message