We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbd6c9 commit 92d0c47Copy full SHA for 92d0c47
src/main/java/com/jaspersoft/jasperserver/jaxrs/client/core/JasperserverRestClient.java
@@ -36,8 +36,8 @@ public class JasperserverRestClient {
36
private final RestClientConfiguration configuration;
37
38
public JasperserverRestClient(RestClientConfiguration configuration) {
39
- if (configuration == null) {
40
- throw new IllegalArgumentException("You must define the configuration");
+ if (configuration == null || configuration.getJasperReportsServerUrl() == null) {
+ throw new IllegalArgumentException("You must define the configuration (at least Jasperserver URL)");
41
}
42
this.configuration = configuration;
43
0 commit comments