# IllegalArgumentException in sonar scanner 5.0.0.4389 within findbugs 4.2.9

**URL:** <https://community.sonarsource.com/t/illegalargumentexception-in-sonar-scanner-5-0-0-4389-within-findbugs-4-2-9/131051>\
**Category:** SonarQube Server / Community Build\
**Tags:** scanner\
**Created:** [November 25, 2024, 2:10pm UTC](https://community.sonarsource.com/t/illegalargumentexception-in-sonar-scanner-5-0-0-4389-within-findbugs-4-2-9/131051 "2024-11-25T14:10:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankleja](https://avatars.discourse-cdn.com/v4/letter/f/e95f7d/32.png) [@frankleja](https://community.sonarsource.com/u/frankleja)\
**Post date:** [November 25, 2024, 2:10pm UTC](https://community.sonarsource.com/t/illegalargumentexception-in-sonar-scanner-5-0-0-4389-within-findbugs-4-2-9/131051/1 "2024-11-25T14:10:22Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)  
\*\* Community Edition - Version 9.9.3 (build 79811)  
\*\* sonar scanner 5.0.0.4389  
\*\* findbugs 4.2.9

- how is SonarQube deployed: zip, Docker, Helm  
\*\* unknown

- what are you trying to achieve  
\*\* scanner fails on one class for 20 findbug detectors

- what have you tried so far to achieve this  
\*\* source I cannot share, but error message does not give any hint, what causes the IAEs.  
\*\* no idea what I need to change in the source code to get rid of these 20 errors in scanner log.

**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**  
[sonar-scanner-java-findbugs-exception-log.txt](https://community.sonarsource.com/uploads/short-url/mSzT2dm54pbPDDtDVgOC98U99Ih.txt) (75.6 KB)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [November 26, 2024, 8:04am UTC](https://community.sonarsource.com/t/illegalargumentexception-in-sonar-scanner-5-0-0-4389-within-findbugs-4-2-9/131051/2 "2024-11-26T08:04:23Z")

</div>

Hey there.

It looks like the issue is coming from [GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube](https://github.com/spotbugs/sonar-findbugs)

I’d suggest raising an issue with the maintainer.

---

<div class="post-metadata">

**Author:** ![frankleja](https://avatars.discourse-cdn.com/v4/letter/f/e95f7d/32.png) [@frankleja](https://community.sonarsource.com/u/frankleja)\
**Post date:** [November 26, 2024, 8:52am UTC](https://community.sonarsource.com/t/illegalargumentexception-in-sonar-scanner-5-0-0-4389-within-findbugs-4-2-9/131051/3 "2024-11-26T08:52:04Z")

</div>

> <https://github.com/spotbugs/sonar-findbugs/issues/1083>
>
> \## Issue Description
> 
> Sonar scanner raises IllegalArgumentException for 20 fin…dbugs detectors for one class. The error message "can't push void" does not help me to see the reason. Therefore I cannot fix the class source code.
> 
> See log extract.
> \[sonar-scanner-java-findbugs-exception-log.txt\](https://github.com/user-attachments/files/17916506/sonar-scanner-java-findbugs-exception-log.txt)
> 
> 
> \## Environment
> 
> 
> 
> | Component | Version |
> | ------------------ | ------- |
> | SonarQube | Community Edition - Version 9.9.3 (build 79811) |
> | sonar scanner | 5.0.0.4389 |
> | Sonar-FindBugs | findbugs 4.2.9 |
> | Maven | mvnw 3.9.9 |
> | Java | RedHat\_JDK17.0.5.0.8 |
