Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
error `java.lang.IllegalArgumentException: Must hint overloaded method: toArray` when running wcb #85
I followed the README instructions to install and run the tool, and I get the error shown below. My system:
Full error and stacktrace
added a commit
Nov 5, 2018
In a nutshell: this project cannot currently compile on Java 11 due to an incompatibility in a dependency of a dependency.
As a workaround, you could “simply” run the project with Java 8/9/10. (If you want to do so, I recommend
However, I wouldn’t want users of this tool to have to do this, so I’ve started a branch that adds support for building an ahead of time (AOT) compiled and self-contained uberjar of the tool. This isn’t yet ready to merge, but I’ve also created a release built from this branch from which you can download
Do you want to download that jar file and give it a try, and let me know if it works for you?
added a commit
Nov 6, 2018
referenced this issue
Nov 7, 2018
Just FYI, the release linked above has now been superseded by newer releases — which are more robust, as they’re non-pre-releases, i.e. they’re “final” or “official” releases, and they’re being built by an automated process rather than the manual steps I used to create the pre-release.
As the newer releases now include automated rendering and other improvements, I recommend downloading a newer release and giving it a try.