Hi Gregorio,
posting the SIP message that caused the problem would help me reproduce
it, also some OpenSER logs would help. It seems to be related to the
binary-encoding of the message.
try out sipSpy to capture messages if you like.
remove any field which you find confidential (lest Max-Forwards...) from
the SIP message
send it to me privately if you want.
regards,
Elias
Gregorio wrote:
Hi everyone,
Hi!
Just installed WeSIP beta-0.1.4 and openser 1.2.0 in the same machine,
configuration looks alright because some SIP Servlets receive
messages. Now I am getting an exception in the SEAS module when I
receive MESSAGE, I think this problem is similar to a previous one in
the mailing list (Sat Apr 28 16:07:34 CEST 2007, [WeSIP with openser
1.2.0 again]). Does someone know anything about it?
This is the exception:
Thanks for helping.
java.lang.ArrayIndexOutOfBoundsException: 5942
at com.voztele.seas.SeasMsg.getNboShort(SeasMsg.java:40)
at
com.voztele.javax.sip.header.SIPHeader.<init>(SIPHeader.java:144)
at
com.voztele.javax.sip.header.MaxForwards.<init>(MaxForwards.java:29)
at
com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:266)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225)
at
com.voztele.javax.sip.message.SIPResponse.<init>(SIPResponse.java:338)
at
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:357)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "ExpressMChannel[1]" java.lang.NullPointerException
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:143)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
java.lang.ArrayIndexOutOfBoundsException: 5942
at com.voztele.seas.SeasMsg.getNboShort(SeasMsg.java:40)
at
com.voztele.javax.sip.header.SIPHeader.<init>(SIPHeader.java:144)
at
com.voztele.javax.sip.header.MaxForwards.<init>(MaxForwards.java:29)
at
com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:266)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225)
at
com.voztele.javax.sip.message.SIPResponse.<init>(SIPResponse.java:338)
at
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:357)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "ExpressMChannel[2]" java.lang.NullPointerException
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:143)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users