firefighter Posted November 12, 2019 Share Posted November 12, 2019 My report has three subreports in detailband: text, table and signature. The text is too long and it does not fit all on one page I get during the compilation by java the error:java.lang.NoSuchMethodError: org.apache.commons.javaflow.Continuation.suspend()Ljava/lang/Object;util.exception.ExternalException[global.excobserver.ExceptionObserver.catchAllShowMessage(ExceptionObserver.java:86), service.ireport.rmi.iReportServiceRMIImpl.getJasperPrint(iReportServiceRMIImpl.java:114), sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), de.excoda.rmi.codebase.global.impl.RMIServiceInvocationHandler.invoke(RMIServiceInvocationHandler.java:72), com.sun.proxy.$Proxy14.getJasperPrint(Unknown Source), sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), sun.rmi.server.UnicastServerRef.dispatch(Unknown Source), sun.rmi.transport.Transport$1.run(Unknown Source), sun.rmi.transport.Transport$1.run(Unknown Source), java.security.AccessController.doPrivileged(Native Method), sun.rmi.transport.Transport.serviceCall(Unknown Source), sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source), sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source), sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source), java.security.AccessController.doPrivileged(Native Method), sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)]What do I have to do so that the detailband makes an automatic page break? For example: subreport text and table on the first and signature on the second page or text on first and table and signature on second. Link to comment Share on other sites More sharing options...
C-Box Posted November 14, 2019 Share Posted November 14, 2019 All subreports should have position type set to float and be placed below each other. Than it will automatically break pages.Hth + regards C-BOX Link to comment Share on other sites More sharing options...
firefighter Posted November 28, 2019 Author Share Posted November 28, 2019 Thank you for your answer C-BOX.The Subreport with signature move to next page. But the subreport with the table doesnt split. I get the same error. Here you can see the detailsection from my report. Stretchtype of all items is float Link to comment Share on other sites More sharing options...
C-Box Posted November 28, 2019 Share Posted November 28, 2019 I guess (!) The problem is the subreport within the column footer band. This is normally a fix band and should not contain any self stretching content.What should be rendered there? Hth + regardsC-Box Link to comment Share on other sites More sharing options...
firefighter Posted December 9, 2019 Author Share Posted December 9, 2019 In the columnfooter I would rendered some informations wich I will print only on the back page. I remove the column footer band but no change. I think the problem is the subreport with the table. If text is to long and table should split i get the error. 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