Author Topic: Problems going to 1.4.0 from 1.3.4  (Read 2814 times)

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Problems going to 1.4.0 from 1.3.4
« on: August 20, 2007, 20:58:58 »
I seem to be having a serious problem attempting to upgrade to 1.4.0.  Whenever I try to run a report which actually should contain some data, I get:

"Errore tecnico nella classe 'it.loway.app.queuemetrics.caricamento.caricaCoda'. -- Inner Exception -- - Exception: java.lang.NullPointerException - Stack trace: - java.lang.NullPointerException - at it.loway.app.queuemetrics.asterisk.logs.analyzers.calls.AgentAttempt$AgentAttemptIndex.hashCode(Unknown Source) - at java.util.HashMap.getEntry(Unknown Source) - at java.util.HashMap.containsKey(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.CallTracker.updateAgentAttempt(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.CallTracker.attempt(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.AnalizzaLog.processRow(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.AnalizzaLog.loadLogInfo_fromFile(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.AnalizzaLog.loadLogInfo(Unknown Source) - at it.loway.app.queuemetrics.asterisk.logs.analyzers.AnalizzaLogMysql.loadLogInfo(Unknown Source) - at it.loway.app.queuemetrics.caricamento.caricaCoda.doRun(Unknown Source) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(Unknown Source) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(Unknown Source) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(Unknown Source) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) - at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) - at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) - at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) - at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) - at java.lang.Thread.run(Unknown Source) - -- End Inner Exception -- - "


Note that I actually have 1.3.4 running properly against this database, so I'm not sure why this is happening.
Any help would be greatly appreciated.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Problems going to 1.4.0 from 1.3.4
« Reply #1 on: August 21, 2007, 09:45:16 »
It looks like your queue_log file contains some AgentAttempt-related data that QM does not process correctly and it crashes. In 1.4 the main engine was completely rewritten, so I'd say this is a bug.
Please send the queue_log file over to Loway, so we can debug the problem and patch it for version 1.4.1.