cancel
Showing results for 
Search instead for 
Did you mean: 

Error while approving documents in KM

Former Member
0 Kudos

Hi All,

We have various approval processes set up for various folders. The proper groups and steps are defined. When the user creates a piece of content in the folder, they can click on the command menu or details and submit it for approval. The super content administrator can submit it for approval or skip the approval.

After some time, we are receiving a NullPointerException whenever we try to submit something for approval or skip the approval process. It never gets to UWL. When we look in the logs we see the error below. When we restart the server, we are able to submit for approval and skip with approval without any issues. After some time however, this issue arises again.

The log file shows the following -

#1.5#0014C26354620055000006DA00000B4000040A8ECD7C2BBE#1137508356007#com.sapportals.wcm.rendering.property.PropertyRendererFactory#sap.com/irj#com.sapportals.wcm.rendering.property.PropertyRendererFactory#bkumm24#7737##ptdwas00_EPD_4495551#bkumm24#97718e30876111da89f60014c2635462#SAPEngine_Application_Thread[impl:3]_8##0#0#Warning##Plain###Reloading all classes, because CRT Class Loader was modified.#\par

#1.5#0014C263546200540000088800000B4000040A8ECFDE6BB6#1137508396008#com.sapportals.wcm.rendering.uicommand.UIConfiguration#sap.com/irj#com.sapportals.wcm.rendering.uicommand.UIConfiguration#bkumm24#7737##ptdwas00_EPD_4495551#bkumm24#97718e30876111da89f60014c2635462#SAPEngine_Application_Thread[impl:3]_24##0#0#Warning##Plain###Reloading all classes, because CRT Class Loader was modified.#\par

#1.5#0014C263546200400000090E00000B4000040A8ED190AEC1#1137508424461#com.sapportals.wcm.rendering.uicommand.UIMenuFactory#sap.com/irj#com.sapportals.wcm.rendering.uicommand.UIMenuFactory#bkumm24#7864##ptdwas00_EPD_4495551#bkumm24#7b541bc0876411da96bf0014c2635462#SAPEngine_Application_Thread[impl:3]_20##0#0#Warning##Plain### No group command found for rendering menu HoverMenu for resource ..........

Please help.

Thanks,

vivek

I promise to reward points for helpfull answers

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Vivek,

this comes from KM hot deployment. This is in general not supported. For a fresh detailed explanation, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bb1f18be-0801-0010-ffa0-e34...

Hope it helps

Detlev

PS: You can edit your original post if the layout doesn't work by using the "pencil button".

Former Member
0 Kudos

Hi Detlev,

Thanks for such a quick response.

But we haven't written any custom code for the document approval.

When I try to send a document for approvel , I get the error mentioned above.

1. Does this mean that any custom code which has been deployed on the same KM server could cause this error while sending the document for aproval ?

2. How can I avoid this ?

Thanks again,

Vivek

detlev_beutner
Active Contributor
0 Kudos

Hi Vivek,

> haven't written any custom code for the document approval

It doesn't matter if some hot deployed KM component code makes use of a certain service to put this service into an undefined state - just by the hot KM deployment.

> any custom code which has been deployed

> on the same KM server

Not any code, but portal services which register into the CRTClassloaderRegistry, that is KM components, like ResourceRenderer, RepositoryServices etc.

> How can I avoid this ?

You cannot. See the article I have referred to. That's also the reason why KM component development is definitely better done on the developer's own local portal installation, for it has to be restarted quite often.

Hope it helps

Detlev

Former Member
0 Kudos

Many Thanks Detlev.

I also have a query on workflow templates, if possible can you please help me with that also.

The forum is

Regards,

Vivek

Answers (1)

Answers (1)

Former Member
0 Kudos

Resubmitting .....

We have various approval processes set up for various

folders. The proper groups and steps are defined.

When the user creates a piece of content in the folder

they can click on the command menu or details and submit

it for approval.

After some time, we are receiving a NullPointerException

whenever we try to submit something for approval or skip

the approval process. It never gets to UWL. When we

look in the logs we see the error below. When we

restart the server, we are able to submit for approval

and skip with approval without any issues. After some

time however, this issue arises again.

The log file shows the following -

#1.5#0014C26354620055000006DA00000B4000040A8ECD7C2BBE#113

7508356007#com.sapportals.wcm.rendering.property.Property

RendererFactory#sap.com/irj#com.sapportals.wcm.rendering.

property.PropertyRendererFactory#bkumm24#7737##ptdwas00_E

PD_4495551#bkumm24#97718e30876111da89f60014c2635462#SAPEn

gine_Application_Thread[impl:3]

_8##0#0#Warning##Plain###Reloading all classes, because

CRT Class Loader was modified.#\par

#1.5#0014C263546200540000088800000B4000040A8ECFDE6BB6#113

7508396008#com.sapportals.wcm.rendering.uicommand.UIConfi

guration#sap.com/irj#com.sapportals.wcm.rendering.uicomma

nd.UIConfiguration#bkumm24#7737##ptdwas00_EPD_4495551#bku

mm24#97718e30876111da89f60014c2635462#SAPEngine_Applicati

on_Thread[impl:3]_24##0#0#Warning##Plain###Reloading all

classes, because CRT Class Loader was modified.#\par

#1.5#0014C263546200400000090E00000B4000040A8ED190AEC1#113

7508424461#com.sapportals.wcm.rendering.uicommand.UIMenuF

actory#sap.com/irj#com.sapportals.wcm.rendering.uicommand

.UIMenuFactory#bkumm24#7864##ptdwas00_EPD_4495551#bkumm24

#7b541bc0876411da96bf0014c2635462#SAPEngine_Application_T

hread[impl:3]_20##0#0#Warning##Plain### No group command

found for rendering menu HoverMenu for resource ..........

Please help.

Thanks,

vivek

I promise to reward points for helpfull answers