Whole log is below
mvn kalix:runAll
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.bitness: 64
[INFO] os.detected.version: 13.4
[INFO] os.detected.version.major: 13
[INFO] os.detected.version.minor: 4
[INFO] os.detected.classifier: osx-x86_64
[INFO]
[INFO] ----------------------< com.example:shoppingcart >----------------------
[INFO] Building shoppingcart 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> kalix:1.3.7:runAll (default-cli) > compile @ shoppingcart >>>
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ shoppingcart ---
[INFO] Copying 3 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ shoppingcart ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< kalix:1.3.7:runAll (default-cli) < compile @ shoppingcart <<<
[INFO]
[INFO]
[INFO] --- kalix:1.3.7:runAll (default-cli) @ shoppingcart ---
10:34:50.262 INFO com.example.Main - Starting Kalix Application
10:34:50.542 WARN o.s.b.l.logback.LogbackLoggingSystem - Ignoring 'logback.configurationFile' system property. Please use 'logging.config' instead.
10:34:50.638 INFO com.example.Main - Starting Main using Java 21.0.1 with PID 72072 (/Users/yiye/workspace/shoppingcart/target/classes started by yiye in /Users/yiye/workspace/shoppingcart)
10:34:50.639 INFO com.example.Main - No active profile set, falling back to 1 default profile: "default"
10:34:51.126 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'kalix.spring.boot.KalixConfiguration' of type [kalix.spring.boot.KalixConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:34:51.565 INFO k.spring.impl.KalixSpringApplication - Registering EventSourcedEntity provider for [com.example.api.ShoppingCartEntity]
10:34:51.659 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/cart/{cartId}/add),json_body,,Vector(),UnknownFieldSet(Map()))]
10:34:51.677 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/cart/{cartId}/checkout),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.678 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/cart/{cartId}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.678 INFO k.spring.impl.KalixSpringApplication - Registering Action provider for [com.example.hello.HelloWorld]
10:34:51.704 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/hello),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.704 INFO k.spring.impl.KalixSpringApplication - Registering Action provider for [com.example.actions.ProductTotalQtyAction]
10:34:51.709 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/product/createWallet),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.710 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/product/{pid}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.710 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/product/create),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.711 INFO k.spring.impl.KalixSpringApplication - Registering ValueEntity provider for [com.example.api.WalletEntity]
10:34:51.723 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/wallet/{id}/create/{initBalance}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.724 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Patch(/wallet/{id}/deposit/{amount}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.725 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/wallet/{id}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.726 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Patch(/wallet/{id}/withdraw/{amount}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.726 INFO k.spring.impl.KalixSpringApplication - Registering Action provider for [com.example.reproduce.CustomerAction]
10:34:51.729 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/action/create/forward),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.729 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/action/create/async),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.730 INFO k.spring.impl.KalixSpringApplication - Registering Workflow provider for [com.example.workflow.TransferWorkflow]
10:34:51.735 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/transfer/{transferId}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.736 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Put(/transfer/{transferId}),json_body,,Vector(),UnknownFieldSet(Map()))]
10:34:51.736 INFO k.spring.impl.KalixSpringApplication - Registering ValueEntity provider for [com.example.reproduce.CustomerEntity]
10:34:51.738 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/{id}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.739 INFO k.spring.impl.KalixSpringApplication - Registering View provider for [com.example.view.ProductQtyById]
10:34:51.809 INFO k.j.i.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/view_product_qty_by_id/{product_id}),,,Vector(),UnknownFieldSet(Map()))]
10:34:51.853 INFO k.s.b.KalixReactiveWebServerFactory - Instantiating Kalix ReactiveWebServer
10:34:52.285 INFO k.s.b.KalixReactiveWebServerFactory - Starting Kalix ReactiveWebServer...
10:34:52.286 INFO k.spring.impl.KalixSpringApplication - Starting Kalix Application...
Container shoppingcart Created
Attaching to shoppingcart
shoppingcart | Picked up JAVA_TOOL_OPTIONS:
10:34:53.007 INFO com.example.Main - Started Main in 2.668 seconds (process running for 3.126)
shoppingcart | 18:34:53.582 INFO kalix.proxy.KalixRuntimeMain - Persistence mode disabled
shoppingcart | 18:34:54.575 INFO kalix.proxy.KalixRuntimeMain - Starting Kalix Runtime version [1.1.27]
shoppingcart | 18:34:55.270 INFO kalix.proxy.DiscoveryManager - Connecting to [host.docker.internal:8081] to discover the user service specification
10:34:55.787 INFO kalix.javasdk.impl.DiscoveryImpl - Received discovery call from [kalix-proxy-core 1.1.27] at [localhost]:[9000] supporting Kalix protocol 1.1
shoppingcart | 18:34:55.884 INFO kalix.proxy.DiscoveryManager - Received Spec from user service: service name: [], service version: [], service runtime: [OpenJDK Runtime Environment 21.0.1], protocol version: [1.1], sdk: [kalix-java-sdk-spring-1.3.7], proxy version [1.1.27],
shoppingcart | 18:34:55.888 INFO kalix.proxy.DiscoveryManager - Protocol version compatibility is configured to be ignored
shoppingcart | 18:34:55.923 INFO kalix.proxy.DiscoveryManager - Service components: Actions: [3], ValueEntities: [2], EventSourcedEntities: [1], Views: [1], WorkflowEntities: [1]
shoppingcart | 18:34:55.960 INFO kalix.proxy.DiscoveryManager - User hooks found: Vector()
shoppingcart | 18:34:56.006 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/wallet/{id}/create/{initBalance}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.046 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Patch(/wallet/{id}/deposit/{amount}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.049 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/wallet/{id}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.051 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Patch(/wallet/{id}/withdraw/{amount}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.111 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/transfer/{transferId}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.112 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Put(/transfer/{transferId}),json_body,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.139 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/{id}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.143 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/view_product_qty_by_id/{product_id}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.144 INFO k.p.h.HttpEndpointMethodDefinition - Using generated HTTP API endpoint using [HttpRule(com.example.view.ProductQtyById.KalixSyntheticMethodOnESShoppingcart,Post(/com.example.view.ProductQtyById/KalixSyntheticMethodOnESShoppingcart),*,,List(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.311 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/cart/{cartId}/add),json_body,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.312 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/cart/{cartId}/checkout),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.313 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/cart/{cartId}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.324 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/product/createWallet),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.325 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/product/{pid}),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.326 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/product/create),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.333 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Get(/hello),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.334 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/action/create/forward),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.335 INFO k.p.h.HttpEndpointMethodDefinition - Using configured HTTP API endpoint using [HttpRule(,Post(/customer/action/create/async),,,Vector(),UnknownFieldSet(Map()))]
shoppingcart | 18:34:56.477 WARN kalix.proxy.VersionCheck - Failure checking the latest [java-spring] SDK on [https://docs.kalix.io/java-spring/_attachments/latest-version.txt]. Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
shoppingcart | 18:34:56.512 INFO kalix.proxy.DiscoveryManager - Kalix Runtime started at 0.0.0.0:9000
shoppingcart | 18:34:56.513 INFO kalix.proxy.DiscoveryManager - gRPC proxy started at 0.0.0.0:9000
10:34:56.534 INFO kalix.javasdk.impl.DiscoveryImpl - Info reported from Kalix system: Service started and reachable at 0.0.0.0:9000
10:35:58.511 INFO c.example.reproduce.CustomerAction - b081ad27-6e12-4e29-84f7-471c7af16f4c
10:36:00.930 ERROR k.javasdk.impl.action.ActionsImpl - Failure during handling of command com.example.reproduce.CustomerAction.CreateForwardAsync
kalix.javasdk.impl.NullSerializationException$: Don't know how to serialize object of type null.
at kalix.javasdk.impl.NullSerializationException$.<clinit>(AnySupport.scala:478)
at kalix.javasdk.impl.JsonMessageCodec.encodeScala(JsonMessageCodec.scala:46)
at kalix.javasdk.impl.action.ActionsImpl.effectToResponse(ActionsImpl.scala:143)
at kalix.javasdk.impl.action.ActionsImpl.$anonfun$effectToResponse$2(ActionsImpl.scala:173)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)