Error publishing from Jasper Studio

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

 

ceszamora's picture
Joined: Nov 12 2020 - 10:27am
Last seen: 1 month 1 week ago

does the report works correctly on jaspersoft studio ?

yassinswag50 - 2 years 5 months ago

Yes, it works fine

ceszamora - 2 years 5 months ago

Have you successfully published other reports to the server?  If so,  post the jrxml for the report.

djohnson53 - 2 years 5 months ago

0 Answers:

No answers yet
Feedback