TeslaCN opened a new issue #16301:
URL: https://github.com/apache/shardingsphere/issues/16301
## Bug Report
### Which version of ShardingSphere did you use?
master - edf83226b03c979af77543a34356ad435c330749
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
ShardingSphere-Proxy in memory mode startup succeeded.
### Actual behavior
```
Exception in thread "main" java.lang.NullPointerException: Cannot invoke
"org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema.getTables()"
because the return value of
"org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData.getSchema()"
is null
at
org.apache.shardingsphere.infra.federation.optimizer.metadata.FederationMetaData.<init>(FederationMetaData.java:38)
at
org.apache.shardingsphere.infra.federation.optimizer.context.OptimizerContextFactory.create(OptimizerContextFactory.java:47)
at
org.apache.shardingsphere.mode.metadata.MetaDataContextsBuilder.build(MetaDataContextsBuilder.java:113)
at
org.apache.shardingsphere.mode.manager.memory.MemoryContextManagerBuilder.build(MemoryContextManagerBuilder.java:58)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:72)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:57)
at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]