java.lang.NullPointerException

GitHub | xwinie | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.facebook.presto.mongodb.MongoSession.guessTableFields()
  2. com.facebook.presto
    MongoSession$1.load
    1. com.facebook.presto.mongodb.MongoSession.guessTableFields(MongoSession.java:508)
    2. com.facebook.presto.mongodb.MongoSession.getTableMetadata(MongoSession.java:403)
    3. com.facebook.presto.mongodb.MongoSession.loadTableSchema(MongoSession.java:189)
    4. com.facebook.presto.mongodb.MongoSession.access$000(MongoSession.java:78)
    5. com.facebook.presto.mongodb.MongoSession$1.load(MongoSession.java:137)
    6. com.facebook.presto.mongodb.MongoSession$1.load(MongoSession.java:132)
    6 frames
  3. Guava
    LocalCache$LocalLoadingCache.get
    1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
    2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
    3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
    4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
    5. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
    6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
    7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
    7 frames
  4. com.facebook.presto
    LegacyConnectorMetadata.getTableHandle
    1. com.facebook.presto.mongodb.MongoSession.getCacheValue(MongoSession.java:241)
    2. com.facebook.presto.mongodb.MongoSession.getTable(MongoSession.java:169)
    3. com.facebook.presto.mongodb.MongoMetadata.getTableHandle(MongoMetadata.java:83)
    4. com.facebook.presto.mongodb.MongoMetadata.getTableHandle(MongoMetadata.java:56)
    5. com.facebook.presto.transaction.LegacyConnectorMetadata.getTableHandle(LegacyConnectorMetadata.java:71)
    5 frames
  5. presto-main
    StatementAnalyzer.visitTable
    1. com.facebook.presto.metadata.MetadataManager.getTableHandle(MetadataManager.java:287)
    2. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitTable(StatementAnalyzer.java:1053)
    3. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitTable(StatementAnalyzer.java:232)
    3 frames
  6. presto-parser
    AstVisitor.process
    1. com.facebook.presto.sql.tree.Table.accept(Table.java:50)
    2. com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
    2 frames
  7. presto-main
    StatementAnalyzer.visitQuerySpecification
    1. com.facebook.presto.sql.analyzer.StatementAnalyzer.analyzeFrom(StatementAnalyzer.java:1858)
    2. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuerySpecification(StatementAnalyzer.java:1165)
    3. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuerySpecification(StatementAnalyzer.java:232)
    3 frames
  8. presto-parser
    AstVisitor.process
    1. com.facebook.presto.sql.tree.QuerySpecification.accept(QuerySpecification.java:125)
    2. com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
    2 frames
  9. presto-main
    StatementAnalyzer.visitQuery
    1. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuery(StatementAnalyzer.java:931)
    2. com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuery(StatementAnalyzer.java:232)
    2 frames
  10. presto-parser
    AstVisitor.process
    1. com.facebook.presto.sql.tree.Query.accept(Query.java:103)
    2. com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
    2 frames
  11. presto-main
    QueuedExecution.lambda$start$1
    1. com.facebook.presto.sql.analyzer.Analyzer.analyze(Analyzer.java:60)
    2. com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:277)
    3. com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:263)
    4. com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:227)
    5. com.facebook.presto.execution.QueuedExecution.lambda$start$1(QueuedExecution.java:68)
    5 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames