Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git build: Exception in thread "MessageSiphon" java.lang.NoSuchMethodError #11795

Open
jaggzh opened this issue Jun 10, 2022 · 1 comment
Open
Labels

Comments

@jaggzh
Copy link

jaggzh commented Jun 10, 2022

Working from master in Debian stable, when I upload to a device (tried AVR and non-AVR), I get this error. (The upload then completes anyway). It does not show the upload progress.

esptool.py v3.3-dev
Exception in thread "MessageSiphon" java.lang.NoSuchMethodError: 'boolean org.apache.commons.lang3.StringUtils.containsAny(java.lang.CharSequence, java.lang.CharSequence[])'
	at cc.arduino.packages.Uploader.message(Uploader.java:178)
	at processing.app.debug.MessageSiphon.run(MessageSiphon.java:96)
	at java.base/java.lang.Thread.run(Thread.java:829)
@MikeOdyn
Copy link

This error message indicates that there is a problem with the version of the Apache Commons Lang library that is being used. The StringUtils.containsAny method appears to be missing or has a different signature than expected.

It is possible that there is a version mismatch between the version of the library being used by the Arduino IDE and the version of the library that is being used by the esptool.py script.

One way to resolve this issue would be to try updating the Arduino IDE and the esptool.py script to the latest versions. If you are using a package manager to install these tools, you may need to update the package repository and then upgrade the packages.

Alternatively, you could try manually specifying the version of the Apache Commons Lang library that should be used by the Arduino IDE and the esptool.py script. This may require modifying the library dependencies in the source code or using a different version of the library.

It is also possible that the error is being caused by some other issue, such as a conflict with another library or a problem with the Java runtime environment. In this case, you may need to further troubleshoot the problem to identify the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants