Stefan Egli created SLING-6353:
----------------------------------

             Summary: Test failure with SLING-6288 in HTL ITs
                 Key: SLING-6353
                 URL: https://issues.apache.org/jira/browse/SLING-6353
             Project: Sling
          Issue Type: Task
          Components: Scripting
            Reporter: Stefan Egli
            Assignee: Carsten Ziegeler
            Priority: Blocker
             Fix For: Scripting JSP 2.2.2


Adding this blocker for scripting.jsp 2.2.2 due to the below exception seen 
when running with SLING-6288 (tracked root cause to 
{{bindDynamicClassLoaderManager}} not getting called on 
{{JspScriptEngineFactory}}):

{{cd bundles/scripting/sightly/testing; mvn clean verify}}
{noformat}30.11.2016 15:46:07.586 *ERROR* [127.0.0.1 [1480517167458] GET 
//sightlyperf/loop.html HTTP/1.1] 
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught 
SlingException
org.apache.sling.scripting.jsp.jasper.el.JspELException: 
/apps/sightlyperf/test/jsp-el.jsp(23,0) 
'${sling:adaptTo(resource,'org.apache.sling.api.resource.ValueMap')}' Problems 
calling function 'sling:ad
aptTo'
        at 
org.apache.sling.scripting.jsp.jasper.el.JspValueExpression.getValue(JspValueExpression.java:107)
        at 
org.apache.jsp.apps.sightlyperf.test.jsp_002del_jsp._jspx_meth_c_005fset_005f0(jsp_002del_jsp.java:167)
        at 
org.apache.jsp.apps.sightlyperf.test.jsp_002del_jsp._jspService(jsp_002del_jsp.java:124)
        at 
org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
...
Caused by: java.lang.NullPointerException: null
        at 
org.apache.sling.scripting.jsp.taglib.SlingFunctions.loadClass(SlingFunctions.java:220)
        at 
org.apache.sling.scripting.jsp.taglib.SlingFunctions.adaptTo(SlingFunctions.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.el.parser.AstFunction.getValue(AstFunction.java:94)
        at 
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
        at 
org.apache.sling.scripting.jsp.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)
        ... 82 common frames omitted
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to