Hello,
when I attempt to publish a report from Jasper Studio to a Jasper Server, I got this error:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.base/java.lang.String.substring(Unknown Source)
at com.jaspersoft.studio.server.publish.PublishUtil.getMainReport(PublishUtil.java:56)
at com.jaspersoft.studio.server.publish.Publish.publishResources(Publish.java:107)
at com.jaspersoft.studio.server.publish.Publish.publish(Publish.java:67)
at com.jaspersoft.studio.server.publish.wizard.Publish2ServerWizard$3.run(Publish2ServerWizard.java:310)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Does anyone have any ideas?
Thanks
0 Answers:
No answers yet
does the report works correctly on jaspersoft studio ?
Yes, it works fine
Have you successfully published other reports to the server? If so, post the jrxml for the report.