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

Sometimes Aphrodite can't read pull reuqest from repository #229

Open
soul2zimate opened this issue Sep 28, 2020 · 0 comments
Open

Sometimes Aphrodite can't read pull reuqest from repository #229

soul2zimate opened this issue Sep 28, 2020 · 0 comments

Comments

@soul2zimate
Copy link
Contributor

I doubt this is a bug or a network connection issue. This is hard to reproduce and really intermittent.
e.g. it seems that public https://api.github.com/repos/xnio/xnio is not reachable at below case.

2020-09-28 09:52:34,728 WARN  [org.jboss.set.aphrodite.spi.RepositoryService] (pool-415-thread-9) repository : https://github.com/xnio/xnio/pull/142 is not accessable due to Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/repos/xnio/xnio. Check repository link and your account permission.
2020-09-28 09:52:34,729 ERROR [org.jboss.set.aphrodite.issue.trackers.jira.JiraPatchHomeImpl] (pool-415-thread-9) Unable to find pull request with url: https://github.com/xnio/xnio/pull/142: org.jboss.set.aphrodite.spi.NotFoundException: No pull request found which corresponds to url: https://github.com/xnio/xnio/pull/142
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.Aphrodite.getPullRequest(Aphrodite.java:667)
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.issue.trackers.jira.JiraPatchHomeImpl.getPatchState(JiraPatchHomeImpl.java:72)
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.issue.trackers.jira.JiraPatchHomeImpl.lambda$mapURLtoPatchStream$0(JiraPatchHomeImpl.java:52)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.issue.trackers.jira.JiraPatchHomeImpl.mapURLtoPatchStream(JiraPatchHomeImpl.java:54)
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.issue.trackers.jira.JiraPatchHomeImpl.findPatchesByIssue(JiraPatchHomeImpl.java:46)
	at deployment.prbz-overview.war//org.jboss.set.aphrodite.issue.trackers.jira.JiraIssue.getPatches(JiraIssue.java:128)
	at deployment.prbz-overview.war//org.jboss.set.assist.evaluator.impl.payload.AssociatedPullRequestEvaluator.eval(AssociatedPullRequestEvaluator.java:72)
	at deployment.prbz-overview.war//org.jboss.set.overview.processor.PayloadOverviewProcessor$PayloadProcessingTask.call(PayloadOverviewProcessor.java:219)
	at deployment.prbz-overview.war//org.jboss.set.overview.processor.PayloadOverviewProcessor$PayloadProcessingTask.call(PayloadOverviewProcessor.java:183)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
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

No branches or pull requests

1 participant