#354 Func failed: haystackLearn

Rusty Khatman Fri 25 Dec 2015

I am trying to pull in points from niagara side into skyspark and I get this error on new points that I want.

proj::EvalErr: Func failed: haystackLearn(Obj conn,Obj arg); args: (FolioDict,Str)

haystack::CallErr: java.lang.ExceptionInInitializerError [eval:1]

java.lang.ExceptionInInitializerError

at nhaystack.server.TagManager.findUnit(TagManager.java:973)
at nhaystack.server.TagManager.addPointKindTags(TagManager.java:931)
at nhaystack.server.TagManager.createPointTags(TagManager.java:579)
at nhaystack.server.TagManager.createComponentTags(TagManager.java:274)
at nhaystack.server.Nav.makeCompNavRec(Nav.java:253)
at nhaystack.server.Nav.onCompNav(Nav.java:234)
at nhaystack.server.Nav.onNav(Nav.java:78)
at nhaystack.server.NHServer.onNav(NHServer.java:192)
at org.projecthaystack.server.HServer.nav(HServer.java:145)
at org.projecthaystack.server.NavOp.onService(HStdOps.java:181)
at org.projecthaystack.server.HOp.onService(HOp.java:49)
at org.projecthaystack.server.HServlet.onService(HServlet.java:89)
at org.projecthaystack.server.HServlet.doPost(HServlet.java:52)
at nhaystack.server.BNHaystackServlet.doPost(BNHaystackServlet.java:93)
at javax.baja.web.BWebServlet.service(BWebServlet.java:134)
at com.tridium.web.WebProcess.serviceWebServlet(WebProcess.java:517)
at com.tridium.web.WebProcess.service(WebProcess.java:110)
at com.tridium.web.SysServlet.service(SysServlet.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:805)
at com.tridium.httpd.ServiceThread.handleRequest(ServiceThread.java:356)
at com.tridium.httpd.ServiceThread.run(ServiceThread.java:109)
Caused by: javax.baja.sys.BajaRuntimeException

at nhaystack.res.Resources.<clinit>(Resources.java:64)
... 21 more
Caused by: javax.baja.sys.BajaRuntimeException: Duplicate symbol: ���

at nhaystack.res.Resources.loadUnit(Resources.java:161)
at nhaystack.res.Resources.loadUnits(Resources.java:142)
at nhaystack.res.Resources.<clinit>(Resources.java:59)
... 21 more
=== Fantom Trace === proj::EvalErr: Func failed: haystackLearn(Obj conn,Obj arg); args: (FolioDict,Str)

haystack::CallErr: java.lang.ExceptionInInitializerError [eval:1]
proj::FanSysFunc.call (SysFunc.fan:105)
proj::Fn.callLazy (Fn.fan:55)
proj::Call.eval (Call.fan:38)
proj::Context.evalExpr (Context.fan:298)
proj::Context.evalAt (Context.fan:290)
proj::Context.eval (Context.fan:248)
proj::ApiMod.evalAllExpr (ApiMod.fan:257)
proj::ApiMod.evalAll (ApiMod.fan:219)
fan.sys.List.each (List.java:588)
haystack::GbGrid.each (GridBuilder.fan:246)
proj::ApiMod.evalAll (ApiMod.fan:215)
proj::ApiMod.onService (ApiMod.fan:94)
proj::SkySparkMod.onService (SkySparkMod.fan:179)
wisp::WispActor.process (WispActor.fan:82)
wisp::WispActor.receive (WispActor.fan:48)
concurrent::Actor._dispatch (Actor.java:228)
concurrent::Actor._work (Actor.java:199)
concurrent::ThreadPool$Worker.run (ThreadPool.java:262)
Cause:

haystack::CallErr: java.lang.ExceptionInInitializerError
  concurrent::Future.get (Future.java:100)
  connExt::ConnActor.learn (ConnActor.fan:64)
  haystackExt::HaystackLib.haystackLearn (HaystackLib.fan:223)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:559)
  fan.sys.Method$MethodFunc.callList (Method.java:198)
  fan.sys.Method.callList (Method.java:138)
  proj::FanSysFunc.doCall (SysFunc.fan:112)
  proj::Context.doCall (Context.fan:506)
  proj::FanSysFunc.call (SysFunc.fan:101)
  proj::Fn.callLazy (Fn.fan:55)
  proj::Call.eval (Call.fan:38)
  proj::Context.evalExpr (Context.fan:298)
  proj::Context.evalAt (Context.fan:290)
  proj::Context.eval (Context.fan:248)
  proj::ApiMod.evalAllExpr (ApiMod.fan:257)
  proj::ApiMod.evalAll (ApiMod.fan:219)
  fan.sys.List.each (List.java:588)
  haystack::GbGrid.each (GridBuilder.fan:246)
  proj::ApiMod.evalAll (ApiMod.fan:215)
  proj::ApiMod.onService (ApiMod.fan:94)
  proj::SkySparkMod.onService (SkySparkMod.fan:179)
  wisp::WispActor.process (WispActor.fan:82)
  wisp::WispActor.receive (WispActor.fan:48)
  concurrent::Actor._dispatch (Actor.java:228)
  2 More...
  haystack::CallErr: java.lang.ExceptionInInitializerError
    haystack::Client.call (Client.fan:225)
    haystack::Client.call (Client.fan)
    haystackExt::HaystackConn.onLearn (HaystackConn.fan:574)
    connExt::Conn.receive (Conn.fan:322)
    haystackExt::HaystackConn.receive (HaystackConn.fan:44)
    connExt::ConnActor.receive (ConnActor.fan:131)
    concurrent::Actor._dispatch (Actor.java:228)
    concurrent::Actor._work (Actor.java:199)
    concurrent::ThreadPool$Worker.run (ThreadPool.java:262)

Mike Jarmy Mon 28 Dec 2015

Now that is weird. It appears to be an internal error loading the units.txt file, which should be "impossible". Can you email me your nhaystack jar file?

Login or Signup to reply.