boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 182 forks source link

Using update causes NegatvieArrayException #572

Closed Invisible-Rabbit-Hunter closed 6 years ago

Invisible-Rabbit-Hunter commented 7 years ago

When using the update task, I either get a segfault or a lot of NegativeArraySizeExceptions. The logs are:

Could not transfer metadata boot:boot/maven-metadata.xml from/to maven-central (https://repo1.maven.org/maven2/): java.security.ProviderException: java.lang.NegativeArraySizeException
Could not transfer metadata boot:boot/maven-metadata.xml from/to clojars (https://clojars.org/repo/): java.security.ProviderException: java.lang.NegativeArraySizeException
#http://boot-clj.com
#Thu Jan 26 20:48:04 CET 2017
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.6.0
BOOT_CLOJURE_VERSION=1.7.0

When using -u, but a lot longer when using -U

martinklepsch commented 7 years ago

@Supernerd11 Hi, what operating system are you using? Maybe there's some different security configuration that causes this issue? Found this on StackOverflow which describes a similar issue.

Also can you try with latest BOOT_VERSION=2.7.1 and maybe CLOJURE_VERSION=1.8.0 — you can set these in boot.properties.

Cheers

seancorfield commented 7 years ago

I thought the latest version was still 2.7.1?

martinklepsch commented 7 years ago

@seancorfield whoops. You're right of course :) Updated my comment.

martinklepsch commented 6 years ago

I'll close this issue as there hasn't been any more information by the original reporter.