Dagger-2.17 An exception occurred: java.util.NoSuchElementException
See original GitHub issuee: [kapt] An exception occurred: java.util.NoSuchElementException
at com.sun.tools.javac.util.List$2.next(List.java:432)
at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:302)
at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:254)
at dagger.android.processor.AndroidMapKeys.mapKeyValue(AndroidMapKeys.java:75)
at dagger.android.processor.AndroidMapKeys.lambda$annotationsAndFrameworkTypes$5(AndroidMapKeys.java:56)
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1321)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:54
- Comments:38
Top Results From Across the Web
Cannot find symbol class DataBindingComponent caused by ...
I managed to solve the error by. changing debugImplementation "com.squareup.okhttp3:logging-interceptor:3.8.0" to implementation ...
Read more >java.util.NoSuchElementException with Dagger 2.27 - - Bountysource
Just tried upgrading our app to Dagger 2.27 and removed all JvmStatic annotations and get this internal error in compilation. Dagger expects something...
Read more >ThermalManagerService.java - Android Code Search
"Couldn't get cooling device because of HAL error: " ... libcore/ojluni/src/main/java/java/util/NoSuchElementException.java(1 occurrence) 36: public class ...
Read more >How to handle java.util.NoSuchElementException
This exception extends the RuntimeException class and thus belongs to those exceptions that can be thrown during the operation of the Java ......
Read more >Android - Dagger
[ERROR] COMPILATION ERROR : [ERROR] error: java.util.concurrent.Executor cannot be provided without an @Provides-annotated method. Fix the problem by adding an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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
To confirm, v2.16 works fine. Only happens when switching to v2.17
Jetifier bug raised: https://issuetracker.google.com/issues/115738511