NoSuchElementException (when loading change)
See original GitHub issueAddition information: This happens after 16 hours without shutting down IntelliJ and trying to fetch new gerrit changes. It first doesn’t show changes (empty list) and after changing the filter (selecting different Owner in the list) it throws this exception.
Plugin version: 0.9.7.6-142
IntelliJ version: IntelliJ IDEA 15.0.2 IU-143.1184
OS: Linux 3.13.0-79-generic
Java: Oracle Corporation 1.8.0_74
Exception:
java.util.NoSuchElementException
at java.util.ArrayList$Itr.next(ArrayList.java:854)
at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:297)
at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:289)
at com.urswolfer.gerrit.client.rest.http.changes.ChangeApiRestClient.get(ChangeApiRestClient.java:158)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$12.get(GerritUtil.java:401)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$12.get(GerritUtil.java:390)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$18$1.run(GerritUtil.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
(Received as exception report.)
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
How to Fix java.util.NoSuchElementException in Java?
NoSuchElementException : It is the child class of RuntimeException and hence it is an unchecked exception.
Read more >Selenium Webdriver : Getting NoSuchElementException after ...
I switch from window A to window B.When i try to perform an action on window B,it throws No such element exception.I am...
Read more >How to Fix the No Such Element Exception in Java - Rollbar
The NoSuchElementException in Java can be thrown by various accessor methods to indicate that the element being requested does not exist.
Read more >Everything you need to know about NoSuchElementException ...
NoSuchElementException is one of the most common exceptions in Selenium WebDriver, and it is thrown when an HTML element cannot be found. A ......
Read more >What is `NoSuchElementException` in Selenium-Python?
It's possible that the source code of the webpage may have been changed since the last time you accessed it. Change your code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in one of the last releases (fix included in gerrit-rest-java-client).
Questions for everyone who can reproduce this issue: