Author Topic: error when using setup wizard  (Read 1997 times)

msteeber

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
error when using setup wizard
« on: June 11, 2009, 23:21:47 »
I am receiving the following error message when trying to use the setup wizard.  I am selecting Cluster AMI and it connects fine and sees my queues but after I select the queues and select next I receive the error.  All I have for an option then is to "restart now".

Quote
"Errore tecnico nella classe 'it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler'. -- Inner Exception -- - Exception: java.lang.NullPointerException - Stack trace: - java.lang.NullPointerException - at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.ShowSummary(ConfWizardHandler.java:770) - at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.HandleWizardStep(ConfWizardHandler.java:237) - at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.doRun(ConfWizardHandler.java:140) - 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: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.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:293) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) - at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) - at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) - at java.lang.Thread.run(Thread.java:619) - -- End Inner Exception -- - "

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: error when using setup wizard
« Reply #1 on: June 12, 2009, 15:45:00 »
We are aaware of the problem and it has already been solved for the next release - bug #741.

The problem is related to a wrong implementation of the AMI reader that's not
able to handle the situation where no static agents were defined in asterisk.
To overcome to this problem I suggest you to add a "dummy" agent in the
/etc/asterisk/agents.conf. You should have something like that:

[general]
persistentagents=yes

[agents]
ackcall=no
agent => 1000,,Dummy

Then issue a full asterisk reload.
Doing that, you should be able to complete the wizard (you should deselect the
dummy agent from the wizard in order to don't include him in QueueMetrics
configuration).