在AEM 6.5和Java 11上打开页面属性时,在日志中使用NPE发出警告



在Java 11上运行AEM 6.5.3。当我打开版本的页面属性时,我不时收到错误警告.log其中包含从table_jsp.java:56抛出的 NPE:

13.12.2019 07:32:21.487 *WARN* [91.202.100.5 [1576222341248] GET /mnt/overlay/wcm/core/content/sites/properties.html HTTP/1.1] libs.granite.ui.components.coral.foundation.table Failed to wrap datasource for lookahead
java.lang.NullPointerException: null
at org.apache.jsp.libs.granite.ui.components.coral.foundation.table.table_jsp$LimitIncreaseDatasourceWrapper.<init>(table_jsp.java:56)
at org.apache.jsp.libs.granite.ui.components.coral.foundation.table.table_jsp._jspService(table_jsp.java:257)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [org.apache.sling.scripting.jsp:2.3.6]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [org.apache.felix.http.servlet-api:1.1.2]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502) [org.apache.sling.scripting.jsp:2.3.6]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449) [org.apache.sling.scripting.jsp:2.3.6]
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:339) [org.apache.sling.scripting.jsp:2.3.6]
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:97) [org.apache.sling.scripting.jsp:2.3.6]
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:600) [org.apache.sling.scripting.jsp:2.3.6]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388) [org.apache.sling.scripting.core:2.0.56]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) [org.apache.sling.scripting.core:2.0.56]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) [org.apache.sling.scripting.core:2.0.56]
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:133) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]

这是一个已知问题吗?

在撰写本文时(据我所知(,这是一个已知问题,应该不会引起任何问题。可以通过更新节点来修复/apps/wcm/core/content/sites/properties/tabs/permissions/items/userGroupList/datasource

<userGroupList jcr:primaryType="nt:unstructured">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/siteadmin/admin/properties/localacl/localacldatasource"
itemResourceType="cq/gui/components/siteadmin/admin/properties/localacl/localacllistitem"
limit="{Long}40"
page="${empty param.item ? requestPathInfo.suffix : param.item}"/>
</userGroupList>

根据Adobe支持,此问题已从AEM 6.5.5.0开始解决,尽管我找不到解决此问题的修补程序ID

相关内容

  • 没有找到相关文章

最新更新