We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I start seeing #155 with the recent entur/lamassu@2023-09-20T14-28, though no ENV=DEV is activated, i.e. in production mode:
ENV=DEV
{"serviceContext":{"service":"lamassu"},"message":"Caught exception in ForkJoinPool\njava.lang.ClassCastException: null\n\tat java.base/jdk.internal.reflect.GeneratedConstructorAccessor189.newInstance(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)\n\tat java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:564)\n\tat java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591)\n\tat java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:689)\n\tat java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)\n\tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)\n\tat java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)\n\tat java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765)\n\tat org.entur.gbfs.GbfsSubscriptionManager.lambda$update$0(GbfsSubscriptionManager.java:68)\n\tat java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)\n\tat java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)\n\tat java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)\n\tat java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)\n\tat java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)\n\tat java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)\nCaused by: java.lang.ClassCastException: null\n","reportLocation":{"filePath":"org.entur.lamassu.leader.FeedUpdater","lineNumber":"95","functionName":"lambda$start$0"},"severity":"WARNING"}
As the result is temporary loss of data, this is more serious than just seeing this issue in development.
Inspecting /app/libdir in the container, I see spring-boot-devtools-2.7.15.jar in the packaged libs. pom.xml declares this lib as optional runtime, but nevertheless, jib packages it within the docker image, which is expected and discussed also in GoogleContainerTools/jib#2336.
/app/lib
spring-boot-devtools-2.7.15.jar
An appropriate way to solve this (by excluding spring-boot-devtools), might be to add https://github.com/GoogleContainerTools/jib-extensions/tree/master/first-party/jib-spring-boot-extension-maven to pom.xml.
The text was updated successfully, but these errors were encountered:
Looks like a reasonable fix
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I start seeing #155 with the recent entur/lamassu@2023-09-20T14-28, though no
ENV=DEV
is activated, i.e. in production mode:As the result is temporary loss of data, this is more serious than just seeing this issue in development.
Inspecting
/app/lib
dir in the container, I seespring-boot-devtools-2.7.15.jar
in the packaged libs. pom.xml declares this lib as optional runtime, but nevertheless, jib packages it within the docker image, which is expected and discussed also in GoogleContainerTools/jib#2336.An appropriate way to solve this (by excluding spring-boot-devtools), might be to add https://github.com/GoogleContainerTools/jib-extensions/tree/master/first-party/jib-spring-boot-extension-maven to pom.xml.
The text was updated successfully, but these errors were encountered: