java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.ml.LearnStateFactory

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

Solutions on the web

via GitHub by electrum
, 1 year ago
Could not initialize class com.facebook.presto.ml.LearnStateFactory
via GitHub by PrabakaranSK
, 2 years ago
Could not initialize class ch.acanda.eclipse.pmd.builder.PMDBuilder
via GitHub by hasancelik
, 9 months ago
Could not initialize class org.fusesource.jansi.WindowsAnsiOutputStream
via GitHub by 9037568
, 6 months ago
Could not initialize class org.openhab.io.dropbox.internal.DropboxSynchronizer
via Stack Overflow by nmarques
, 2 years ago
Could not initialize class org.codehaus.groovy.grails.compiler.injection.test.MockTransformation
java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.ml.LearnStateFactory
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.facebook.presto.operator.aggregation.state.StateCompiler.generateStateFactory(StateCompiler.java:327)
at com.facebook.presto.operator.aggregation.BindableAggregationFunction.specialize(BindableAggregationFunction.java:108)
at com.facebook.presto.metadata.FunctionRegistry$2.load(FunctionRegistry.java:321)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitAggregation(AddExchanges.java:270)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitAggregation(AddExchanges.java:189)
at com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:189)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.planChild(AddExchanges.java:1253)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitProject(AddExchanges.java:232)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitProject(AddExchanges.java:189)
at com.facebook.presto.sql.planner.plan.ProjectNode.accept(ProjectNode.java:81)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.planChild(AddExchanges.java:1253)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitOutput(AddExchanges.java:238)
at com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitOutput(AddExchanges.java:189)
at com.facebook.presto.sql.planner.plan.OutputNode.accept(OutputNode.java:81)
at com.facebook.presto.sql.planner.optimizations.AddExchanges.optimize(AddExchanges.java:151)
at com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:116)
at com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:107)
at com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:290)
at com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:269)
at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:227)
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

Once, 2 months ago
3 times, 3 months ago
Once, 3 months ago
206 times, 3 months ago
70 times, 7 months ago

Write tip

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