Project: talenddataquality
Issue TDQ-5850: should not check connection when select a DBConnecion
1.start/restart a studio(there some DBConnection are in the worksapce). 2.select a connection(make the connection connect fail before starting the studio). 3.it will check the connection,and throw exception: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException org.talend.core.model.metadata.builder.database.ExtractMetaDataUtils.getConnection(ExtractMetaDataUtils.java:567) org.talend.core.model.metadata.builder.util.MetadataConnectionUtils.getConnection(MetadataConnectionUtils.java:1153) org.talend.core.model.metadata.builder.util.MetadataConnectionUtils.getClassDriver(MetadataConnectionUtils.java:624) org.talend.core.model.metadata.builder.util.MetadataConnectionUtils.checkConnection(MetadataConnectionUtils.java:198) org.talend.core.model.metadata.builder.util.MetadataConnectionUtils.checkConnection(MetadataConnectionUtils.java:295) org.talend.core.model.metadata.builder.database.JavaSqlFactory.createConnection(JavaSqlFactory.java:148) org.talend.cwm.management.api.SoftwareSystemManager.getSoftwareSystem(SoftwareSystemManager.java:66) org.talend.dataprofiler.core.ui.views.RespositoryDetailView.createDataProviderDetail(RespositoryDetailView.java:641) org.talend.dataprofiler.core.ui.views.RespositoryDetailView.selectionChanged(RespositoryDetailView.java:265) it's seems caused by detail view.I think we should not check the connection at this time.
Story points: 8