java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123789

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at com.facebook.presto.mongodb.MongoSession.guessTableFields(MongoSession.java:508) at com.facebook.presto.mongodb.MongoSession.getTableMetadata(MongoSession.java:403) at com.facebook.presto.mongodb.MongoSession.loadTableSchema(MongoSession.java:189) at com.facebook.presto.mongodb.MongoSession.access$000(MongoSession.java:78) at com.facebook.presto.mongodb.MongoSession$1.load(MongoSession.java:137) at com.facebook.presto.mongodb.MongoSession$1.load(MongoSession.java:132) 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 com.facebook.presto.mongodb.MongoSession.getCacheValue(MongoSession.java:241) at com.facebook.presto.mongodb.MongoSession.getTable(MongoSession.java:169) at com.facebook.presto.mongodb.MongoMetadata.getTableHandle(MongoMetadata.java:83) at com.facebook.presto.mongodb.MongoMetadata.getTableHandle(MongoMetadata.java:56) at com.facebook.presto.transaction.LegacyConnectorMetadata.getTableHandle(LegacyConnectorMetadata.java:71) at com.facebook.presto.metadata.MetadataManager.getTableHandle(MetadataManager.java:287) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitTable(StatementAnalyzer.java:1053) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitTable(StatementAnalyzer.java:232) at com.facebook.presto.sql.tree.Table.accept(Table.java:50) at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22) at com.facebook.presto.sql.analyzer.StatementAnalyzer.analyzeFrom(StatementAnalyzer.java:1858) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuerySpecification(StatementAnalyzer.java:1165) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuerySpecification(StatementAnalyzer.java:232) at com.facebook.presto.sql.tree.QuerySpecification.accept(QuerySpecification.java:125) at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuery(StatementAnalyzer.java:931) at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuery(StatementAnalyzer.java:232) at com.facebook.presto.sql.tree.Query.accept(Query.java:103) at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22) at com.facebook.presto.sql.analyzer.Analyzer.analyze(Analyzer.java:60) at com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:277) at com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:263) at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:227) at com.facebook.presto.execution.QueuedExecution.lambda$start$1(QueuedExecution.java:68) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.