Skip to content

404 at repo comments #966

@koppor

Description

@koppor

JabRef/jabref#13625, I get

[pool-3-thread-1] INFO gui.webdiff.dir.DirComparator - Processing PR Review Comment: https://api.github.com/repos/JabRef/jabref/pulls/comments/2248511728
org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/JabRef/jabref/pulls/comments/2248511728 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request","status":"404"}
C:\git-repositories\JabRef>docker run --rm -p 6789:6789  -v c:\users\koppor\rmc:/diff tsantalis/refactoringminer diff --url https://github.com/JabRef/jabref/pull/13625
[main] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Connected to GitHub with OAuth token
[main] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing file: jablib/src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java
[main] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing file: jablib/src/test/java/org/jabref/logic/citationkeypattern/BracketedPatternTest.java
[main] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing file: jablib/src/test/java/org/jabref/logic/citationkeypattern/CitationKeyGeneratorTest.java
[pool-2-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - ModelDiff.getRefactorings() execution time: 0 seconds
[pool-2-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - Diff execution: 0 seconds
[pool-2-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - EditScript execution: 0 seconds
[pool-2-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - MovedDiff execution: 0 seconds
[main] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Connected to GitHub with OAuth token
[pool-3-thread-1] INFO gui.webdiff.dir.DirComparator - Processing PR Review Comment: https://api.github.com/repos/JabRef/jabref/pulls/comments/2248511728
org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/JabRef/jabref/pulls/comments/2248511728 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request","status":"404"}
        at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:737)
        at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:480)
        at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:427)
        at org.kohsuke.github.GHRepositoryWrapper.getGhPullRequestReviewCommentLine(GHRepositoryWrapper.java:17)
        at gui.webdiff.dir.DirComparator.lambda$fetchPullRequestComments$1(DirComparator.java:129)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/JabRef/jabref/pulls/comments/2248511728
        at org.kohsuke.github.GitHubConnectorResponseErrorHandler$1.onError(GitHubConnectorResponseErrorHandler.java:84)
        at org.kohsuke.github.GitHubClient.detectKnownErrors(GitHubClient.java:504)
        at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:464)
        ... 8 more
[main] INFO spark.staticfiles.StaticFilesConfiguration - StaticResourceHandler configured with folder = /web/
[Thread-0] INFO org.eclipse.jetty.util.log - Logging initialized @8384ms to org.eclipse.jetty.util.log.Slf4jLog
[Thread-0] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
[Thread-0] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on 0.0.0.0:6789
[Thread-0] INFO org.eclipse.jetty.server.Server - jetty-9.4.48.v20220622; built: 2022-06-21T20:42:25.880Z; git: 6b67c5719d1f4371b33655ff2d047d24e171e49a; jvm 17.0.16+8-alpine-r0
[Thread-0] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
[Thread-0] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
[Thread-0] INFO org.eclipse.jetty.server.session - node0 Scavenging every 660000ms
[Thread-0] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@7fafe532{HTTP/1.1, (http/1.1)}{0.0.0.0:6789}
[Thread-0] INFO org.eclipse.jetty.server.Server - Started @8446ms
Starting server: http://127.0.0.1:6789.

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