I'm unable to bundle Axon functions into my pod. It looks like it's loading with the below error. I'm using the full version of PodBuilder with SkySpark (Linux) 3.1.4.
axon::EvalErr: Func failed: afPodBuilder_callSkyJax(Dict msg); args: (Dict3)
sys::Err: Could not call afPodBuilderExt::PodBuilderFuncsImpl.listRecs - java.lang.ClassCastException: class fan.haystack.Marker cannot be cast to class java.lang.String (fan.haystack.Marker is in unnamed module of loader fan.sys.FanClassLoader @1e127982; java.lang.String is in module java.base of loader 'bootstrap') [eval:1] axon::FantomFn.callx (FantomFn.fan:117) axon::Fn.callLazy (Fn.fan:84) axon::Call.eval (Call.fan:39) skyarcd::Context.evalOrReadAll (Context.fan:117) hx::HxEvalOp.onRequest (HxApiOp.fan:193) hx::HxApiOp.onService (HxApiOp.fan:41) skyarcd::ApiWebMod.onService (ApiMod.fan:150) skyarcd::HttpRootMod.onService (HttpMod.fan:122) wisp::WispActor.process (WispActor.fan:80) wisp::WispActor.receive (WispActor.fan:38) concurrent::Actor._dispatch (Actor.java:274) concurrent::Actor._work (Actor.java:229) concurrent::ThreadPool$Worker.run (ThreadPool.java:273)
Cause:
sys::Err: Could not call afPodBuilderExt::PodBuilderFuncsImpl.listRecs - java.lang.ClassCastException: class fan.haystack.Marker cannot be cast to class java.lang.String (fan.haystack.Marker is in unnamed module of loader fan.sys.FanClassLoader @1e127982; java.lang.String is in module java.base of loader 'bootstrap') afPodBuilderExt::SkyJaxServer.call (SkyJaxServer.fan:86) afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax (PodBuilderLib.fan:12) jdk.internal.reflect.GeneratedMethodAccessor261.invoke (Unknown) jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke (Method.java:568) fan.sys.Method.invoke (Method.java:573) fan.sys.Method$MethodFunc.callList (Method.java:212) fan.sys.Method.callList (Method.java:138) axon::FantomFn.doCall (FantomFn.fan:125) axon::AxonContext.callInNewFrame (AxonContext.fan:153) axon::AxonContext.callInNewFrame (AxonContext.fan) axon::FantomFn.callx (FantomFn.fan:113) axon::Fn.callLazy (Fn.fan:84) axon::Call.eval (Call.fan:39) skyarcd::Context.evalOrReadAll (Context.fan:117) hx::HxEvalOp.onRequest (HxApiOp.fan:193) hx::HxApiOp.onService (HxApiOp.fan:41) skyarcd::ApiWebMod.onService (ApiMod.fan:150) skyarcd::HttpRootMod.onService (HttpMod.fan:122) wisp::WispActor.process (WispActor.fan:80) wisp::WispActor.receive (WispActor.fan:38) concurrent::Actor._dispatch (Actor.java:274) concurrent::Actor._work (Actor.java:229) concurrent::ThreadPool$Worker.run (ThreadPool.java:273) Cause: sys::CastErr: java.lang.ClassCastException: class fan.haystack.Marker cannot be cast to class java.lang.String (fan.haystack.Marker is in unnamed module of loader fan.sys.FanClassLoader @1e127982; java.lang.String is in module java.base of loader 'bootstrap') afPodBuilderExt::PodTrioFile.toPodRec (PodTrioFile.fan:50) afPodBuilderExt::PodTrioRec.make$ (PodTrioFile.fan:78) afPodBuilderExt::PodTrioRec.make (PodTrioFile.fan:78) afPodBuilderExt::PodTrioFile.toPodRec (PodTrioFile.fan:44) afPodBuilderExt::PodManifest.listRecs (PodManifest.fan:115) fan.sys.Func$Indirect1.call (Func.java:145) haystack::Grid.mapToList (Grid.fan:415) fan.sys.List.each (List.java:609) haystack::GbGrid.each (GridBuilder.fan:393) haystack::Grid$.mapToList (Grid.fan:415) haystack::GbGrid.mapToList (GridBuilder.fan:371) afPodBuilderExt::PodManifest.listRecs (PodManifest.fan:114) afPodBuilderExt::PodBuilderFuncsImpl.listRecs (PodBuilderFuncs.fan:164) jdk.internal.reflect.GeneratedMethodAccessor332.invoke (Unknown) jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke (Method.java:568) fan.sys.Method.invoke (Method.java:573) fan.sys.Method$MethodFunc.callOn (Method.java:244) fan.sys.Method.callOn (Method.java:139) afPodBuilderExt::SkyJaxServer.call (SkyJaxServer.fan:85) afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax (PodBuilderLib.fan:12) jdk.internal.reflect.GeneratedMethodAccessor261.invoke (Unknown) jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke (Method.java:568) fan.sys.Method.invoke (Method.java:573) 19 More...