This page last changed on Nov 09, 2012 by mb.

Hi all,

Could I use the iPhone panel, with the webconsole ?
as you can see in this image, in my webconsole:

  • Buttons: no names are shown.
  • TabBar Item: don't work

Thanks.


Panels.jpg (image/jpeg)
WebConsole.JPG (image/jpeg)
webonsole2.JPG (image/jpeg)

I know Richard Turner has been working on that recently. He had an alpha version around which should address some of the issues.
There is a link to that alpha version in these forums, but that link seems to be dead for more than a week now.

Posted by pz1 at Nov 09, 2012 14:08

Hi,

As Pieter said I have done a lot of dev/bug fixing on the web console in recent months so it would be worth trying out a newer version, you can download a version from dropbox for now: -

https://dl.dropbox.com/s/0xghxxl2cq2twkk/webconsole.war?dl=1

You need to put this file into the webapps folder of the controller (replace the existing one and delete the webconsole folder in there also).

When you load the web console press Ctrl+Shift+R to do a hard refresh and then on the Settings toolbar on the left of the screen along the bottom you should see "Build: 7079"

Rich

Posted by kurrazyman at Nov 10, 2012 12:22

Hi Rich,
thanks for the answer.

With the new console.war I have this error:
ERROR HTTP\-Thread\-2: Error in handling REST API response: null

Could You help me ?

ERROR HTTP\-Thread\-2: Error in handling REST API response: null
java.lang.NullPointerException
at org.openremote.controller.rest.support.json.JSONFormatter.format(JSONFormatter.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translate(JSONTranslator.java:124)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:58)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:53)
at org.openremote.controller.rest.RESTAPI.sendResponse(RESTAPI.java:157)
at org.openremote.controller.rest.ListPanelIDs.handleRequest(ListPanelIDs.java:87)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
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$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ERROR HTTP\-Thread\-3: failed to extract panel.xml for panel : No such Panel :NAME =
org.openremote.controller.exception.NoSuchPanelException: No such Panel :NAME =
at org.openremote.controller.service.impl.ProfileServiceImpl.getProfileDocumentByPanelName(ProfileServiceImpl.java:192)
at org.openremote.controller.service.impl.ProfileServiceImpl.getProfileByPanelName(ProfileServiceImpl.java:91)
at org.openremote.controller.rest.FindPanelByID.handleRequest(FindPanelByID.java:81)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
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$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ERROR HTTP\-Thread\-3: Error in handling REST API response: null
java.lang.NullPointerException
at org.openremote.controller.rest.support.json.JSONFormatter.format(JSONFormatter.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translate(JSONTranslator.java:124)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:58)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:53)
at org.openremote.controller.rest.RESTAPI.sendResponse(RESTAPI.java:157)
at org.openremote.controller.rest.FindPanelByID.handleRequest(FindPanelByID.java:83)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
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$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Posted by mb at Nov 12, 2012 16:18

Can you tell me what version of the Controller you are using, does the Web Console just get stuck at the Loading screen?

Posted by kurrazyman at Nov 12, 2012 17:12

Hi Richard,
the controller version is 2.0.1.

The web console is looping with this screen:

(there is Loading panel, with the logo rounding)

Thanks.

Posted by mb at Nov 13, 2012 08:38
Document generated by Confluence on Jun 05, 2016 09:32