This page last changed on Apr 09, 2015 by laithsaid.

OpenRemote 2.0 How To - HTTP Protocol (http://openremote.org/display/docs/OpenRemote+2.0+How+To+-+HTTP+Protocol) works fine on OpenRemote 2.1.0 installed on Windows PC, but the exact same design does not work on OpenRemote 2.0.1 installed on Synology DS213.

Steps:

  • Implemented the example according to the How To
  • Installed OpenRemote-2.1.0 on Windows computer. Logged in with my OpenRemote account and syncronized
  • Tested on Android mobile, the temperature is shown correctly
  • Installed OpenRemote-2.0.1 on DS213. It is working fine and I could start the designed and login my account
  • Started the controller from DS213 and logged in my account and syncronized ... All good
  • Selected OpenRemote controller on DS213 (instead the one on the PC), the frame is shown but the temperature is not parsed correctly, therefore not read is shown on the mobile
  • Changed the OpenRemote controoler to the PC, and I can see the temperature correctly.

So it is very obvious that parsing the xml response is not working on Synology version.

Can anyone please help. Is Synology supported or not?

Could you look at the logfiles on the synology and let us know if you see any errors?

Posted by mredeker at Apr 10, 2015 08:26

Thanks for your reply.

Below is the log. I followed these steps to make the log as useful as possible.

  • Synchronized the design again by starting OpenRemote Controller and login.
  • Started OpenRemote on my mobile and checked the readout. It stated N/A which is the default value of the readout fail
  • SSH to synology and dump the log.

The log below starts around the time where I made the synchronization (first step above).
I can see a NullPointerException and the error "Could not perform xpath evaluation" due to that exception.
Please let me know if you need me to do any more debugging or test anything.

dev.log:
2015-04-10 22:00:02,544 INFO HTTP\-Thread\-30: Querying changed state from ChangedStatus table...
2015-04-10 22:00:02,545 INFO HTTP\-Thread\-30: Found: [device => 357634058817920, sensorIDs => 106906218] in ChangedStatus table.
2015-04-10 22:00:02,545 INFO HTTP\-Thread\-30: ChangedStatusRecord:357634058817920-106906218 sensorID:106906218 statusChangedSensorID:[]Waiting...
2015-04-10 22:00:09,270 INFO HTTP\-Thread\-35: Querying changed state from ChangedStatus table...
2015-04-10 22:00:09,270 INFO HTTP\-Thread\-35: Found: [device => 357634058817920, sensorIDs => 106906218] in ChangedStatus table.
2015-04-10 22:00:09,270 INFO HTTP\-Thread\-35: ChangedStatusRecord:357634058817920-106906218 sensorID:106906218 statusChangedSensorID:[]Waiting...
2015-04-10 22:00:26,738 ERROR HTTP\-Thread\-24: Unable to store user credentials. Background API requests will not be able to authenticate: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
org.openremote.security.KeyManager$KeyManagerException: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
at org.openremote.security.PasswordManager.add(PasswordManager.java:373)
at org.openremote.security.PasswordManager.addPassword(PasswordManager.java:185)
at org.openremote.controller.service.Deployer$BeehiveConnection.storeCredentials(Deployer.java:1665)
at org.openremote.controller.service.Deployer$BeehiveConnection.downloadZip(Deployer.java:1573)
at org.openremote.controller.service.Deployer$BeehiveConnection.access$200(Deployer.java:1470)
at org.openremote.controller.service.Deployer.deployFromOnline(Deployer.java:550)
at org.openremote.controller.action.ConfigManageController.syncOnline(ConfigManageController.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:434)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:372)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.KeyStoreException: java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source)
at java.security.KeyStoreSpi.engineSetEntry(KeyStoreSpi.java:549)
at java.security.KeyStore.setEntry(KeyStore.java:1326)
at org.openremote.security.PasswordManager.add(PasswordManager.java:368)
... 41 more
2015-04-10 22:00:27,557 INFO Controller Definition File Watcher for Default Deployer:

--------------------------------------------------------------------

UNDEPLOYING CURRENT CONTROLLER RUNTIME...

--------------------------------------------------------------------

2015-04-10 22:00:27,558 INFO Controller Definition File Watcher for Default Deployer: Stopped event processor : Drools Rule Engine
2015-04-10 22:00:27,559 INFO Controller Definition File Watcher for Default Deployer: Stopped event processor : RRD4J Data Logger
2015-04-10 22:00:27,559 INFO Controller Definition File Watcher for Default Deployer: Stopped event processor : EmonCMS Data Logger
2015-04-10 22:00:27,560 INFO Controller Definition File Watcher for Default Deployer: Stopping sensor 'WeatherSensor' (ID = '106,906,218')...
2015-04-10 22:00:27,560 INFO Controller Definition File Watcher for Default Deployer: Shutdown complete.
2015-04-10 22:00:27,561 INFO Controller Definition File Watcher for Default Deployer:

--------------------------------------------------------------------

DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

2015-04-10 22:00:27,566 ERROR HTTP\-Thread\-35: CommandException occurs
org.openremote.controller.config.ControllerXMLChangedException: The content of controller.xml had changed.
at org.openremote.controller.service.impl.StatusPollingServiceImpl.queryChangedState(StatusPollingServiceImpl.java:113)
at org.openremote.controller.rest.StatusPollingRESTServlet.handleRequest(StatusPollingRESTServlet.java:76)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:159)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2015-04-10 22:00:27,572 ERROR HTTP\-Thread\-30: CommandException occurs
org.openremote.controller.config.ControllerXMLChangedException: The content of controller.xml had changed.
at org.openremote.controller.service.impl.StatusPollingServiceImpl.queryChangedState(StatusPollingServiceImpl.java:113)
at org.openremote.controller.rest.StatusPollingRESTServlet.handleRequest(StatusPollingRESTServlet.java:76)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:159)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2015-04-10 22:00:27,694 ERROR Controller Definition File Watcher for Default Deployer: Could not load commandBuilder class:
java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:191)
at org.openremote.controller.command.CommandFactory.updateCommandBuilders(CommandFactory.java:96)
at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:552)
at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
at java.lang.Thread.run(Thread.java:745)
2015-04-10 22:00:27,956 ERROR Controller Definition File Watcher for Default Deployer: Cannot start event processor 'Drools Rule Engine' : Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:283)
at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:268)
at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:181)
at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:159)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:210)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:143)
at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)
at org.openremote.controller.statuscache.rules.RuleEngine.getValidKnowledgePackages(RuleEngine.java:484)
at org.openremote.controller.statuscache.rules.RuleEngine.start(RuleEngine.java:253)
at org.openremote.controller.statuscache.EventProcessorChain.start(EventProcessorChain.java:112)
at org.openremote.controller.statuscache.StatusCache.start(StatusCache.java:120)
at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:659)
at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:162)
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:57)
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:279)
... 18 more
2015-04-10 22:00:28,024 INFO Controller Definition File Watcher for Default Deployer: Initialized event processor : RRD4J Data Logger
2015-04-10 22:00:28,024 INFO Controller Definition File Watcher for Default Deployer: Initialized event processor : EmonCMS Data Logger
2015-04-10 22:00:28,034 DEBUG Controller Definition File Watcher for Default Deployer: Building HttGetCommand
2015-04-10 22:00:28,034 DEBUG Controller Definition File Watcher for Default Deployer: HttpGetCommand: pollingInterval = 10m
2015-04-10 22:00:28,035 DEBUG Controller Definition File Watcher for Default Deployer: HttpGetCommand: method = POST
2015-04-10 22:00:28,035 DEBUG Controller Definition File Watcher for Default Deployer: HttpGetCommand: url = http://api.wunderground.com/api/fbd0a7282dde96df/conditions/q/de/SILKEBORG.xml
2015-04-10 22:00:28,035 DEBUG Controller Definition File Watcher for Default Deployer: HttpGetCommand: xpath = //response/current_observation/temp_c
2015-04-10 22:00:28,036 INFO Controller Definition File Watcher for Default Deployer: Registered sensor : Sensor (Name = 'WeatherSensor', ID = '106906218', State Mappings: {})
2015-04-10 22:00:28,036 DEBUG Controller Definition File Watcher for Default Deployer: *** setSensor called as part of EventListener init *** sensor is: Sensor (Name = 'WeatherSensor', ID = '106906218', State Mappings: {})
2015-04-10 22:00:28,039 INFO Controller Definition File Watcher for Default Deployer: Startup complete.
2015-04-10 22:00:28,040 DEBUG [Polling thread for sensor: WeatherSensor]: Sensor thread started for sensor: Sensor (Name = 'WeatherSensor', ID = '106906218', State Mappings: {})
2015-04-10 22:00:28,665 INFO [Polling thread for sensor: WeatherSensor]: received message:
<response>
<version>0.1</version>
<termsofService>http://www.wunderground.com/weather/api/d/terms.html</termsofService>
<features>
<feature>conditions</feature>
</features>
<current_observation>
<image>
<url>http://icons.wxug.com/graphics/wu2/logo_130x80.png</url>
<title>Weather Underground</title>
<link>http://www.wunderground.com</link>
</image>
<display_location>
<full>Silkeborg, Denmark</full>
<city>Silkeborg</city>
<state></state>
<state_name>Denmark</state_name>
<country>DN</country>
<country_iso3166>DK</country_iso3166>
<zip>00000</zip>
<magic>8</magic>
<wmo>06068</wmo>
<latitude>56.16666794</latitude>
<longitude>9.56666660</longitude>
<elevation>48.00000000</elevation>
</display_location>
<observation_location>
<full>Buskelundtoften, Silkeborg, Silkeborg</full>
<city>Buskelundtoften, Silkeborg</city>
<state>Silkeborg</state>
<country>Denmark</country>
<country_iso3166>DK</country_iso3166>
<latitude>56.182888</latitude>
<longitude>9.507186</longitude>
<elevation>225 ft</elevation>
</observation_location>
<estimated>
</estimated>
<station_id>ISILKEBO2</station_id>
<observation_time>Last Updated on April 10, 10:00 PM CEST</observation_time>
<observation_time_rfc822>Fri, 10 Apr 2015 22:00:14 +0200</observation_time_rfc822>
<observation_epoch>1428696014</observation_epoch>
<local_time_rfc822>Fri, 10 Apr 2015 22:00:28 +0200</local_time_rfc822>
<local_epoch>1428696028</local_epoch>
<local_tz_short>CEST</local_tz_short>
<local_tz_long>Europe/Copenhagen</local_tz_long>
<local_tz_offset>+0200</local_tz_offset>
<weather>Clear</weather>
<temperature_string>47.8 F (8.8 C)</temperature_string>
<temp_f>47.8</temp_f>
<temp_c>8.8</temp_c>
<relative_humidity>78%</relative_humidity>
<wind_string>Calm</wind_string>
<wind_dir>SSE</wind_dir>
<wind_degrees>157</wind_degrees>
<wind_mph>0.0</wind_mph>
<wind_gust_mph>3.0</wind_gust_mph>
<wind_kph>0.0</wind_kph>
<wind_gust_kph>4.8</wind_gust_kph>
<pressure_mb>1018</pressure_mb>
<pressure_in>30.06</pressure_in>
<pressure_trend>0</pressure_trend>

<dewpoint_string>41 F (5 C)</dewpoint_string>
<dewpoint_f>41</dewpoint_f>
<dewpoint_c>5</dewpoint_c>

<heat_index_string>NA</heat_index_string>
<heat_index_f>NA</heat_index_f>
<heat_index_c>NA</heat_index_c>

<windchill_string>48 F (9 C)</windchill_string>
<windchill_f>48</windchill_f>
<windchill_c>9</windchill_c>

<feelslike_string>48 F (9 C)</feelslike_string>
<feelslike_f>48</feelslike_f>
<feelslike_c>9</feelslike_c>
<visibility_mi>6.2</visibility_mi>
<visibility_km>10.0</visibility_km>
<solarradiation>0</solarradiation>
<UV>0.0</UV>
<precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
<precip_1hr_in>0.00</precip_1hr_in>
<precip_1hr_metric> 0</precip_1hr_metric>
<precip_today_string>0.00 in (0 mm)</precip_today_string>
<precip_today_in>0.00</precip_today_in>
<precip_today_metric>0</precip_today_metric>

<icon>clear</icon>
<icon_url>http://icons.wxug.com/i/c/k/nt_clear.gif</icon_url>
<forecast_url>http://www.wunderground.com/global/stations/06068.html</forecast_url>

<history_url>http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ISILKEBO2</history_url>

<ob_url>http://www.wunderground.com/cgi-bin/findweather/getForecast?query=56.182888,9.507186</ob_url>
</current_observation>

</response>

2015-04-10 22:00:28,712 INFO [Polling thread for sensor: WeatherSensor]: result of xpath evaluation: 8.8
2015-04-10 22:00:28,713 TRACE [Polling thread for sensor: WeatherSensor]: Processed '8.8', received '8.8'
2015-04-10 22:00:28,713 ERROR [Polling thread for sensor: WeatherSensor]: Could not perform xpath evaluation
java.lang.NullPointerException
at org.openremote.controller.statuscache.rules.RuleEngine.push(RuleEngine.java:145)
at org.openremote.controller.statuscache.EventProcessorChain.push(EventProcessorChain.java:188)
at org.openremote.controller.statuscache.StatusCache.update(StatusCache.java:260)
at org.openremote.controller.model.sensor.Sensor.update(Sensor.java:342)
at org.openremote.controller.protocol.http.HttpGetCommand.run(HttpGetCommand.java:289)
at java.lang.Thread.run(Thread.java:745)
2015-04-10 22:00:28,715 TRACE [Polling thread for sensor: WeatherSensor]: Processed 'N/A', received 'N/A'
2015-04-10 22:01:02,765 INFO HTTP\-Thread\-30: Start RoundRobin group member REST service. at 2015-04-10 22:01:02
2015-04-10 22:01:02,770 INFO Thread\-35: UDP Server : Received the controller multicast request from the same group floor20
2015-04-10 22:01:02,771 INFO Cluster TCP: TCP Server : a new groupmember socket established...
2015-04-10 22:01:02,776 INFO Thread\-36: TCP Server deal thread : Ready for receiving groupmember url ...
2015-04-10 22:01:02,776 INFO Thread\-36: TCP Server deal thread : received a groupmember url : http://192.168.1.2:18581/controller
2015-04-10 22:01:02,912 INFO HTTP\-Thread\-24: Querying changed state from ChangedStatus table...
2015-04-10 22:01:02,913 INFO HTTP\-Thread\-24: Not Found: [device => 357634058817920, sensorIDs => 106906218] in ChangedStatus table.
2015-04-10 22:01:02,913 INFO HTTP\-Thread\-24: ChangedStatusRecord:357634058817920-106906218 sensorID:106906218 statusChangedSensorID:[]Waiting...
2015-04-10 22:01:03,276 INFO HTTP\-Thread\-30: Finished RoundRobin group member REST service. at 2015-04-10 22:01:03

Posted by laithsaid at Apr 10, 2015 21:11

It's seems to be related to the rule engine not loading. It needs a Java 6 installation.
There exist a lot of threads on the forum related to the rule engine and newer Java versions.
Easiest would be to use Java 6.

Posted by mredeker at Apr 10, 2015 21:15
Document generated by Confluence on Jun 05, 2016 09:30