Support Article

Getting java.lang.NoClassDefFoundError when trying to open WO

SA-19443

Summary



User was getting java.lang.NoClassDefFoundError: com/pegarules/generated/pega_processengine_workutilities when trying to open workobject  in user/manager portal.


Error Messages



2016-01-25 06:01:21,506 [    WebContainer : 5] [  STANDARD] [XXXX:15.12.01] (a_Portal_DesignerStudio.Stream) ERROR XXXXXX|10.148.36.10 USZ00AA - Section 'ActivityStatusSuccess' execution error on page 'pyDisplayHarness' of  class 'Data-Portal'.
java.lang.NoClassDefFoundError: com/pegarules/generated/pega_processengine_workutilities
 at com.pegarules.generated.html_harness.ra_stream_activitystatussuccess_651e63129ae0c2fe93fe3ab5d61b5baf.execute(ra_stream_activitystatussuccess_651e63129ae0c2fe93fe3ab5d61b5baf.java:683)
 at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3908)
 at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3736)
Caused by:
java.lang.NoClassDefFoundError: com/pegarules/generated/pega_processengine_workutilities
 at com.pegarules.generated.html_harness.ra_stream_harnessfail_722aa9e1cba778320d043459b099f02c.execute(ra_stream_harnessfail_722aa9e1cba778320d043459b099f02c.java:685)
 ... 72 more


Steps to Reproduce



1.Login to user portal.
2. Open case.


Root Cause



Generated jave file got corrupted/missed in PRGenJava folder of temp directory.

Resolution



Removing the temp directory would  re-generate java files and libraries.

 

Suggest Edit

Published March 5, 2016 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.