<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Grafana and java errors]]></title><description><![CDATA[<p dir="auto">Core: 2.2.15-2<br />
Web Svc: 2.2.15-2 running under Tomcat8</p>
<p dir="auto">Grafana is installed and data collector successfully configured. Alarm queries function.</p>
<p dir="auto">DCIs are visible in enumeration query, but actually trying to graph a DCI results in an error:<br />
Grafana:</p>
<pre><code>Object
xhrStatus:"complete"
request:Object
method:"GET"
url:"api/datasources/proxy/1/grafana/datacollection"
data:null
params:Object
interval:600000
from:_
to:_
targets:"[{"dci":{"name":"xxxxxxxxxx-removed","id":"190615","$$hashKey":"object:518"},"dciTarget":{"id":"20810","name":"xxxxx-removed"},"legend":"xxxxx-removed","refId":"A","type":"DCI"}]"
response:Object
description:"org.json.JSONArray.iterator()Ljava/util/Iterator;"
error:46
</code></pre>
<p dir="auto">Tomcat:</p>
<pre><code>org.netxms.websvc.WebSvcStatusService                   | Internal error
java.lang.NoSuchMethodError: org.json.JSONArray.iterator()Ljava/util/Iterator;
</code></pre>
]]></description><link>https://forum.netxms.org/topic/5990/grafana-and-java-errors</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:05:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5990.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Jun 2019 00:27:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Grafana and java errors on Thu, 13 Jun 2019 15:53:34 GMT]]></title><description><![CDATA[<p dir="auto">I narrowed the error down to the included json-20160212.jar (maven dependency?)</p>
<p dir="auto">I replaced this with json-20180813.jar</p>
<p dir="auto">json-20180813.jar works for non-table DCIs.</p>
]]></description><link>https://forum.netxms.org/post/25952</link><guid isPermaLink="true">https://forum.netxms.org/post/25952</guid><dc:creator><![CDATA[jermudgeon]]></dc:creator><pubDate>Thu, 13 Jun 2019 15:53:34 GMT</pubDate></item></channel></rss>