Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Change "report an issue" message #613

Description

@DayS

Currently if AA crashes during code generation, we print the following output :

Please report an issue on AndroidAnnotations, with the following content : [Insert stack trace here]

We have lots of issues with only this message. I suppose people think this is enough to debug their code, or just too busy to add more details. As we're also very busy, I think we should inject more information in this message like :

  • the version of AA
  • the context (1~3 lines around the line of the crash)
  • the reproducibility of the crash
  • the stacktrace

We could have something like that :

Unexpected error. Please report an issue on AndroidAnnotations for version 2.7.1, with the following content and tell us if you can reproduce it or not : java.lang.NullPointerException on
"@extra(resName="unknownExtra") String username;" with stacktrace
[Insert stack trace here]

Activity

  1. JoanZapata commented on Jun 3, 2013

    @JoanZapata
    Contributor

    👍

  2. DayS commented on Jun 3, 2013

    @DayS
    ContributorAuthor

    And we should also add the version of JDK used during compilation.

  3. DayS commented on Jun 5, 2013

    @DayS
    ContributorAuthor

    I'm working on ti right now but I have some issue to make the report as the MirrorType implementation is not the same between maven and Eclipse.
    Maven is using is own implementation like org.eclipse.jdt.internal.compiler.apt.model.ExecutableElementImpl instead of com.sun.tools.javac.code.Symbol$MethodSymbol provided by the JDK and the result between these two is different.

  4. ghost assigned on Jul 19, 2013
  5. DayS commented on Sep 20, 2013

    @DayS
    ContributorAuthor

    Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions