Discovery Bot Recorder

  • 16 July 2023
  • 0 replies


Discovery Bot - Won't record anything It starts the recording then nothing records.


I found this message in the log file “

2023-Jul-16 Sun 10:14:41.696 ERROR [Thread-25] - com.automationanywhere.recorder.adapter.primary.commands.RecorderCommand {} - lambda$execute$0( - Unhandled Exception in Recorder java.lang.NoSuchFieldError: OAUTHCONNECTION
    at com.automationanywhere.recorder.service.ValueConverter.toModelExtended( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at com.automationanywhere.recorder.service.ValueConverter.lambda$toModelMap$0( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at$uniqKeysMapAccumulator$1(Unknown Source) ~[?:?]
    at$3ReducingSink.accept(Unknown Source) ~[?:?]
    at java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet.lambda$entryConsumer$0(Unknown Source) ~[?:?]
    at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:?]
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:?]
    at java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntrySetSpliterator.forEachRemaining(Unknown Source) ~[?:?]
    at Source) ~[?:?]
    at Source) ~[?:?]
    at$ReduceOp.evaluateSequential(Unknown Source) ~[?:?]
    at Source) ~[?:?]
    at Source) ~[?:?]
    at com.automationanywhere.recorder.service.ValueConverter.toModelMap( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at com.automationanywhere.recorder.service.ValueConverter.toModel( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at com.automationanywhere.recorder.operation.ButtonOperation.execute( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at com.automationanywhere.recorder.operation.ButtonOperation.execute( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at com.automationanywhere.recorder.operation.AbstractSingleMessageOperation.lambda$start$0( ~[bot-command-recorder-2.11.5-20230512-083852.jar:?]
    at java.util.concurrent.Executors$ Source) ~[?:?]
    at Source) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$ Source) ~[?:?]
    at Source) [?:?]



I asked chatgpt to explain the error to me but it does not help me to solve the issue,

I tried to restart the automation anywhere service and my pc but nothing seems to work

This error stack trace suggests a problem with your Automation Anywhere bot task. The error is a java.lang.NoSuchFieldError, which is thrown when an application attempts to access or modify a specified field of an object, but that object no longer has that field. In your case, it's trying to access the field OAUTHCONNECTION but is unable to find it.

This could be due to a few reasons:

Version mismatch: The OAUTHCONNECTION field might have been present in an earlier version of a class, but it might have been removed in a newer version. If some parts of your application are using the old version while others are using the new version, you could encounter this error. Verify that all parts of your application and all dependencies are using the correct version of the class.

Renamed or removed field: If the OAUTHCONNECTION field has been renamed or removed in the class definition but the code that uses this field hasn't been updated, you could get this error. Check your code to ensure that all references to this field are correct.

Incorrect configuration: If you're using a configuration file or similar to specify fields and it includes OAUTHCONNECTION, but this field doesn't actually exist in your code, you could see this error. Verify your configuration to ensure it's correct.


0 replies

Be the first to reply!