Due to a bug in
iReport-4.5.1-src/jasperserver-plugin/src/com/jaspersoft/ireport/jasperserver/ws/scheduling/ReportSchedulerFacade.java
it is not possible to access the Scheduling Webservice of a jasperserver through this class:
java.lang.NullPointerException
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:188)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.(Service.java:144)
at com.jaspersoft.ireport.jasperserver.ws.scheduling.ReportSchedulerServiceLocator.(ReportSchedulerServiceLocator.java:39)
at com.jaspersoft.ireport.jasperserver.ws.scheduling.ReportSchedulerFacade.createServiceStub(ReportSchedulerFacade.java:76)
at com.jaspersoft.ireport.jasperserver.ws.scheduling.ReportSchedulerFacade.(ReportSchedulerFacade.java:63)
The fix is short and simple, here's a patch:
--- ReportSchedulerFacade.java 2012-04-05 17:21:37.779688322 +0200
+++ ReportSchedulerFacade.java.new 2012-04-05 17:21:02.207688723 +0200
@@ -47,7 +47,7 @@
private static final String NAMESPACE = "http://www.jasperforge.org/jasperserver/ws";
private static final String HEADER_LOCALE = "locale";
- private static final String AXIS_CONFIGURATION_RESOURCE = "/com/jaspersoft/jasperserver/ws/scheduling/client-config.wsdd";
+ private static final String AXIS_CONFIGURATION_RESOURCE = "/com/jaspersoft/ireport/jasperserver/ws/scheduling/client-config.wsdd";
private final ReportSchedulerSoapBindingStub service;
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now