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

#error Value out of range for int: 3375571391 #9

Open
NaurozNau opened this issue May 21, 2024 · 1 comment
Open

#error Value out of range for int: 3375571391 #9

NaurozNau opened this issue May 21, 2024 · 1 comment

Comments

@NaurozNau
Copy link

NaurozNau commented May 21, 2024

Hello clj-holmes-action maintainers,
I am receiving the following error while using this github action to scan clojure code. Any idea how it can be resolved?

Fetching rules from github Done ** ERROR: ** Exception: #error { :cause Value out of range for int: 33755713[9](https://github.com/orgname/reck/actions/runs/9160349224/job/25182762764#step:5:10)1 :via [{:type java.util.concurrent.ExecutionException :message java.lang.IllegalArgumentException: Value out of range for int: 3375571391 :at [java.util.concurrent.FutureTask report FutureTask.java 122]} {:type java.lang.IllegalArgumentException :message Value out of range for int: 3375571391 :at [clojure.lang.RT intCast RT.java 1248]}] :trace [[clojure.lang.RT intCast RT.java 1248] [clojure.lang.RT intCast RT.java 1218] [progrock.core$interval_str invokeStatic core.clj 47] [progrock.core$render invokeStatic core.clj 92] [progrock.core$print invokeStatic core.clj 98] [progrock.core$print invoke core.clj 98] [progrock.core$print invokeStatic core.clj [clj_holmes.logic.progress$add_watch_to_counter$fn__519 invoke progress.clj 10] [clojure.lang.ARef notifyWatches ARef.java 81] [clojure.lang.Atom swap Atom.java 41] [clojure.core$swap_BANG_ invokeStatic core.clj 2354] [clj_holmes.engine$check_rules_in_code_structure invokeStatic engine.clj 9] [clj_holmes.engine$scan_STAR_$fn__1238 invoke engine.clj 21] [clojure.core$pmap$fn__8467$fn__8468 invoke core.clj 7024] [clojure.core$binding_conveyor_fn$fn__5758 invoke core.clj 2032] [clojure.lang.AFn call AFn.java 18] [java.util.concurrent.FutureTask run FutureTask.java 264] [java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java [11](https://github.com/orgname/reck//actions/runs/9160349224/job/25182762764#step:5:12)28] [java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 628] [java.lang.Thread run Thread.java 829] [com.oracle.svm.core.thread.JavaThreads threadStartRoutine JavaThreads.java 596] [com.oracle.svm.core.posix.thread.PosixJavaThreads pthreadStartRoutine PosixJavaThreads.java 192]]}

@dmosorast
Copy link

To add a bit of a workaround for this issue, we've found that using a more recent version of clj-holmes gets around the error because --no-verbose mode was made the default in 92d59ed

So it seems to be something weird happening in some scenarios with the progress bar calculations.

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

No branches or pull requests

2 participants