<?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[Server-side graphical view throws error, null pointer]]></title><description><![CDATA[<p dir="auto">Hello -</p>
<p dir="auto">I'm unable to add a server-side component.  The error "Error:" pops up when selecting a point.  I've tried numerous points, the same points work when choosing analog graphic, other components.</p>
<p dir="auto">Running linux, java 1.6, tomcat 6, latest stable.  Below is stack trace from catalina.out</p>
<p dir="auto">WARN  2009-10-04 14:40:20,265 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - --Erroring: batchId[7] message[java.lang.NullPointerException]<br />
ERROR 2009-10-04 14:40:20,641 (com.serotonin.web.dwr.ExceptionDetectionFilter.doFilter:29) - DWR invocation exception<br />
java.lang.NullPointerException<br />
at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)</p>
<p dir="auto">...</p>
<p dir="auto">WARN  2009-10-04 14:40:20,644 (org.directwebremoting.util.CommonsLoggingOutput.warn:67) - Method execution failed:<br />
java.lang.NullPointerException<br />
at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)</p>
<p dir="auto">...</p>
]]></description><link>https://forum.mango-os.com/topic/199/server-side-graphical-view-throws-error-null-pointer</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 05:29:14 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/199.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Oct 2009 18:59:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Server-side graphical view throws error, null pointer on Mon, 05 Oct 2009 00:30:59 GMT]]></title><description><![CDATA[<p dir="auto">I meant create a "meta" data source, create a point in it, and give it any old script to give the point a value.</p>
<p dir="auto">The only thing potentially wrong that i could see in the code is possible failure to create the Javascript engine, which would be an environmental thing, probably to do with the JVM. Of course, if you're not using the most current Mango version (1.6.4) that could be an issue too.</p>
]]></description><link>https://forum.mango-os.com/post/2733</link><guid isPermaLink="true">https://forum.mango-os.com/post/2733</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Mon, 05 Oct 2009 00:30:59 GMT</pubDate></item><item><title><![CDATA[Reply to Server-side graphical view throws error, null pointer on Sun, 04 Oct 2009 23:54:05 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, but what do you mean "get meta points to work"?  RE JavaScript environment, I tried on XP IE 7, MAC OS X with Safari and Firefox</p>
<p dir="auto">I've been playing around pretty heavy with point hierarchy, I will create a new data source and data point and try again.</p>
]]></description><link>https://forum.mango-os.com/post/2732</link><guid isPermaLink="true">https://forum.mango-os.com/post/2732</guid><dc:creator><![CDATA[djbakerman]]></dc:creator><pubDate>Sun, 04 Oct 2009 23:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to Server-side graphical view throws error, null pointer on Sun, 04 Oct 2009 20:17:14 GMT]]></title><description><![CDATA[<p dir="auto">The code at that line looks fine. Can you get meta points to work? If not, there's a problem with Javascript execution in your environment.</p>
]]></description><link>https://forum.mango-os.com/post/2730</link><guid isPermaLink="true">https://forum.mango-os.com/post/2730</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Sun, 04 Oct 2009 20:17:14 GMT</pubDate></item></channel></rss>