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

Facing with concurrency issues #416

Open
minkuanlim-grabtaxi opened this issue Nov 15, 2024 · 0 comments
Open

Facing with concurrency issues #416

minkuanlim-grabtaxi opened this issue Nov 15, 2024 · 0 comments

Comments

@minkuanlim-grabtaxi
Copy link

Hi, it seems like i have been facing with concurrency issues when attempting to use the library to publish to influxdb.

gradle version: 8.2.1
talaiot version: 2.0.5

Im getting the following errors showing up sometimes

Exception in thread "pool-5-thread-1" java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1013)
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:967)
	at io.github.cdsap.talaiot.TalaiotBuildService.publish(TalaiotBuildService.kt:164)
	at io.github.cdsap.talaiot.TalaiotBuildService.close$lambda$0(TalaiotBuildService.kt:67)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

most of the time the error logs aren't really helpful and is only giving this

java.lang.IllegalStateException: Timeout waiting for concurrent jobs to complete.

Not exactly sure where the issue is coming from.

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

No branches or pull requests

1 participant