PS lines without a name leads to unhandled exception

Issue #90 resolved
Mikhail Lopatkin repo owner created an issue

Example line from ps output: {{{ root 626 2 0 0 fg ffffffff 00000000 S }}}

Stack trace of exception: {{{ java.lang.IllegalArgumentException: Matcher doesn't match at org.bitbucket.mlopatkin.android.liblogcat.ProcessListParser.getPid(ProcessListParser.java:73) at org.bitbucket.mlopatkin.android.liblogcat.file.DumpstateFileDataSource$ProcessesSectionHandler.handleLine(DumpstateFileDataSource.java:294) at org.bitbucket.mlopatkin.android.liblogcat.file.DumpstateFileDataSource.parseSection(DumpstateFileDataSource.java:88) at org.bitbucket.mlopatkin.android.liblogcat.file.DumpstateFileDataSource.parseFile(DumpstateFileDataSource.java:67) at org.bitbucket.mlopatkin.android.liblogcat.file.DumpstateFileDataSource.<init>(DumpstateFileDataSource.java:59) at org.bitbucket.mlopatkin.android.liblogcat.file.FileDataSourceFactory.createDumpstateFileSource(FileDataSourceFactory.java:77) at org.bitbucket.mlopatkin.android.liblogcat.file.FileDataSourceFactory.createDataSource(FileDataSourceFactory.java:56) at org.bitbucket.mlopatkin.android.logviewer.Main.<init>(Main.java:81) at org.bitbucket.mlopatkin.android.logviewer.Main.main(Main.java:71) }}}

Comments (2)

  1. Log in to comment