-
Notifications
You must be signed in to change notification settings - Fork 225
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
Parallel loop failing with java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer; #1613
Comments
Hello, @FredericoCoelhoNunes Could you provide us about your environment?
|
Hi @hiroyuki-sato , sorry for the delay. Here is the info:
As for a reproducible example:
A few final important notes:
Thanks!! |
Hello, @FredericoCoelhoNunes Did you setup |
Hi @hiroyuki-sato , forgot to specify that in my minimum reproducible example, but yes I did.
|
Hello, @FredericoCoelhoNunes I'll investigate it. Please use 0.9.x until fix this issue. |
No worries @hiroyuki-sato , thanks for verifying. Keep up the great work! |
@fernandomrtnz Thanks for reporting this issue! And @hiroyuki-sato Thanks for your support as always 😉 I also reproduced this issue with 0.10.1 while didn't reproduce with 0.10.0. Let me look into it. |
This exception doesn't happen with 0.10.1 built from source code. Looks like a packaging issue? |
Hmm. I checked the diff (especially around @szyn Do you still have digdag-0.10.1.jar which you built and used for the release on you laptop or somewhere? If so, could you try to reproduce this issue with it when you have time? |
I guess |
May be helpful information. |
Hmm. I compiled v0.10.1 source code using Java 11 and tested it, but I didn't reproduce this issue. This issue happened only with the released jar on my side.
I also checked
|
Oops. My test was wrong. I thought I had run the executable using Java 8, but I actually ran it with Java 11 that was the same version with the build. I reproduced this issue when using Java 8. Sorry for the confusion. |
Maybe we'd better explicitly add
With this option, I confirmed this issue isn't reproduced even with the combination of Java 11 for build and Java 8 for execution. But, of course, the easiest fix is to build with Java 8 and release as 0.10.2 😉 FYI: latest Gradle has |
Thank you for reporting this issue, I also could reproduce this by using Java8. |
Thanks, that's good to know, and I agree with you.
I think so too. Let me build with Java 8 and release it as 0.10.2 later. |
@komamitsu @yoyama @szyn Thank you for your reply. JFYI. @dmikurube 's comment on Twitter In my opinion, dropping Java 8 supports is another idea if many contributors use Java 11 mainly. |
Hello, @FredericoCoelhoNunes Digdag 0.10.2 has been released. You can update using |
Hi @hiroyuki-sato , unfortunately I won't be able to test it in the near future as I have moved to a different project. Thanks! |
Hi, @FredericoCoelhoNunes Thank you for your comment. |
@hiroyuki-sato I'd appreciate your confirmation! |
Hi, trying to run a parallel loop using Digdag latest version, and running into a cryptical Java error.
Here's the error trace:
Any help would be very appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: