Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to edit pages after in-place 6.5 upgrade

Avatar

Avatar
Validate 10
Level 3
anjali_biddanda
Level 3

Likes

17 likes

Total Posts

69 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 10
Level 3
anjali_biddanda
Level 3

Likes

17 likes

Total Posts

69 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
anjali_biddanda
Level 3

22-04-2020

We did an in-place upgrade to 6.5 from 6.4.2. The pages are now not edit-able (even as an admin). I'm seeing this error:

Internal Server Error

Cannot serve request to /libs/wcm/core/content/pageinfo.json in com.day.cq.wcm.core.impl.servlets.PageInfoServlet

Exception:

java.lang.NullPointerException

This is the what i see when trying to load /libs/wcm/core/content/pageinfo.json:

      0 TIMER_START{Request Processing}
      0 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>
      5 LOG Method=GET, PathInfo=null
      5 TIMER_START{handleSecurity}
   1018 TIMER_END{1011,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@3fd28b6c returns true
   1193 TIMER_START{ResourceResolution}
   1273 TIMER_END{79,ResourceResolution} URI=/libs/wcm/core/content/pageinfo.json resolves to Resource=JcrNodeResource, type=wcm/core/components/pageinfo, superType=null, path=/libs/wcm/core/content/pageinfo
   1277 LOG Resource Path Info: SlingRequestPathInfo: path='/libs/wcm/core/content/pageinfo', selectorString='null', extension='json', suffix='null'
   1277 TIMER_START{ServletResolution}
   1280 TIMER_START{resolveServlet(/libs/wcm/core/content/pageinfo)}
   1294 TIMER_END{13,resolveServlet(/libs/wcm/core/content/pageinfo)} Using servlet com.day.cq.wcm.core.impl.servlets.PageInfoServlet
   1296 TIMER_END{19,ServletResolution} URI=/libs/wcm/core/content/pageinfo.json handled by Servlet=com.day.cq.wcm.core.impl.servlets.PageInfoServlet
   1300 LOG Applying Requestfilters
   1306 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl
   1310 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter
   1313 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
   1316 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
   1319 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter
   1323 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
   1326 LOG Calling filter: com.adobe.cq.mcm.campaign.servlets.CampaignCopyTracker
   1328 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
   1338 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter
   1343 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet

 

And here's the error :

24.04.2020 09:15:13.487 *WARN* [10.156.90.61 [1587683713197] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.adobe.granite.workflow.core.jcr.WorkflowModelManager Workflow model does not exist: /var/workflow/models/akamai/akamai-vod-delete
24.04.2020 09:15:13.488 *ERROR* [10.156.90.61 [1587683713197] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
java.lang.NullPointerException: null

I think this is because there's RUNNING workflow instances for that a particular model that no longer exists.

I tried purging these workflows from the JMX console but no luck.
 

Thanks in advance,

Anjali

View Entire Topic

Avatar

Avatar
Validate 10
Level 3
anjali_biddanda
Level 3

Likes

17 likes

Total Posts

69 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 10
Level 3
anjali_biddanda
Level 3

Likes

17 likes

Total Posts

69 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
anjali_biddanda
Level 3

25-04-2020

I tried purging these workflows from the JMX console but the console does not give you a success message, so I doubt it worked. When we tried again and used the correct model ID for the workflow and did the purge, the pageInfo.json started showing and the Pages became editable.

 

So the solution is to PURGE any workflows in a RUNNING state that use a stale workflow model.