New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharding Proxy throw NullPointerException while querying #3045
Comments
Does your yaml config's format correct? |
Yes. The NullPointerException occurred while Sharding Proxy running. |
Can you show some configuration? Such as |
server.yaml
config-sharding.yaml
|
Can you try it with |
Is this version product-ready? |
We add a check for nonexistent datasource in |
Closed for no response any more |
Bug Report
Which version of ShardingSphere did you use?
latest: 4.0.0-RC2
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-Proxy
Expected behavior
Executing query without exception
Actual behavior
Almost every query I performed, though I got the query result, but there's an error log record below in log file:
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Just regular config, regular sql like
show create table
orselect * from table
can prouduce the error log above.Besides this bug I reported, I also found its unfriendly for developers to use Sharding Proxy:
got when I start Sharding Proxy with some wrong config:
with the error log above, I totally have no idea what's wrong in config file.
The text was updated successfully, but these errors were encountered: