Yep. Than it is most likely the JSON lib change.
We can fix this easily, I guess. I am currently on mobile, so cannot create an 
issue. If you have an ASF Jira Account, feel free to create an issue. 
Otherwise, I will do it later.

Gruß 
Richard 



Am 9. August 2024 12:34:15 MESZ schrieb "Dabalos, Rahmat Peter via user" 
<user@storm.apache.org>:
>Thanks for the response,  Sorry and will take note of that.
>The previous version of our storm topology is 2.5.0.
>
>From: Richard Zowalla <rich...@zowalla.com>
>Date: Friday, August 9, 2024 at 6:32 PM
>To: user@storm.apache.org <user@storm.apache.org>
>Subject: Re: Upgraded Storm to version 2.6.3 but experiencing 
>ClassCastException
>Hi,
>
>thanks. First of all: please do not cross-post to multiple lists at once, 
>thanks.
>
>I think this might be a regression from JSON Lib upgrades/changed and needs a 
>fix.
>
>From which version did you come? Just to make sure...
>
>Gruß
>Richard
>
>Am 9. August 2024 11:42:10 MESZ schrieb "Dabalos, Rahmat Peter via user" 
><user@storm.apache.org>:
>Hello,
>
>Upgraded our storm versions to 2.6.3 but having issues on startup. Here is the 
>error log:
>2024-08-07 09:30:22.749 o.a.s.u.Utils Thread-22-$mastercoord-bg0-executor[1, 
>1] [ERROR] Async loop died!
>java.lang.ClassCastException: class java.lang.Integer cannot be cast to class 
>java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base 
>of loader 'bootstrap')
>  at 
>org.apache.storm.trident.topology.MasterBatchCoordinator.getStoredCurrTransaction(MasterBatchCoordinator.java:235)
> ~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.trident.topology.MasterBatchCoordinator.open(MasterBatchCoordinator.java:87)
> ~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.executor.spout.SpoutExecutor.init(SpoutExecutor.java:142) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.executor.spout.SpoutExecutor.call(SpoutExecutor.java:152) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at org.apache.storm.executor.spout.SpoutExecutor.call(SpoutExecutor.java:50) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at org.apache.storm.utils.Utils$1.run(Utils.java:393) 
>[storm-client-2.6.3.jar:2.6.3]
>  at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
>2024-08-07 09:30:22.756 o.a.s.e.e.ReportError 
>Thread-22-$mastercoord-bg0-executor[1, 1] [ERROR] Error
>java.lang.RuntimeException: java.lang.ClassCastException: class 
>java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer 
>and java.lang.Long are in module java.base of loader 'bootstrap')
>  at org.apache.storm.utils.Utils$1.run(Utils.java:413) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
>Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be 
>cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in 
>module java.base of loader 'bootstrap')
>  at 
>org.apache.storm.trident.topology.MasterBatchCoordinator.getStoredCurrTransaction(MasterBatchCoordinator.java:235)
> ~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.trident.topology.MasterBatchCoordinator.open(MasterBatchCoordinator.java:87)
> ~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.executor.spout.SpoutExecutor.init(SpoutExecutor.java:142) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at 
>org.apache.storm.executor.spout.SpoutExecutor.call(SpoutExecutor.java:152) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at org.apache.storm.executor.spout.SpoutExecutor.call(SpoutExecutor.java:50) 
>~[storm-client-2.6.3.jar:2.6.3]
>  at org.apache.storm.utils.Utils$1.run(Utils.java:393) 
>~[storm-client-2.6.3.jar:2.6.3]
>  ... 1 more
>2024-08-07 09:30:22.788 o.a.s.u.Utils Thread-22-$mastercoord-bg0-executor[1, 
>1] [ERROR] Halting process: Worker died
>
>Best regards,
>Rahm
>
>
>-----------------------------------------------------------------
>
>ATTENTION:
>
>The information in this e-mail is confidential and only meant for the intended 
>recipient. If you are not the intended recipient, don't use or disclose it in 
>any way. Please let the sender know and delete the message immediately.
>
>-----------------------------------------------------------------
>
>-----------------------------------------------------------------
>ATTENTION:
>The information in this e-mail is confidential and only meant for the intended 
>recipient. If you are not the intended recipient, don't use or disclose it in 
>any way. Please let the sender know and delete the message immediately.
>-----------------------------------------------------------------

Reply via email to