tjtaill/sip-viewer

Exception in thread

Closed this issue · 2 comments

What steps will reproduce the problem?

C:\>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar 
sip-viewer-1.5.0-jar-with-dependencies.jar 1.log
Exception in thread "main" java.lang.RuntimeException: Received: is not having 
the right format
        at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:64)
        at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:41)
        at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:61)
        at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:120)


What version of the product are you using? On what operating system?

sip-viewer 1.5.0
Win7 64

Log file attached.

Original issue reported on code.google.com by i.shoot....@gmail.com on 30 Mar 2012 at 7:34

Attachments:

the format of your log file is incorrect (see detail on project home page).

it must either fit : 
http://code.google.com/p/sip-viewer/source/browse/trunk/cli/examples/b2b-example
.txt
or
http://code.google.com/p/sip-viewer/source/browse/trunk/cli/examples/b2b-example
.xml

or you should write your own parser and configure the command line using:
-p, --parser                      Class to be used to parse the given log files 
                                      (default is javax.sip.viewer.parser.TextLogParser)

Original comment by frederic...@gmail.com on 9 Apr 2012 at 7:48

Original comment by frederic...@gmail.com on 9 Apr 2012 at 7:50

  • Changed state: Done