arduino / arduino/Arduino

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

Open
#11,795 1 comment 0 reactions 0 assignees View on GitHub
Component: IDE Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

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)
```

Contributor guide

Open the contributing guide

Research direction

Start at cc/arduino/packages/Uploader.java:178 and processing.app.debug.MessageSiphon.run(MessageSiphon.java:96, then inspect the Git build's Apache Commons Lang dependency. Reproduce an upload on Debian stable with AVR and non-AVR devices; done means the upload progress appears without the NoSuchMethodError.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.