<?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[Can&#x27;t save new or existing data points - &quot;a server error has occurred&quot;]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">On my mangoES box, I've got lots of stuff configured and working, but I've just started having problems editing existing data points...<br />
Nothing else seems to be broken. Dashboards are working, values are updating etc.</p>
<p dir="auto">If I edit an existing data point and just hit save (without making any changes) - I'm seeing an error in the browser saying "a server error has occurred".<br />
I had a look in the ma.log file and I see the below.</p>
<p dir="auto">I've tried restarting mango, but this doesn't help.</p>
<p dir="auto">The last thing I did before I started seeing this was configure a mail server address in the configuration that was timing out on connections, so I then disabled it. Prior to this, everything was working fine. I'm not sure if this is related or not.</p>
<p dir="auto">Cheers!<br />
-Shaun</p>
<pre><code>ERROR 2016-11-07 13:28:51,837 (com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter:38) - DWR invocation exception 
java.lang.NullPointerException
	at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.getPoint(DataSourceEditDwr.java:111)
	at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.validatePoint(DataSourceEditDwr.java:168)
	at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.validatePoint(DataSourceEditDwr.java:159)
	at com.serotonin.m2m2.modbus.dwr.ModbusEditDwr.saveModbusPointLocator(ModbusEditDwr.java:81)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
	at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(TranslationsFilter.java:37)
	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
	at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:26)
	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
	at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermissionFilter.java:45)
	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:499)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:745)
</code></pre>
]]></description><link>https://forum.mango-os.com/topic/2532/can-t-save-new-or-existing-data-points-a-server-error-has-occurred</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 05:22:19 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2532.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Nov 2016 05:34:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t save new or existing data points - &quot;a server error has occurred&quot; on Mon, 07 Nov 2016 13:59:15 GMT]]></title><description><![CDATA[<p dir="auto">Just to update this... I had a maintenance window out of hours and updates packages with apt, then rebooted, and now its working..</p>
<p dir="auto">I don't think updating the packages is what did it, more likely it was the reboot that fixed it.</p>
<p dir="auto">Weird. Hope this helps someone else if they see similar behaviour.</p>
<p dir="auto">Cheers!<br />
-Shaun</p>
]]></description><link>https://forum.mango-os.com/post/13162</link><guid isPermaLink="true">https://forum.mango-os.com/post/13162</guid><dc:creator><![CDATA[shaun]]></dc:creator><pubDate>Mon, 07 Nov 2016 13:59:15 GMT</pubDate></item></channel></rss>