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 2020/05/22 11:19:57 UTC

[GitHub] [shardingsphere] musarona opened a new issue #5761: 4.1.0 release suck. why can such version been released?

musarona opened a new issue #5761:
URL: https://github.com/apache/shardingsphere/issues/5761


   another crash.
   `Caused by: java.lang.NullPointerException: null
   	at org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData.getIndexes(TableMetaData.java:72)
   	at org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData.<init>(TableMetaData.java:53)
   	at org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaDataLoader.load(SchemaMetaDataLoader.java:84)`
   
   source code in 4.1.0
   `public static Collection<IndexMetaData> load(final Connection connection, final String table) throws SQLException {
           Collection<IndexMetaData> result = new HashSet<>();
           try (ResultSet resultSet = connection.getMetaData().getIndexInfo(connection.getCatalog(), JdbcUtil.getSchema(connection), table, false, false)) {
               while (resultSet.next()) {
                   String indexName = resultSet.getString(INDEX_NAME);
                   result.add(new IndexMetaData(indexName));
               }
           }
           return result;
       }`
   
   master trunk have fixed the problem。the version was released without any test.


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] terrymanu commented on issue #5761: 4.1.0 release suck. why can such version been released?

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


   Hi, it is impolite for the title, So I just close this one. Friendly communicate are always welcomed.


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] terrymanu closed issue #5761: 4.1.0 release suck. why can such version been released?

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #5761:
URL: https://github.com/apache/shardingsphere/issues/5761


   


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] kimmking commented on issue #5761: 4.1.0 release suck. why can such version been released?

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


   we will fix in 4.1.1 soon.


----------------------------------------------------------------
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.

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