0

NullPointerException when processing TropoML

We're sending a message out and receiving a success response from the Tropo API, but the message is never received.

Below is the the relevant portion of the log from our Tropo dashboard.

#TROPO#: Call [+_REDACTED_/null->+_REDACTED_/null][SMS][bc84d99bc26a3c4174e8a011e333ecb4] Calling CallListener for state change from:ANSWERING, to:ANSWERED

#TROPO#: com.voxeo.tropo.billing.cdr.BillingCallListerner@78cb327f created CDR: {"call":{"ID":"00168183243-00000000000000031605","SipSessionID":"unknown","SessionID":"df13ce0d313ec566e42b4ea09195c89a","CallID":"bc84d99bc26a3c4174e8a011e333ecb4","ParentSessionID":"none","ParentCallID":"none","DateCreated":"Mon, 19 May 2014 17:57:58 +0000","DateUpdated":"Mon, 19 May 2014 17:57:58 +0000","AccountID":"167141","Called":"+_REDACTED_","Caller":"+_REDACTED_","PhoneNumberSid":"unknown","Disposition":"Success","Status":"Success","StartTime":"N/A","EndTime":"N/A","Duration":"-1","Flags":"out","RecordingDuration":"0","Network":"SMS","Channel":"TEXT","ApplicationId":"429146","ApplicationType":"tropo-web","ServiceId":"1456674","StartUrl":" https://www.ekko.net/ekko/api/voip/sms/incoming.json","BrowserIP":"10.6.69.203","PPID":"445"}} #[N/A][N/A][N/A][N/A][?][?]

 

Error processing TropoML java.lang.NullPointerException: Cannot invoke method render() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.tropo.rest.handler.MessageHandler.handle(MessageHandler.groovy:29) at com.tropo.rest.handler.ActionHandler$handle.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at com.tropo.rest.handler.ActionHandler$handle.call(Unknown Source) at com.tropo.rest.SimpleActionDispatcher.dispatch(SimpleActionDispatcher.groovy:73) at com.tropo.rest.ActionDispatcher$dispatch.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at com.tropo.rest.ActionDispatcher$dispatch.call(Unknown Source) at com.tropo.rest.DocumentProcessor.process(DocumentProcessor.groovy:37) at com.tropo.rest.DocumentProcessor$process.call(Unknown Source) at com.tropo.rest.Dialog.process(Dialog.groovy:64) at com.tropo.rest.engine.TropoScriptEngine.eval(TropoScriptEngine.java:62) at com.voxeo.tropo.app.SimulatedCompiledScript.eval(SimulatedCompiledScript.java:61) at com.voxeo.tropo.app.TropoCompiledScript.eval(TropoCompiledScript.java:40) at com.voxeo.tropo.app.SimpleInstance.evaluateScript(SimpleInstance.java:286) at com.voxeo.tropo.app.SimpleInstance.run(SimpleInstance.java:213) at com.voxeo.tropo.app.TropoApplicationManager$4.run(TropoApplicationManager.java:507) at java.lang.Thread.run(Thread.java:724)

 

3 comments

Please sign in to leave a comment.