Author Topic: Queuemetrics Java error NullPointerException on system diagnostics & dbtest page  (Read 3300 times)

iamjeff

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
I am getting the following error when I click on the System diagnostics tools and dbtest page:

SP] java.lang.NullPointerException - -- Inner Exception -- Exception: java.lang.NullPointerException Stack trace: java.lang.NullPointerException at org.apache.jsp.dbtest.index_jsp._jspService(index_jsp.java:95) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) -- End Inner Exception -- "


From the license information page, here are the system details:

Software release:   Loway QueueMetrics - 16.10.6
B: 148 - 2016.11.28-10:59
Firefox client version:   CURRENT - Install now: Firefox - Chrome
 

Licenced to:   company name
Maximum licenced agents:       20 [S:1]
Licence expires on:   2021-01-05
    Show end-user licence agreement
 
Operating System:   O.S.: Linux - Ver: 3.16.0-4-amd64 - amd64
Java Runtime:   Version: 1.7.0_80
Vendor: Oracle Corporation
Class Version: 51.0
Java Home: /usr/lib/jvm/java-7-oracle
System path:   /var/lib/tomcat8/webapps/queuemetrics/WEB-INF
Storage type:   SQL Storage (Partition: P000)
Loway TPF:   Version: TPF 262p/P B:262p - 2016.06.28-10:46
Language pack:   V:2016-11-25 10:06
System time:   Java Time: 2017-06-06 16:47:51
Java Time Zone: America/Toronto
MySQL Time: 2017-06-06 16:47:51.0
MySQL Time is aligned with Java Time


Tomcat version is 8, system is Debian Jessie. Mysql Connector is 5.0.8 & 5.1.42 (tried both to make sure).

I am able to get into the Mysql Storage Information page but not much under administrative tools.


I had previously been running on Java 8 and had the same issue, downgrading to java 7 had not fixed the problems. Any one have an idea how I can resolve this?

Jeff.

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Hi Jeff, the problem is both tomcat8 and java8, from the next release QM will be fully compatible with them.

iamjeff

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
thanks for the reply mirkox.

Jeff.