afPodBuilderExt icon

afPodBuilderExt

Transform your Axon functions, Views, and Apps, into custom SkySpark extensions
afPodBuilderExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 10 watchers.


Getting an error when I build a pod, 'Coerce to non-null'
Samuel Nelson68 mins ago

Could you please help me sort this. I am probably doing something wrong :) Thanks!

Here are the details ...

axon::EvalErr: Func failed: afPodBuilder_callSkyJax(Dict msg); args: (Dict3)
  sys::Err: Could not call afPodBuilderExt::PodBuilderFuncsImpl.buildPod - Coerce   to non-null [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:154)
  skyarcd::HttpRootMod.onService (HttpMod.fan:132)
  wisp::WispActor.process (WispActor.fan:81)
  wisp::WispActor.receive (WispActor.fan:38)
  concurrent::Actor._dispatch (Actor.java:293)
  concurrent::Actor._work (Actor.java:248)
  concurrent::ThreadPool$Worker.run (ThreadPool.java:273)
Cause:
  sys::Err: Could not call afPodBuilderExt::PodBuilderFuncsImpl.buildPod - Coerce      to non-null
    afPodBuilderExt::SkyJaxServerFom.call (SkyJaxServer.fan:101)
    afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax (PodBuilderLib.fan:12)
    java.lang.reflect.Method.invoke (Unknown)
    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:202)
    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:154)
    skyarcd::HttpRootMod.onService (HttpMod.fan:132)
    wisp::WispActor.process (WispActor.fan:81)
    wisp::WispActor.receive (WispActor.fan:38)
    concurrent::Actor._dispatch (Actor.java:293)
    concurrent::Actor._work (Actor.java:248)
    concurrent::ThreadPool$Worker.run (ThreadPool.java:273)
  Cause:
    sys::NullErr: Coerce to non-null
      fan.sys.NullErr.makeCoerce (NullErr.java:38)
      fan.sys.List.each (List.java:610)
      haystack::TrioWriter.writeAllDicts (TrioWriter.fan:202)
      afPodBuilderExt::PodManifest.toTrioStr (PodManifest.fan:195)
      afPodBuilderExt::PodManifest.updateTrioFile (PodManifest.fan:152)
      afPodBuilderExt::PodManifest.build (PodManifest.fan:291)
      fan.sys.List.each (List.java:610)
      afPodBuilderExt::PodManifest.build (PodManifest.fan:290)
      afPodBuilderExt::PodBuilderFuncsImpl.buildPod (PodBuilderFuncs.fan:156)
      java.lang.reflect.Method.invoke (Unknown)
      fan.sys.Method.invoke (Method.java:573)
      fan.sys.Method$MethodFunc.callOn (Method.java:244)
      fan.sys.Method.callOn (Method.java:139)
      afPodBuilderExt::SkyJaxServerFom.call (SkyJaxServer.fan:100)
      afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax   (PodBuilderLib.fan:12)
      java.lang.reflect.Method.invoke (Unknown)
      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:202)
      axon::AxonContext.callInNewFrame (AxonContext.fan)
      axon::FantomFn.callx (FantomFn.fan:113)
      axon::Fn.callLazy (Fn.fan:84)
      axon::Call.eval (Call.fan:39)
      10 More...
Samuel Nelson39 mins ago

Hi again Henry,

I have this sorted now. Sorry for the trouble. I had cleared out the err incidents occurring on the Folio tab in relation to func.trio, but had not noticed there was one for app.trio. After I took care of that, everything was good again.

Cheers, Samuel


Log in or Sign up to post a reply.