Bug #229
closedAndroid App crashes immediately on startup
0%
Description
Android App crashes immediately on startup without any readers attached nor user input. The activities start to be displayed and one can see the first time configuration dialog for some milliseconds, then the app closes without error messages.
This bug appears in SNAPSHOTS from master and stage branches after tag 1.0.1. At least the latest revision is affected. Tag 1.0.1 build works correctly.
LogCat output:...
W/System.err(17164): java.net.BindException: bind failed: EADDRINUSE (Address already in use)
W/System.err(17164): at libcore.io.IoBridge.bind(IoBridge.java:89)
W/System.err(17164): at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
W/System.err(17164): at java.net.ServerSocket.<init>(ServerSocket.java:100)
W/System.err(17164): at java.net.ServerSocket.<init>(ServerSocket.java:69)
W/System.err(17164): at org.openecard.android.TCTokenService.run(TCTokenService.java:56)
W/System.err(17164): at java.lang.Thread.run(Thread.java:856)
W/System.err(17164): Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
W/System.err(17164): at libcore.io.Posix.bind(Native Method)
W/System.err(17164): at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
W/System.err(17164): at libcore.io.IoBridge.bind(IoBridge.java:87)
W/System.err(17164): ... 5 more