Author Topic: Wombat Dialer - Sudden crash, no way to bring it back on  (Read 4566 times)

118218LNF

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Wombat Dialer - Sudden crash, no way to bring it back on
« on: October 23, 2013, 10:28:37 »
Hello,

We have a WD set up with Asterisk. This was running for a few weeks quite well.
Suddenly, yesterday, the dialer broke in the middle of a running campaign.

Since then, I try to bring it back to life, without success.
I restarted both tomcat and Asterisk, but still the same issue :
when launching the dialer trough the web interface, I got Java exceptions and the dialer does not work.

Setting the status auto refresh on the home page shows it alternatively as "running" and "down".
Asterisk is also used for Admin phones, and works fine for regular users.

Of course, my telecoms expert which set this up is on vacation abroad, and I have to figure this out on my own.
Hope you can help.


Looking at the logs, i have the following traces :

ASTERISK :
Code: [Select]
[Oct 23 10:09:43] ERROR[17807] utils.c: fwrite() returned error: Connection reset by peer
[Oct 23 10:09:43] ERROR[17807] utils.c: fwrite() returned error: Broken pipe
[Oct 23 10:10:08] ERROR[17828] utils.c: fwrite() returned error: Broken pipe
[Oct 23 10:10:08] ERROR[17828] utils.c: fwrite() returned error: Broken pipe
[Oct 23 10:10:27] ERROR[17838] utils.c: fwrite() returned error: Broken pipe
[Oct 23 10:10:27] ERROR[17838] utils.c: fwrite() returned error: Broken pipe
[Oct 23 10:11:05] ERROR[17860] utils.c: fwrite() returned error: Connection reset by peer
[Oct 23 10:11:11] ERROR[17871] utils.c: fwrite() returned error: Connection reset by peer
[Oct 23 10:12:01] ERROR[17895] utils.c: fwrite() returned error: Connection reset by peer

TOMCAT6 (same output in catalina.out and wombat.2013-10-22.log ):
Code: [Select]
GRAVE: -- Inner Exception --
Exception: java.lang.NullPointerException

Stack trace:
java.lang.NullPointerException
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkOpenCall(CheckActiveCalls.java:58)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkCall(CheckActiveCalls.java:46)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.run(CheckActiveCalls.java:30)
        at ch.loway.app.wombat.dialer.runAfter.RunAfterSomeTime.runIfNecessary(RunAfterSomeTime.java:54)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.runIteration(WombatDialerProcess.java:233)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.run(WombatDialerProcess.java:156)
        at ch.loway.oss.slicedbread.MessagingConsole$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --

-- Inner Exception --
Exception: java.lang.IllegalThreadStateException
Error:
-- Inner Exception --
Exception: java.lang.NullPointerException

Stack trace:
java.lang.NullPointerException
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkOpenCall(CheckActiveCalls.java:58)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkCall(CheckActiveCalls.java:46)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.run(CheckActiveCalls.java:30)
        at ch.loway.app.wombat.dialer.runAfter.RunAfterSomeTime.runIfNecessary(RunAfterSomeTime.java:54)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.runIteration(WombatDialerProcess.java:233)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.run(WombatDialerProcess.java:156)
        at ch.loway.oss.slicedbread.MessagingConsole$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --

Stack trace:
java.lang.IllegalThreadStateException: -- Inner Exception --
Exception: java.lang.NullPointerException

Stack trace:
java.lang.NullPointerException
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkOpenCall(CheckActiveCalls.java:58)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.checkCall(CheckActiveCalls.java:46)
        at ch.loway.app.wombat.dialer.runAfter.CheckActiveCalls.run(CheckActiveCalls.java:30)
        at ch.loway.app.wombat.dialer.runAfter.RunAfterSomeTime.runIfNecessary(RunAfterSomeTime.java:54)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.runIteration(WombatDialerProcess.java:233)
        at ch.loway.app.wombat.dialer.WombatDialerProcess.run(WombatDialerProcess.java:156)
        at ch.loway.oss.slicedbread.MessagingConsole$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --

        at ch.loway.app.wombat.dialer.WombatDialerProcess.run(WombatDialerProcess.java:169)
        at ch.loway.oss.slicedbread.MessagingConsole$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --
23 oct. 2013 10:24:28 ch.loway.app.wombat.AMI.AstManagerProcess run
GRAVE: Sockets closed


Looking forward to hearing from you !

Joel


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Wombat Dialer - Sudden crash, no way to bring it back on
« Reply #1 on: October 24, 2013, 11:40:10 »
This was fixed by removing the call from the hoper database.
We'll add a patch for the next version so that it will not happen anymore.