#247 Temperature Slot Error

Todd Gibson Thu 15 Jan 2015

Niagara AX Supervisor: 3.8.38.2 nHaystack: 1.2.4

I'm running into an error when trying to open the "haystack" slot for temperature points to apply tags. I'm waiting for the Points Property Sheet to full load prior to attempting to click on the slot. Other Numeric Points that have Facets other than temperature are working fine. Any thoughts are appreciated.

The Error is: Could not invoke the command "null".

These are the Details

javax.baja.sys.BajaRuntimeException: Cannot find Unit for symbol '°F'.
   at nhaystack.res.Resources.getSymbolUnit(Resources.java:271)
   at nhaystack.ui.Row.makeStrFE(Row.java:213)
   at nhaystack.ui.Row.makeValueFE(Row.java:167)
   at nhaystack.ui.Row.<init>(Row.java:40)
   at nhaystack.ui.BHDictEditor.loadMainGrid(BHDictEditor.java:140)
   at nhaystack.ui.BHDictEditor.<init>(BHDictEditor.java:124)
   at nhaystack.ui.BHDictEditorGroup.<init>(BHDictEditorGroup.java:119)
   at nhaystack.ui.BHDictFE.edit(BHDictFE.java:97)
   at nhaystack.ui.BHDictFE.access$1(BHDictFE.java:30)
   at nhaystack.ui.BHDictFE$Popup.doInvoke(BHDictFE.java:92)
   at javax.baja.ui.Command.doInvoke(Command.java:313)
   at javax.baja.ui.Command.invoke(Command.java:283)
   at javax.baja.ui.BButton.doInvokeAction(BButton.java:149)
   at javax.baja.ui.BAbstractButton.mouseReleased(BAbstractButton.java:556)
   at javax.baja.ui.BWidget.fireMouseEvent(BWidget.java:1237)
   at com.tridium.ui.awt.MouseManager.fire(MouseManager.java:305)
   at com.tridium.ui.awt.MouseManager.fire(MouseManager.java:279)
   at com.tridium.ui.awt.MouseManager.released(MouseManager.java:115)
   at com.tridium.ui.awt.MouseManager.process(MouseManager.java:88)

Mike Jarmy Fri 16 Jan 2015

Todd:

I overlooked this post yesterday, or I would have responded sooner.

That is actually a rather odd error. There must be some strange problem with the encoding of the string in the haystack slot or something.

If you go to the slotSheet, delete the haystack slot, add the slot back in, and edit it again, it should be OK. Which doesn't really explain how it got that way in the first place, I'm a bit stumped on that.

Todd Gibson Fri 16 Jan 2015

Mike,

I deleted/added the haystack slot and it gave the same error. The odd thing, to me at least, is that when I bring my Points and Histories into SkySpark the default tags below are there with the correct values...?

  • his (and all added tags after a His sync)
  • kind
  • maxVal & minVal
  • point
  • precision
  • siteRef
  • equipRef
  • unit

unit is the strange one to me since that was what the error was about in Niagara. And unit in SkySpark has the correct value of °F.

Seem like maybe a one off issue so I'll just do the extra tagging in SkySpark unless you'd like me try something else.

Mike Jarmy Fri 16 Jan 2015

Well if you've got a workaround I guess that's OK for now. This still kinda baffles me though.

Todd Gibson Fri 16 Jan 2015

Mike, I'm also running into an error with pressure Points. Below are the Details in Niagara. The Niagara Facets are in/w.c. The unit shows up correctly in SkySpark as inH₂O. Not sure if this helps any.

javax.baja.sys.BajaRuntimeException: Cannot find Unit for symbol 'inH₂O'.
   at nhaystack.res.Resources.getSymbolUnit(Resources.java:271)
   at nhaystack.ui.Row.makeStrFE(Row.java:213)
   at nhaystack.ui.Row.makeValueFE(Row.java:167)
   at nhaystack.ui.Row.<init>(Row.java:40)
   at nhaystack.ui.BHDictEditor.loadMainGrid(BHDictEditor.java:140)
   at nhaystack.ui.BHDictEditor.<init>(BHDictEditor.java:124)
   at nhaystack.ui.BHDictEditorGroup.<init>(BHDictEditorGroup.java:119)
   at nhaystack.ui.BHDictFE.edit(BHDictFE.java:97)
   at nhaystack.ui.BHDictFE.access$1(BHDictFE.java:30)
   at nhaystack.ui.BHDictFE$Popup.doInvoke(BHDictFE.java:92)
   at javax.baja.ui.Command.doInvoke(Command.java:313)
   at javax.baja.ui.Command.invoke(Command.java:283)
   at javax.baja.ui.BButton.doInvokeAction(BButton.java:149)
   at javax.baja.ui.BAbstractButton.mouseReleased(BAbstractButton.java:556)
   at javax.baja.ui.BWidget.fireMouseEvent(BWidget.java:1237)
   at com.tridium.ui.awt.MouseManager.fire(MouseManager.java:305)
   at com.tridium.ui.awt.MouseManager.fire(MouseManager.java:279)
   at com.tridium.ui.awt.MouseManager.released(MouseManager.java:115)
   at com.tridium.ui.awt.MouseManager.process(MouseManager.java:88)

Mike Jarmy Mon 19 Jan 2015

Can you create a small, generic config.bog that reproduces the problem, and send it to me? mikej at j2inn dot com

Login or Signup to reply.