Expand my Community achievements bar.

Issue with OOTB AFinit.jsp file

Avatar

Level 1

Hi All,

 

We have recently upgraded AEM 6.5 from SP 11 to SP15. We have also updated the forms package. We are facing an issue with the customs form where it's showing the below error:

Error during include of component '/apps/components/form/product-form'
Error Message:
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.scripting.ScriptEvaluationException:
Processing Info:
Caused by: java.lang.IllegalArgumentException: protocol = http host = null
at java.base/sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:192)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at com.adobe.aem.formsndocuments.dxintegration.analytics.util.AnalyticsUtil.getLaunchScriptContent(AnalyticsUtil.java:85)
at com.adobe.aem.formsndocuments.dxintegration.analytics.util.AnalyticsUtil.isLaunchConfigWithAnalyticsAttached(AnalyticsUtil.java:66)
at org.apache.jsp.libs.fd.fmaddon.components.dx.analytics.components.init.AFinit_jsp._jspService(AFinit_jsp.java:172)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)

 

We observed one thing that after forms package upgrade we see two different AFinit.jsp file:
/libs/fd/fmaddon/components/dx/analytics/components/init/AFinit.jsp - New file
/libs/fd/fmaddon/components/analytics/clientlibs/init/AFinit.jsp - Old file

 

Kindly provide your input to resolve this issue.

0 Replies