Skip to main content
Solved

Process Composer: Create a Request failed with error 'java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils'

  • April 3, 2025
  • 5 replies
  • 88 views

Forum|alt.badge.img+6

When creating an AARI request using a test bot with the Process Composer 'Create Request' action, it often fails with the error:

java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

Error:

Code: 

Can someone suggest a workaround for this? Why are we getting this error, and how can it be resolved?

Best answer by rbkadiyam

@RajeshS106234 as per logs there is no active session, can you restart the machine and tray again ?

5 replies

Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • April 3, 2025

Hi ​@RajeshS106234,

have you checked the logs?

You can view the system log information on your device at the following locations:

  • Bot Agent installed as admin userC:\ProgramData\AutomationAnywhere\BotRunner\Logs
  • Bot Agent installed as local user or non-admin user: %userprofile%\AppData\Local\AutomationAnywhere\BotRunner\Logs

Cheers

Marc


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • April 3, 2025

@Marc Mueller  here are the logs:

 

I have no clear idea about the root cause of the error


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • April 3, 2025

Based upon your description, are you using a package called StringUtils? If so, what action(s) are you using from that package?


rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • Answer
  • April 3, 2025

@RajeshS106234 as per logs there is no active session, can you restart the machine and tray again ?


Forum|alt.badge.img+8
  • Navigator | Tier 3
  • April 3, 2025

Check if you have storage capacity available on your drive, where packages get downloaded.
Usually C:\ProgramData\AutomationAnywhere\GlobalCache

make sure you have enough storage available for packages to get downloaded.