Compilation Errors

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Dinamots
Posts: 10
Joined: Wed May 29, 2019 8:03 am

Compilation Errors

Postby Dinamots » Tue Jul 09, 2019 8:13 am

Hi,

When I deploy my zimlet, in dev there is no errors.
But when i'm not In dev, I have a compilation errors


Code: Select all

2019-07-09 10:08:19.442:WARN:oejs.ServletHandler:qtp1798286609-150:https:https://localhost/service/zimlet/res/Zimlets-nodev_all.js.zgz?language=en&country=GB&cosId=e00428a1-0c00-11d9-836a-000d93afea2a: /service/zimlet/res/Zimlets-nodev_all.js.zgz
org.mozilla.javascript.EvaluatorException: Compilation produced 2 syntax errors.
   at com.zimbra.cs.zimlet.ZimletResources$1.runtimeError(ZimletResources.java:224)
   at org.mozilla.javascript.Parser.parse(Parser.java:410)
   at org.mozilla.javascript.Parser.parse(Parser.java:355)
   at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:334)
   at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:555)
   at com.zimbra.cs.zimlet.ZimletResources.service(ZimletResources.java:197)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1685)
   at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:242)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.ThrottlingFilter.doFilter(ThrottlingFilter.java:73)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:116)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:473)
   at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:318)
   at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:288)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
   at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
   at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
   at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
   at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:318)
   at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:437)
   at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:84)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
   at org.eclipse.jetty.server.Server.handle(Server.java:517)
   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
   at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
   at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
   at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192)
   at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
   at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
   at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
   at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
   at java.lang.Thread.run(Thread.java:748)


How can I see in which file those errors are ?
Can I compile them myself ?


Return to “Developers”

Who is online

Users browsing this forum: No registered users and 1 guest