Skip to content

App crashes occasionaly at startup #3

@rozcietrzewiacz

Description

@rozcietrzewiacz

I've just installed the APK from your repository, logged in successfully and was able to view my boards and lists. The moment I tried to view a list, the app crashed. I started it again and tried another list from another board - crash again.

Since then, the app seems to assume the last list was where I left from, because it now crashes instantly after running. I've pasted the logcat startup trace as a gist here.

System: Gingerbread 2.3.6

EDIT: I've looked a little more closely at the exception log and it looks that the crash from my gist is not related to lists at all. It seems that by a coincidence, I've stumbled upon an uncaught hostname resolution exception - here's the snippet:

  W/System.err(11698): java.net.UnknownHostException: api.trello.com
  W/System.err(11698):  at java.net.InetAddress.lookupHostByName(InetAddress.java:506)
  W/System.err(11698):  at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294)
  W/System.err(11698):  at java.net.InetAddress.getAllByName(InetAddress.java:256)
  W/System.err(11698):  at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:136)
  W/System.err(11698):  at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
  W/System.err(11698):  at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
  W/System.err(11698):  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:359)
  W/System.err(11698):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
  W/System.err(11698):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
  W/System.err(11698):  at com.chrishoekstra.trello.service.TrelloService.getAllBoards(TrelloService.java:130)
  W/System.err(11698):  at com.chrishoekstra.trello.controller.TrelloController$UserDataFetchTask.doInBackground(TrelloController.java:67)

I believe that this should be simply caught and reported by the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions