Skip to content
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

fixup springboot3 migration network-store client 1.4 needed #333

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

jonenst
Copy link
Contributor

@jonenst jonenst commented Sep 22, 2023

network-modification-server_1 | java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.client.ClientHttpResponse.getStatusCode()'
network-modification-server_1 | at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[na:na]
network-modification-server_1 | at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source) ~[na:na]
network-modification-server_1 | at org.gridsuite.modification.server.service.BuildWorkerService.startBuild(BuildWorkerService.java:116) ~[classes/:na]
network-modification-server_1 | at org.gridsuite.modification.server.service.BuildWorkerService.lambda$consumeBuild$1(BuildWorkerService.java:107) ~[classes/:na]
network-modification-server_1 | Caused by: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.client.ClientHttpResponse.getStatusCode()'
network-modification-server_1 | at com.powsybl.network.store.client.RestTemplateResponseErrorHandler.hasError(RestTemplateResponseErrorHandler.java:32) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1 | at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:904) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1 | at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:864) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1 | at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:764) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1 | at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:675) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1 | at com.powsybl.network.store.client.RestClientImpl.getDocument(RestClientImpl.java:46) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1 | at com.powsybl.network.store.client.RestClientImpl.getOne(RestClientImpl.java:77) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1 | at com.powsybl.network.store.client.RestNetworkStoreClient.get(RestNetworkStoreClient.java:88) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1 | at com.powsybl.network.store.client.RestNetworkStoreClient.getNetwork(RestNetworkStoreClient.java:159) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1 | at com.powsybl.network.store.iidm.impl.AbstractForwardingNetworkStoreClient.getNetwork(AbstractForwardingNetworkStoreClient.java:18) ~[powsybl-network-store-iidm-impl-1.3.0.jar:na]
network-modification-server_1 | at com.powsybl.network.store.iidm.impl.CachedNetworkStoreClient.lambda$new$1(CachedNetworkStoreClient.java:29) ~[powsybl-network-store-iidm-impl-1.3.0.jar:na]

network-modification-server_1    | java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.client.ClientHttpResponse.getStatusCode()'
network-modification-server_1    | 	at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[na:na]
network-modification-server_1    | 	at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source) ~[na:na]
network-modification-server_1    | 	at org.gridsuite.modification.server.service.BuildWorkerService.startBuild(BuildWorkerService.java:116) ~[classes/:na]
network-modification-server_1    | 	at org.gridsuite.modification.server.service.BuildWorkerService.lambda$consumeBuild$1(BuildWorkerService.java:107) ~[classes/:na]
network-modification-server_1    | Caused by: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.client.ClientHttpResponse.getStatusCode()'
network-modification-server_1    | 	at com.powsybl.network.store.client.RestTemplateResponseErrorHandler.hasError(RestTemplateResponseErrorHandler.java:32) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1    | 	at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:904) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1    | 	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:864) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1    | 	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:764) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1    | 	at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:675) ~[spring-web-6.0.11.jar:6.0.11]
network-modification-server_1    | 	at com.powsybl.network.store.client.RestClientImpl.getDocument(RestClientImpl.java:46) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1    | 	at com.powsybl.network.store.client.RestClientImpl.getOne(RestClientImpl.java:77) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1    | 	at com.powsybl.network.store.client.RestNetworkStoreClient.get(RestNetworkStoreClient.java:88) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1    | 	at com.powsybl.network.store.client.RestNetworkStoreClient.getNetwork(RestNetworkStoreClient.java:159) ~[powsybl-network-store-client-1.3.0.jar:na]
network-modification-server_1    | 	at com.powsybl.network.store.iidm.impl.AbstractForwardingNetworkStoreClient.getNetwork(AbstractForwardingNetworkStoreClient.java:18) ~[powsybl-network-store-iidm-impl-1.3.0.jar:na]
network-modification-server_1    | 	at com.powsybl.network.store.iidm.impl.CachedNetworkStoreClient.lambda$new$1(CachedNetworkStoreClient.java:29) ~[powsybl-network-store-iidm-impl-1.3.0.jar:na]
@thangqp thangqp self-requested a review September 22, 2023 16:19
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jonenst jonenst merged commit 71edaa1 into main Sep 22, 2023
4 checks passed
@jonenst jonenst deleted the fixspringboot3 branch September 22, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants