Closed q9f closed 3 years ago
Thank you for the report. This error indicates that while reading the ENR exposed by a node over discovery, Besu failed to read the contents of the record. Most likely a record value is a list instead of a string.
This should not stop operation of the client, but will break discovery of nodes with such data.
this should not be closely tied to Mordor.
I cannot reproduce it on latest master besu/v21.1.7-dev-2cc67784/linux-x86_64/oracle_openjdk-java-11
so it might be specific to the 21.2.x release.
You might just not have discovered a node with that form of metadata again. Since Besu uses the https://github.com/consensys/discovery library, I think the issue should be relayed there.
We believe this occurred when the node started up and tried to load its own NodeRecord from local keystore storage. Did anything about that keystore change between running 21.2.0-RC1 (is that a typo? that build doesn't exist here ) and running the 21.1.7 nightly build? I'm surprised the problem went from being regularly reproducible to not at all via that upgrade.
We'd like to close this as "cannot reproduce" unless being able to run older builds is a requirement for you, and you are able to provide that keystore.
Description
After upgrading Besu to 21.2.0-RC1, it does not longer support my previous configuration. The triggered exception does indicate a cast from RLP list to RLP string but does not give any hint what may have caused this nor how to circumvent this.
Acceptance Criteria
Running Besu on Classic, Kotti, and Mordor.
Steps to Reproduce (Bug)
tags/21.2.0-RC1
java.util.concurrent.CompletionException: java.lang.ClassCastException: class org.web3j.rlp.RlpList cannot be cast to class org.web3j.rlp.RlpString (org.web3j.rlp.RlpList and org.web3j.rlp.RlpString are in unnamed module of loader 'app')
Versions (Add all that apply)
besu/v21.1.1-dev-17af1265/linux-x86_64/oracle_openjdk-java-11
openjdk 11.0.11 2021-04-20
NAME="Arch Linux"
Linux ceibo 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64 GNU/Linux
Additional Information