java.util.NoSuchElementException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by gkrasnow
, 1 year ago
This exception has no message.
via Google Groups by SAURABH JAIN, 1 year ago
This exception has no message.
via Google Groups by sumatheja dasararaju, 3 months ago
This exception has no message.
via Stack Overflow by PaolaG
, 2 years ago
This exception has no message.
java.util.NoSuchElementException:
at java.util.ArrayList$Itr.next(ArrayList.java:854)
at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:297)
at com.urswolfer.gerrit.client.rest.http.changes.ChangeApiRestClient.get(ChangeApiRestClient.java:183)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$14.get(GerritUtil.java:451)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$14.get(GerritUtil.java:440)
at com.urswolfer.intellij.plugin.gerrit.rest.GerritUtil$20$1.run(GerritUtil.java:685)
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 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)

Users with the same issue

5 times, 2 days ago
19 times, 1 month ago
Once, 6 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.