pekko icon indicating copy to clipboard operation
pekko copied to clipboard

Scala 3.3 docs.dispatcher.DispatcherDocSpec java.lang.IllegalArgumentException: no matching constructor found on

Open He-Pin opened this issue 1 year ago • 4 comments

[01-30 07:45:26.559] [info] - using Identify *** FAILED *** (0 milliseconds)
[01-30 07:45:26.559] [info]   java.lang.IllegalArgumentException: no matching constructor found on class docs.actor.ActorDocSpec$$anon$32$Follower for arguments [class docs.actor.ActorDocSpec$$anon$32]
[01-30 07:45:26.559] [info]   at org.apache.pekko.util.Reflect$.error$1(Reflect.scala:98)
[01-30 07:45:26.559] [info]   at org.apache.pekko.util.Reflect$.findConstructor(Reflect.scala:122)
[01-30 07:45:26.559] [info]   at org.apache.pekko.actor.ArgsReflectConstructor.<init>(IndirectActorProducer.scala:109)
[01-30 07:45:26.559] [info]   at org.apache.pekko.actor.IndirectActorProducer$.apply(IndirectActorProducer.scala:74)
[01-30 07:45:26.559] [info]   at org.apache.pekko.actor.Props.producer(Props.scala:141)
[01-30 07:45:26.560] [info]   at org.apache.pekko.actor.Props.<init>(Props.scala:154)
[01-30 07:45:26.560] [info]   at org.apache.pekko.actor.Props$.apply(Props.scala:123)

refs: https://github.com/apache/incubator-pekko/actions/runs/7707379313/job/21004465786#step:7:35225

He-Pin avatar Jan 30 '24 08:01 He-Pin

This also affects the 1.0.x branch - i.e this is not a new issue

pjfanning avatar Feb 12 '24 13:02 pjfanning

Can we leave this open until we fix 1.0.x branch? But we should wait a day or 2 before merging to 1.0.x. The issue is this code is not properly tested in PR builds - so we need the nightly build to run to test this.

pjfanning avatar Mar 23 '24 18:03 pjfanning

I tested with manually trigger, it works , but genjavadoc does not work on scala 3.

OK, let's leave it open before backported to 1.0.x

He-Pin avatar Mar 23 '24 18:03 He-Pin

looks like the main branch nightly build is better so we should backport this change to 1.0.x

pjfanning avatar Mar 24 '24 01:03 pjfanning