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

review related methods are not working #86

Open
jhohertz opened this issue Sep 1, 2020 · 2 comments
Open

review related methods are not working #86

jhohertz opened this issue Sep 1, 2020 · 2 comments

Comments

@jhohertz
Copy link

jhohertz commented Sep 1, 2020

Trying to access any of the review/reviewRequest information consistently results in:

ERROR: Stage FAILED: org.eclipse.egit.github.core.client.NoSuchPageException: Parse exception converting JSON to object

I'm guessing there was an API change on GitHub's end that needs to be reflected? There is discussion in #45 after it was closed about this.

@jhohertz
Copy link
Author

jhohertz commented Aug 4, 2021

Just noting the error is now more detailed. Also, Is this plugin actively maintained?

java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
	at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:351)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at com.google.gson.Gson.fromJson(Gson.java:932)
Caused: com.google.gson.JsonSyntaxException
	at com.google.gson.Gson.fromJson(Gson.java:944)
	at com.google.gson.Gson.fromJson(Gson.java:897)
	at org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:455)
Caused: java.io.IOException: Parse exception converting JSON to object
	at org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:457)
	at org.eclipse.egit.github.core.client.GitHubClient.getBody(GitHubClient.java:562)
	at org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:774)
	at org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:175)
	at org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:1)
	at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
	at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:295)
	at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:207)
	at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:162)
	at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:301)
	at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
	at com.cloudbees.groovy.cps.impl.ForInLoopBlock$ContinuationImpl.increment(ForInLoopBlock.java:61)
	at com.cloudbees.groovy.cps.impl.ForInLoopBlock$ContinuationImpl.loopHead(ForInLoopBlock.java:57)
	at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)

@phawzy
Copy link

phawzy commented Apr 4, 2023

this isn't fixed yet?
any plans to fix it soon ?

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

No branches or pull requests

3 participants