You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/25 10:30:03 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue, #17944: NPE occurred when use database

zjcnb opened a new issue, #17944:
URL: https://github.com/apache/shardingsphere/issues/17944

   ### Which version of ShardingSphere did you use?
   
   `master`
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   `ShardingSphere-Proxy`
   
   ```
   [ERROR] 2022-05-25 18:27:45.967 [ShardingSphere-Command-0] o.a.s.p.f.c.CommandExecutorTask - Exception occur: 
   java.lang.NullPointerException: null
   	at org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderFactory.getInstance(QueryHeaderBuilderFactory.java:44)
   	at org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderEngine.build(QueryHeaderBuilderEngine.java:55)
   	at org.apache.shardingsphere.proxy.backend.text.admin.DatabaseAdminQueryBackendHandler.createResponseHeader(DatabaseAdminQueryBackendHandler.java:72)
   	at org.apache.shardingsphere.proxy.backend.text.admin.DatabaseAdminQueryBackendHandler.execute(DatabaseAdminQueryBackendHandler.java:61)
   	at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:97)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:106)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   [ERROR] 2022-05-25 18:27:45.986 [ShardingSphere-Command-0] o.a.s.p.f.c.CommandExecutorTask - Exception occur: 
   java.lang.NullPointerException: null
   	at org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderFactory.getInstance(QueryHeaderBuilderFactory.java:44)
   	at org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderEngine.build(QueryHeaderBuilderEngine.java:55)
   	at org.apache.shardingsphere.proxy.backend.text.admin.DatabaseAdminQueryBackendHandler.createResponseHeader(DatabaseAdminQueryBackendHandler.java:72)
   	at org.apache.shardingsphere.proxy.backend.text.admin.DatabaseAdminQueryBackendHandler.execute(DatabaseAdminQueryBackendHandler.java:61)
   	at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:97)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:106)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zjcnb commented on issue #17944: NPE occurred when use database

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #17944:
URL: https://github.com/apache/shardingsphere/issues/17944#issuecomment-1137103812

   > @zjcnb I meet the same exception when execute `show tables`. I will try to fix this bug.
   
   OK,  thx


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #17944: NPE occurred when use database

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #17944:
URL: https://github.com/apache/shardingsphere/issues/17944#issuecomment-1137140673

   Fixed by #17944.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #17944: NPE occurred when use database

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #17944:
URL: https://github.com/apache/shardingsphere/issues/17944#issuecomment-1137101613

   @zjcnb I meet the same exception when execute `show tables`. I will try to fix this bug.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zjcnb commented on issue #17944: NPE occurred when use database

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #17944:
URL: https://github.com/apache/shardingsphere/issues/17944#issuecomment-1137075200

   @TeslaCN Hi, can you look this?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu closed issue #17944: NPE occurred when use database

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #17944: NPE occurred when use database
URL: https://github.com/apache/shardingsphere/issues/17944


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org