ceszamora Posted March 26, 2021 Share Posted March 26, 2021 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 Link to comment Share on other sites More sharing options...
yassinswag50 Posted March 26, 2021 Share Posted March 26, 2021 does the report works correctly on jaspersoft studio ? Link to comment Share on other sites More sharing options...
ceszamora Posted March 26, 2021 Author Share Posted March 26, 2021 Yes, it works fine Link to comment Share on other sites More sharing options...
djohnson53 Posted March 29, 2021 Share Posted March 29, 2021 Have you successfully published other reports to the server? If so, post the jrxml for the report. Link to comment Share on other sites More sharing options...
Recommended Posts
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