Skip to content

Create no persistent actor causes error during invoke request #6

Description

@sleipnir

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-09-21 10:21:32.679 ERROR 1643646 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) ~[spring-boot-2.7.0.jar:2.7.0]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:755) ~[spring-boot-2.7.0.jar:2.7.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.7.0.jar:2.7.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) ~[spring-boot-2.7.0.jar:2.7.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) ~[spring-boot-2.7.0.jar:2.7.0]
at io.eigr.spawn.example.App.main(App.java:27) ~[classes/:na]
Caused by: java.lang.RuntimeException: com.google.protobuf.InvalidProtocolBufferException: Type of the Any message does not match the given class.
at io.eigr.spawn.example.App.lambda$commandLineRunner$0(App.java:84) ~[classes/:na]
at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[na:na]
at java.base/java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:617) ~[na:na]
at io.eigr.spawn.example.App.lambda$commandLineRunner$1(App.java:65) ~[classes/:na]
at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[na:na]
at java.base/java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:617) ~[na:na]
at io.eigr.spawn.example.App.lambda$commandLineRunner$2(App.java:61) ~[classes/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) ~[spring-boot-2.7.0.jar:2.7.0]
... 5 common frames omitted
Caused by: com.google.protobuf.InvalidProtocolBufferException: Type of the Any message does not match the given class.
at com.google.protobuf.Any.unpack(Any.java:225) ~[spawn-springboot-starter-0.1.10.jar:na]
at io.eigr.spawn.springboot.starter.internal.SpawnActorController.invokeActor(SpawnActorController.java:188) ~[spawn-springboot-starter-0.1.10.jar:na]
at io.eigr.spawn.springboot.starter.internal.SpawnActorController.invoke(SpawnActorController.java:117) ~[spawn-springboot-starter-0.1.10.jar:na]
at io.eigr.spawn.springboot.starter.SpawnSystem.invoke(SpawnSystem.java:27) ~[spawn-springboot-starter-0.1.10.jar:na]
at io.eigr.spawn.example.App.lambda$commandLineRunner$0(App.java:78) ~[classes/:na]
... 12 common frames omitted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions