ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Process Instances Fail with Cannot Find Java Class Core As Tag Library

book

Article ID: 236881

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

Process instances with GEL scripts are failing with the following error:

BPM-0704: An error occurred while executing custom script: com.niku.union.gel.GELValidationException; lineNumber: 38; columnNumber: 63; Cannot find Java class 'core' as a tag library.

Cause

The error means there could have been a process with a bad GEL script where the core library was not defined correctly.
The gel script might not have defined the core tag incorrectly and it was saved into the cache before it was fixed. 


Environment

Release : Any

Resolution

Check if there have is a procedure that XOG/updates processes/GEL script declarations.

If so, make sure it is not removing required XML declarations.

Restart the BG services to make sure there is not a caching issue.

If the issue persists, perform the following:

1. Was the BG service restarted automatically/manually?
If so, this can impact the loading of files while a process is in flight.

2. Obtain when the last time the BG service was restarted and errors encountered.

--a
select * from BPM_RUN_PROCESS_ENGINES
order by heart_beat desc

--b
select * from bpm_errors
where created_date > sysdate - 10

3. Review the BPM_ERRORS table.
Compare it to when the last BG service was restarted.