Created
December 14, 2017 21:04
-
-
Save mkurz/19aa22520bad94c3542bd17d0e504f9b to your computer and use it in GitHub Desktop.
Guice 4.1.0 exception when running with Java 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException | |
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2218) | |
at com.google.common.cache.LocalCache.get(LocalCache.java:4147) | |
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) | |
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) | |
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) | |
at com.google.inject.internal.util.StackTraceElements.forMember(StackTraceElements.java:70) | |
at com.google.inject.internal.Errors.formatSource(Errors.java:817) | |
at com.google.inject.internal.Errors.formatSource(Errors.java:796) | |
at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:849) | |
at com.google.inject.internal.Errors.formatSource(Errors.java:811) | |
at com.google.inject.internal.Errors.formatSource(Errors.java:796) | |
at com.google.inject.internal.Errors.format(Errors.java:590) | |
at com.google.inject.CreationException.getMessage(CreationException.java:50) | |
... | |
Caused by: java.lang.IllegalArgumentException | |
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source) | |
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source) | |
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source) | |
at com.google.inject.internal.util.LineNumbers.<init>(LineNumbers.java:66) | |
at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:46) | |
at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:43) | |
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) | |
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) | |
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) | |
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment