u'err': u'\u2713',
u'errTrace': u'java.lang.ClassCastException: org.projecthaystack.HStr\n at org.projecthaystack.server.HOp.valToId(HOp.java)\n at org.projecthaystack.server.HisReadOp.onService(H
Service(HOp.java)\n at org.projecthaystack.server.HServlet.onService(HServlet.java)\n at org.projecthaystack.server.HServlet.doGet(HServlet.java)\n at nhaystack.server.BNHaystackServlet.d ebServlet.service(BWebServlet.java)\n at com.tridium.web.WebProcess.serviceWebServlet(WebProcess.java)\n at com.tridium.web.WebProcess.service(WebProcess.java)\n at com.tridium.web.SysSer tp.HttpServlet.service(HttpServlet.java)\n at com.tridium.httpd.ServiceThread.handleRequest(ServiceThread.java)\n at com.tridium.httpd.ServiceThread.run(ServiceThread.java)\n',
u'ver': u'2.0'},
u'rows': []}
Any help with this one would be great. I'm using version 1.2.5 on an AX 3.6 Station. Again, all other devices appear to communicate just fine (by fine I mean the json object returned has histories with my defined range).
Best, Brandon Fowler
Mike JarmyMon 15 Jun 2015
What does the console output look like on the station side when the error occurs? (Application Director in Workbench). The stack trace on that side will give us line numbers.
Brandon FowlerMon 15 Jun 2015
I believe I found the issue. My reference to the id in my get requests were S.SiteName+filter and should have been @S.Sitename+filter missing the @ symbol. Thanks for the reply.
Brandon Fowler Fri 12 Jun 2015
Most of the equipment I can read with the hisRead OP, but there are a few that are returning me the following json object.
{u'cols': [{u'name': u'empty'}],
u'meta': {u'dis': u'java.lang.ClassCastException: org.projecthaystack.HStr',
Service(HOp.java)\n at org.projecthaystack.server.HServlet.onService(HServlet.java)\n at org.projecthaystack.server.HServlet.doGet(HServlet.java)\n at nhaystack.server.BNHaystackServlet.d ebServlet.service(BWebServlet.java)\n at com.tridium.web.WebProcess.serviceWebServlet(WebProcess.java)\n at com.tridium.web.WebProcess.service(WebProcess.java)\n at com.tridium.web.SysSer tp.HttpServlet.service(HttpServlet.java)\n at com.tridium.httpd.ServiceThread.handleRequest(ServiceThread.java)\n at com.tridium.httpd.ServiceThread.run(ServiceThread.java)\n',
u'rows': []}
Any help with this one would be great. I'm using version 1.2.5 on an AX 3.6 Station. Again, all other devices appear to communicate just fine (by fine I mean the json object returned has histories with my defined range).
Best, Brandon Fowler
Mike Jarmy Mon 15 Jun 2015
What does the console output look like on the station side when the error occurs? (Application Director in Workbench). The stack trace on that side will give us line numbers.
Brandon Fowler Mon 15 Jun 2015
I believe I found the issue. My reference to the id in my get requests were
S.SiteName
+filter and should have been@S.Sitename
+filter missing the @ symbol. Thanks for the reply.