Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Unable to create content fragment model in AEM 6.5 throws server error

Avatar

Level 2

I'm unable to create content fragment model in one of our environments even when i'm logged in with admin. It throws server error.

Attaching screenshot and stack trace in the comments below.

 

nandini559_0-1590658460089.png

 

22.05.2020 04:23:03.064 *ERROR* [10.30.60.206 [1590139383053] POST /mnt/overlay/dam/cfm/models/console/content/createmodelwizard.html/conf/dam/cfm/models/console/content/createmodelwizard/_jcr_content HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

java.lang.NullPointerException: null

        at org.apache.jsp.apps.cq.Page.POST_jsp._jspService(POST_jsp.java:208)

        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]

1 Accepted Solution

Avatar

Correct answer by
Level 4

@nandini559 ,

Two Things

1) If you have installed the Service pack recently-There might possibilities that you core package affected and its not Active state. Please verify it and try to restart the AEM. 

2) If the issue persist, then uninstall the SP and install it again with other browser except chrome and see all bundles are getting Active state or not.

Once your all bundles are active then you good to go.

Let us know if its works for you.

 

Happy Coding 

~BK  

View solution in original post

7 Replies

Avatar

Employee

What version and service pack are you running ?

Can you Invalidate Caches then Rebuild Libraries [1] and give it a try in private browser ?

[1] http://[host]:[port]/libs/granite/ui/content/dumplibs.rebuild.html

Avatar

Employee

Was it working before? Did you recently install SP4 for AEM 6.5.x?

 

Avatar

Level 2
We have recently installed AEM 6.5 along with SP4. Since then it doesn't work.

Avatar

Employee

We already got a similar issue from another customer. Most likely SP4 did not update all required bundles to versions that SP4 expects. You can try to re-do SP4. Get a backup of the previous version, do re-indexing and install SP4. If it's still an issue then open a support case. It's not a trivial problem.

Avatar

Level 2
sure will try to do so and verify if it works fine, appreciate your quick help.

Avatar

Correct answer by
Level 4

@nandini559 ,

Two Things

1) If you have installed the Service pack recently-There might possibilities that you core package affected and its not Active state. Please verify it and try to restart the AEM. 

2) If the issue persist, then uninstall the SP and install it again with other browser except chrome and see all bundles are getting Active state or not.

Once your all bundles are active then you good to go.

Let us know if its works for you.

 

Happy Coding 

~BK