java.lang.NullPointerException: This exception has no message.

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 xwinie
, 1 year ago
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.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.tree.Table.accept(Table.java:50)
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.tree.QuerySpecification.accept(QuerySpecification.java:125)
at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitQuery(StatementAnalyzer.java:931)
at com.facebook.presto.sql.tree.Query.accept(Query.java:103)
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 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

You are the first who have seen this exception.

Write tip

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