Skip to main content
Question

StringValue cannot be cast

  • July 11, 2023
  • 1 reply
  • 1279 views

Forum|alt.badge.img

This may be due to the following reason: class com.automationanywhere.botcommand.data.impl.StringValue cannot be cast to class com.automationanywhere.botcommand.data.impl.WindowValue (com.automationanywhere.botcommand.data.impl.StringValue and com.automationanywhere.botcommand.data.impl.WindowValue are in unnamed module of loader java.net.URLClassLoader @65c2ef49)

To continue, edit the bot and fix the error. Then, try again. If you continue to see this message, please contact your system administrator.

Code: bot.execution.error

1 reply

Forum|alt.badge.img+4
  • Navigator | Tier 3
  • December 20, 2024

This may be due to the following reason: class com.automationanywhere.botcommand.data.impl.StringValue cannot be cast to class com.automationanywhere.botcommand.data.impl.WindowValue (com.automationanywhere.botcommand.data.impl.StringValue and com.automationanywhere.botcommand.data.impl.WindowValue are in unnamed module of loader java.net.URLClassLoader @65c2ef49)

To continue, edit the bot and fix the error. Then, try again. If you continue to see this message, please contact your system administrator.

Code: bot.execution.error


Right! Get Active Window title forces you to use a string value, but then you cannot assign that to a Window variable. Is this some kind of bug, what’s the point of the action in the first place if you cannot assign it to a dynamic window?​​