Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3961

Rhino on Windows: UTF-8 encoded source file causes script execution failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Scripting JavaScript 2.0.14
    • None
    • None
    • Adobe AEM 6.0 with Service Pack 1 on Windows machine

    Description

      JavaScript execution crashes on Windows machines for .js source files with certain UTF-8 characters, e.g. "Í". We get an EvaluatorException with message Property "Ã?" already defined in this object literal.". It looks like the encoding of the source files causes the Rhino to go bust.

      Source file is UTF-8, no bom: https://github.com/pid/speakingurl/blob/v0.12.0/lib/index.js#L214

      Note that line 214 causes the error, but lines 201-213 seem to be ok!

      Here's where the execution stops: http://grepcode.com/file/repo1.maven.org$maven2@org.apache.sling$org.apache.sling.scripting.javascript@2.0.14@org$apache$sling$scripting$javascript$internal$RhinoJavaScriptEngine.java#116

      We were able to work around it by setting start-up parameters for Adobe AEM, but only by setting both -Xdebug and -Dfile.encoding=UTF-8:

      java -Xdebug -Dfile.encoding=UTF-8 .. -jar AEM_6.0_Quickstart-author-p4502.jar
      

      If needed, I can try to figure out more detailed system configuration (Windows version, Java version). We have the same error on at least three Windows machines (same config, same source on OS X is fine).


      System Information

      OSGi Bundle:
      Apache Sling Scripting JavaScript Supportorg.apache.sling.scripting.javascript
      Symbolic Name org.apache.sling.scripting.javascript
      Version 2.0.14

      OSGi configurations:
      Persistent Identity (PID): org.apache.sling.scripting.java.impl.JavaScriptEngineFactory
      Configuration Binding: Apache Sling Scripting Java Support (org.apache.sling.scripting.java), Version 2.0.11.R1607999

      java.compilerSourceVM=auto
      java.compilerTargetVM=auto
      java.classdebuginfo=true
      java.javaEncoding=UTF-8
      

      Persistent Identity (PID) org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory
      Configuration Binding Unbound or new configuration

      org.apache.sling.scripting.javascript.rhino.optLevel=-1
      

      Full Stack Trace:

      22.09.2014 13:09:53.533 *ERROR* [0:0:0:0:0:0:0:1 [1411384191394] GET /content/procato/de_de/login.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during includ
      e of SlingRequestPathInfo: path='/content/procato/de_de/login/jcr:content/quicksearch', selectorString='null', extension='html', suffix='null'
      org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: io.sightly.java.api.SightlyUseException: javax.script.ScriptException: Failure running script /apps/myapp/components/quicksearch/quicksearch.html: Property "Ã?" already defined in this object literal. (/apps/myapp/components/quicksearch/quicksearch.html#222)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:481)
              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:511)
              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
             at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilterWithErrorHandling(WCMDeveloperModeFilter.java:150)
              at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:118)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.cognifide.cq.includefilter.DynamicIncludeFilter.doFilter(DynamicIncludeFilter.java:81)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:252)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:284)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:324)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103)
              at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:431)
              at com.adobe.cq.sightly.WCMScriptHelper.includeResource(WCMScriptHelper.java:127)
              at com.adobe.cq.sightly.WCMScriptHelper.includeResource(WCMScriptHelper.java:82)
              at com.adobe.cq.sightly.internal.extensions.ResourceExtension$1.provideResource(ResourceExtension.java:111)
              at com.adobe.cq.sightly.internal.extensions.ResourceExtension$1.call(ResourceExtension.java:93)
              at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)
              at apps.procato_marketplace.components.page.procato_foundation.SightlyJava_body.render(SightlyJava_body.java:55)
              at io.sightly.java.api.BaseRenderUnit.render(BaseRenderUnit.java:39)
              at io.sightly.java.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:109)
              at io.sightly.java.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:93)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at com.adobe.cq.sightly.WCMScriptHelper.includeScript(WCMScriptHelper.java:166)
              at com.adobe.cq.sightly.internal.extensions.IncludeExtension$1.call(IncludeExtension.java:72)
              at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)
              at apps.procato_marketplace.components.page.procato_foundation.SightlyJava_procato_foundation.render(SightlyJava_procato_foundation.java:30)
              at io.sightly.java.api.BaseRenderUnit.render(BaseRenderUnit.java:39)
              at io.sightly.java.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:109)
              at io.sightly.java.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:93)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at com.adobe.cq.sightly.WCMScriptHelper.includeScript(WCMScriptHelper.java:166)
              at com.adobe.cq.sightly.internal.extensions.IncludeExtension$1.call(IncludeExtension.java:72)
              at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)
              at apps.procato_marketplace.components.page.procato_login.SightlyJava_procato_login.render(SightlyJava_procato_login.java:24)
              at io.sightly.java.api.BaseRenderUnit.render(BaseRenderUnit.java:39)
              at io.sightly.java.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:109)
              at io.sightly.java.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:93)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:511)
              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilterWithErrorHandling(WCMDeveloperModeFilter.java:150)
              at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:118)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.cognifide.cq.includefilter.DynamicIncludeFilter.doFilter(DynamicIncludeFilter.java:81)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:252)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:284)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:324)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103)
              at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:431)
              at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.java:106)
              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:281)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:102)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:524)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:511)
              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:357)
              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:166)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:284)
              at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:137)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.cq.social.commons.security.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:121)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:349)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:295)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.cognifide.cq.includefilter.DynamicIncludeFilter.doFilter(DynamicIncludeFilter.java:81)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:64)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilter.java:91)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:251)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:74)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:107)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter.doFilter(CanvasPageDeleteRequestFilter.java:88)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:77)
              at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:56)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:128)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.cq.dam.s7imaging.impl.auth.MemoryTokenAuthHandler.doFilter(MemoryTokenAuthHandler.java:156)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:81)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:153)
              at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:205)
              at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:339)
              at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:300)
              at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:93)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:50)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:128)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:298)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:115)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
              at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:76)
              at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:49)
              at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
              at org.eclipse.jetty.server.Server.handle(Server.java:370)
              at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
              at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
              at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
              at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
              at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
              at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
              at java.lang.Thread.run(Unknown Source)
      Caused by: io.sightly.java.api.SightlyUseException: io.sightly.java.api.SightlyUseException: javax.script.ScriptException: Failure running script /apps/myapp/componen
      ts/quicksearch/quicksearch.html: Property "Ã?" already defined in this object literal. (/apps/myapp/components/quicksearch/quicksearch.html#222)
              at io.sightly.js.loop.EventLoop.run(EventLoop.java:71)
              at io.sightly.js.loop.EventLoop.schedule(EventLoop.java:46)
              at io.sightly.js.JsEnvironment.runScript(JsEnvironment.java:136)
              at io.sightly.js.JsEnvironment.runResource(JsEnvironment.java:99)
              at io.sightly.js.JsEnvironment.run(JsEnvironment.java:91)
              at io.sightly.js.JsEnvironment.run(JsEnvironment.java:118)
              at io.sightly.js.JsUseProvider.provide(JsUseProvider.java:92)
              at io.sightly.java.engine.extension.use.UseExtension$1.call(UseExtension.java:82)
              at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)
              at apps.procato_marketplace.components.quicksearch.SightlyJava_quicksearch.render(SightlyJava_quicksearch.java:25)
              at io.sightly.java.api.BaseRenderUnit.render(BaseRenderUnit.java:39)
              at io.sightly.java.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:109)
              at io.sightly.java.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:93)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              ... 205 common frames omitted
      Caused by: io.sightly.java.api.SightlyUseException: javax.script.ScriptException: Failure running script /apps/myapp/components/quicksearch/quicksearch.html: Property
      "Ã?" already defined in this object literal. (/apps/procato-marketplace/components/quicksearch/quicksearch.html#222)
              at io.sightly.js.JsEnvironment$1.run(JsEnvironment.java:157)
              at io.sightly.js.loop.Task.run(Task.java:36)
              at io.sightly.js.loop.EventLoop.run(EventLoop.java:61)
              ... 220 common frames omitted
      Caused by: javax.script.ScriptException: Failure running script /apps/myappcomponents/quicksearch/quicksearch.html: Property "Ã?" already defined in this object lite
      ral. (/apps/myapp/components/quicksearch/quicksearch.html#222)
             at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngine.eval(RhinoJavaScriptEngine.java:159)
              at io.sightly.js.JsEnvironment$1.run(JsEnvironment.java:147)
              ... 222 common frames omitted
      Caused by: org.mozilla.javascript.EvaluatorException: Property "Ã?" already defined in this object literal. (/apps/myappcomponents/quicksearch/quicksearch.html#222)
              at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
              at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:64)
              at org.mozilla.javascript.Parser.addError(Parser.java:188)
              at org.mozilla.javascript.Parser.addError(Parser.java:170)
              at org.mozilla.javascript.Parser.objectLiteral(Parser.java:3216)
              at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2767)
              at org.mozilla.javascript.Parser.memberExpr(Parser.java:2406)
              at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
              at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
              at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
              at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
              at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
             at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
              at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
              at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
              at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
              at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
              at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
              at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
              at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
              at org.mozilla.javascript.Parser.variables(Parser.java:1870)
              at org.mozilla.javascript.Parser.statementHelper(Parser.java:986)
              at org.mozilla.javascript.Parser.statement(Parser.java:901)
              at org.mozilla.javascript.Parser.parseFunctionBody(Parser.java:634)
              at org.mozilla.javascript.Parser.function(Parser.java:795)
              at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2761)
              at org.mozilla.javascript.Parser.memberExpr(Parser.java:2406)
              at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
              at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
              at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
              at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
              at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
              at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
              at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
              at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
              at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
              at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
              at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
              at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
              at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
              at org.mozilla.javascript.Parser.argumentList(Parser.java:2373)
              at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2523)
              at org.mozilla.javascript.Parser.memberExpr(Parser.java:2442)
              at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
              at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
              at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
              at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
              at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
              at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
              at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
              at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
              at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
              at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
              at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
              at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
              at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
              at org.mozilla.javascript.Parser.expr(Parser.java:2012)
              at org.mozilla.javascript.Parser.nameOrLabel(Parser.java:1765)
              at org.mozilla.javascript.Parser.statementHelper(Parser.java:1032)
              at org.mozilla.javascript.Parser.statement(Parser.java:901)
              at org.mozilla.javascript.Parser.parse(Parser.java:540)
              at org.mozilla.javascript.Parser.parse(Parser.java:502)
              at org.mozilla.javascript.Context.compileImpl(Context.java:2350)
              at org.mozilla.javascript.Context.compileReader(Context.java:1296)
              at org.mozilla.javascript.Context.compileReader(Context.java:1268)
              at org.mozilla.javascript.Context.evaluateReader(Context.java:1107)
              at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngine.eval(RhinoJavaScriptEngine.java:116)
              ... 223 common frames omitted
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            haggis David Herges
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: