Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSpecify: Another "Did not find supertype" crash, with Strings #1013

Closed
msridhar opened this issue Aug 6, 2024 · 0 comments · Fixed by #1015
Closed

JSpecify: Another "Did not find supertype" crash, with Strings #1013

msridhar opened this issue Aug 6, 2024 · 0 comments · Fixed by #1015

Comments

@msridhar
Copy link
Collaborator

msridhar commented Aug 6, 2024

          > @SolomonSun2010 Do you have an example input program that causes the error? Without that it'll be hard to track down the problem.

@msridhar OK,when running NullAway, normally display :
warning: [NullAway] xxxxxx

Suddenly, error message is:

An unhandled exception was thrown by Error Prone static analysis pluging.
", relativeServices=" + (relativeServices == null ? "relativeServices == null" : relativeServices.size())

    @Override
    public String toString() {
        return "ServiceExtraInfo{" +
            "appInfoData=" + (appInfoData == null ?  "null" : appInfoData.toString()) +
            ", relativeServices=" + (relativeServices == null ? "relativeServices == null" : relativeServices.size())
            + getRelativeServicesToString() + '}';
    }

Originally posted by @SolomonSun2010 in #1008 (comment)

@msridhar msridhar changed the title > @SolomonSun2010 Do you have an example input program that causes the error? Without that it'll be hard to track down the problem. JSpecify: Another "Did not find supertype" crash, with Strings Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant