Closed mdedetrich closed 2 weeks ago
For the record, what version of Pekko are you using? Ideally, this should be tried with a Pekko 1.0 release (eg 1.0.3) and 1.1.0-M1 - so that we know how long this has been an issue.
I'm using one of the latest 1.1.0-M1 snapshots but I don't think this part of the code has been touched since the inception of the fork
I am closing this because the error with PEBCAK, instead of using Concat::create
(which is what you should be using) I instead had Concat.create()
. The former is just passing a function reference which means the size
arg is correctly passed into Concat.create(arg)
where as the latter ignores the size arg (hence creating the index out of bounds exception).
There is an argument to be made that we should try and catch the IndexOutOfBoundsException
and rethrow another exception with a more helpful error message, @pjfanning wdyt?
In any case will close the issue, sorry for the circus.
I am closing this because the error with PEBCAK, instead of using
Concat::create
(which is what you should be using) I instead hadConcat.create()
. The former is just passing a function reference which means thesize
arg is correctly passed intoConcat.create(arg)
where as the latter ignores the size arg (hence creating the index out of bounds exception).There is an argument to be made that we should try and catch the
IndexOutOfBoundsException
and rethrow another exception with a more helpful error message, @pjfanning wdyt?In any case will close the issue, sorry for the circus.
Seems like a good idea to try to add more informative exception messages.
I am having an issue where
Source.combine
is failing for aList
ofSource
's, throwing this exception. In this specific case theSource
happens to be 6 elements long, currently trying to diagnose what is causing the issue (as you can see the exception isn't too helpful)