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

Get exception when getting the commits information #37

Open
unidevel opened this issue Jan 29, 2025 · 0 comments
Open

Get exception when getting the commits information #37

unidevel opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@unidevel
Copy link
Contributor

When running locally, sometimes I got this error.

2025-01-29T07:52:46.353Z        INFO    main    com.facebook.presto.release.AbstractCommands    Running Command: git log upstream/release-0.290..upstream/release-0.291 --format=%H --date-order; Log: /var/folders/6m/dfcrwpmn0slckzgs62s5dmy40000gn/T/presto-release-log5869292263977700277
2025-01-29T07:52:46.380Z        INFO    main    com.facebook.presto.release.AbstractCommands    Finished running command: git log upstream/release-0.290..upstream/release-0.291 --format=%H --date-order
2025-01-29T07:52:46.381Z        INFO    main    com.facebook.presto.release.tasks.GenerateReleaseNotesTask      Fetching Github commits
2025-01-29T07:53:16.637Z        INFO    main    com.facebook.airlift.bootstrap.LifeCycleManager Life cycle stopping...
2025-01-29T07:53:16.639Z        INFO    main    com.facebook.airlift.bootstrap.LifeCycleManager Life cycle stopped.
2025-01-29T07:53:16.640Z        ERROR   main    Bootstrap       Uncaught exception in thread main
java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: (StringReader); line: 1, column: 2]
        at com.facebook.presto.release.git.GithubGraphQlAction.githubApi(GithubGraphQlAction.java:198)
        at com.facebook.presto.release.git.GithubGraphQlAction.listCommits(GithubGraphQlAction.java:136)
        at com.facebook.presto.release.tasks.GenerateReleaseNotesTask.run(GenerateReleaseNotesTask.java:130)
        at com.facebook.presto.release.tasks.AbstractReleaseCommand.run(AbstractReleaseCommand.java:50)
        at com.facebook.presto.release.PrestoReleaseService.main(PrestoReleaseService.java:44)
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: (StringReader); line: 1, column: 2]
        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:693)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:591)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1902)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:757)
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4141)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4000)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3023)
        at com.facebook.presto.release.git.GithubGraphQlAction.githubApi(GithubGraphQlAction.java:195)
        ... 4 more
@unidevel unidevel added the bug Something isn't working label Jan 29, 2025
@unidevel unidevel self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant