cancel
Showing results for 
Search instead for 
Did you mean: 

Getting null pointer exception while opening a page from cmscockpit.

Former Member
0 Kudos

link textIn list of cms pages, for pages which use a particular page template, in the Action tab, only the symbol of Approval Status is shown, where for other pages the normal scenario it shows four signs (approval status, Status[synchronized/Not Synchronized], edit and remove). When I am trying to open those pages, it is throwing NullPointerException.

Please refer to the screenshot. As you can see there are number of pages where in action filed the edit option is not available, hence when ever er are going to open those pages, we are getting NullPointerException.

tylermac
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please provide the stack trace in a code block (CTRL+K)

Former Member
0 Kudos

Hi Tyler, I have uploaded one screenshot in the description, hope it explains my problem better.

tylermac
Product and Topic Expert
Product and Topic Expert
0 Kudos

Soumya, could you please edit your question to include the stack trace (please use the code block feature so it is easier to read)

Also, do you have the correct permissions to edit/delete/sync those pages?

Former Member
0 Kudos

Hi, Tyler, I have uploaded the stack trace in the attached text file. Please excuse as couldn't use the code block feature.

In normal scenario, all the pages in cmscockpit should have edit/delete/sync permissions. This behavior has occurred all of a sudden. Thus not being able to understand what could have caused this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

tylermac
Product and Topic Expert
Product and Topic Expert
0 Kudos

It looks like the null pointer is causing some of the issues you're seeing, as it's running into the issue while trying to render the sync context. The NPE is being passed in as part of

 valueHandler.loadValues(ret, typedObject.getType(), typedObject, propertyDescriptors, langIsos);

but i don't know which one. It's not something I could figure out without being able to reproduce myself.