cancel
Showing results for 
Search instead for 
Did you mean: 

Post upgrade, an attachemnt in KM iview not opening.

Former Member
0 Kudos

Dear Experts,

we have portal on 7.0

My client has upgrade from NW7.0 SP 19 to sp28.

since then we are not able to open attachments in the KM navigation iviews.

it says :

SYSTEM ERROR:

An exception occurred during Program execution

when checked in NWA for the logs: we got  java.lang.nullpointer exception for CollectionListrelatedResouceRenderer.

i have searched for this kind of issues. it said that restart of server has solved the problems.

but for our case the server restart happens every tuesday.

still its the same.

Please find attached are the screenshot of the error and of the exceptions.

we are unable to resolve why is this error coming?

Please suggest us what to do?

Thanks in advance,

Kavitha.

Accepted Solutions (1)

Accepted Solutions (1)

tanushsingh_parihar
Contributor
0 Kudos

Hi Kavitha,

Check the KM configuration for any inconsistencies. You will find information about any errors/warnings on the right-bottom side if you navigate to Sys Adm > Sys Config > KM > CM.

Click on check results (if shown) and correct them.

If that does not help, I would suggest applying the latest patches for KMC-CM and KMC-BC.

Former Member
0 Kudos

HI parihar,

Thankyou for your reply and sorry for  my very late response.

Here is the error what we are getting: its java.land.null.pointer exception.

while trying to invoke the method com.sapportals.wcm.repository.IResourceList.size() of an object returned from com.mars.portal.france.renderer.collection.LightCollectionRenderer.getResourceList() java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.IResourceList.size() of an object returned from com.mars.portal.france.renderer.collection.LightCollectionRenderer.getResourceList()
at com.mars.portal.france.renderer.collection.CollectionListRelatedResourcesRenderer.renderUI(CollectionListRelatedResourcesRenderer.java:507)
at com.mars.portal.france.renderer.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:663)
at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:164)
at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)
at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1852)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:283)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:671)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:407)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:207)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:112)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.wcm.portal.connection.KmConnection.handleRequest(KmConnection.java:50)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:556)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

any pointers to this. the code has not been changed, post upgrade.

before upgrade the same code is working and now we are getting this error.

i checked in sdn and also googled. could nto find anything relevant on this.

please help.

Thanks in advance.

kavitha.

Former Member
0 Kudos

This:

while trying to invoke the method com.sapportals.wcm.repository.IResourceList.size() of an object returned from com.mars.portal.france.renderer.collection.LightCollectionRenderer.getResourceList()


indicates using of custom rendering components and compatibility problems between those and standard SAP stuff. You, or the manufacterer of this stuff, have to ensure their components are adapted for the portal version you want to use.


regards

Former Member
0 Kudos

Hi Lawrence,

Thankyou for the reply.

I understood that it is a compatibility issue, but i am not very clear.

can you Please explain me in detail?

Also all other functionalities from the same code are working good. But then only this fucntionality is throwing error.

The same code has worked for SP17. But when upgraded to SP28. it is not working.

Will the deprecated methods in the code, cause for the problem????

Thanks in advance,

Kavitha.

Former Member
0 Kudos

Thankyou for the reply.

I understood that it is a compatibility issue, but i am not very clear.

can you Please explain me in detail?

Its a null pointer exception, that means com.sapportals.wcm.repository.IResourceList.size() is excpecting a valid value and gettin null instead, if I interpret this right. It seems, pure conjecture, the problem is not a difference in method signature, but more the size() method on LightCollectionRenderer.getResourceList() returns null.

The same code has worked for SP17. But when upgraded to SP28. it is not working.

Will the deprecated methods in the code, cause for the problem????

I guess nobody can tell you excepting the author of com.mars.portal.france.renderer.collection.LightCollectionRenderer. You need to ask the people who wrote this piece of software. If you cant do so, you can download, decompile and debug appropriate components to find out on your own whats going on. But I dont assume that: if this is a 3rd party implementation, your company or customer have payed it, means where should be things like PAM, technical support and so on...


Did you have done the CM consistence check Tanushsingh has mentioned? This could be a very good idea


regards



Answers (2)

Answers (2)

Former Member
0 Kudos

Experts,

Any pointers to this. This is an urgent issue to be resolved.

Please help ...

kavitha.

Former Member
0 Kudos

Hi Kavitha

does this happen to all the files?

Let me know

a

Former Member
0 Kudos

Hi Andrea,

Thankyou for reply.

yes this is happening for all the files.

the attachments should open the document in KM along with the context menu.

Thanks & regards,

Kavitha