Jump to content

shaunw

Members
  • Posts

    40
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by shaunw

  1. Dear experts On screen we have a text field click "Show More". A subreport underneath it must then appear. "Show Less" must appear.When clicked, the subreport hides, and "Show More" reappears. How is this done? Does it use hyperlinks to change a parameter's value? Does it require a hyperlink passing a value? Many thanks in anticipation of sharing your knowledge.
  2. Yet again, back to the basics. I have created the parameter and am isolating the test to showing or hiding a subreport. I set the "Initial Value Expression" of this parameter to "0" (in quotes), and "Variable Class" to "java.lang.String". No other properties are changed. In the subreport element within the main report, I set the "Print When Expression" to ($P{ShowClientSummary}.equals(“1”) ? Boolean.TRUE : Boolean.FALSE), yet the subreport shows in the preview. What have I done/not done? I'm most grateful for your time.
  3. I'm really sorry to have to elaborate, but changing a parameter value seems quite elusive to me. I've experimented, googled and searched, but cannot get that working. What mechanism do I use to do it?
  4. Hi there. Murray here. I need to create a sort of "hyperlink" such that when a button is clicked below a chart, the data displays below it. You have a "Show Data" button which when the data displays, toggles to "Hide Data" and vice versa. Many thanks
  5. This expression found them for me in the Find and Replace uuid="\w*-\w*-\w*-\w*-\w*"
  6. Thi matched them for me in the find replace: uuid="\w*-\w*-\w*-\w*-\w*"
  7. Tx. Would ticking Use Virtualiser under the Compilation and Executions Options tab help? Where can I adjust the Jave heap space? Can you elaborate on your second suggestion please?
  8. It seems if I have 4 subreports then I run out of memory when trying to preview them. If there are three it works....
  9. Say, Using 4.1.1 . There are numerous subreports. How can I get to bottom of issue? Tx Error filling print... java.lang.OutOfMemoryError: Java heap space null java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:83) at java.security.AccessController.doPrivileged(Native Method) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:80) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:78) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:37) at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:249) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:115) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:78) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:37) at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:249) at org.codehaus.groovy.reflection.CachedMethod.find(CachedMethod.java:56) at groovy.lang.MetaClassImpl.applyPropertyDescriptors(MetaClassImpl.java:2219) at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:1995) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2950) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2921) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:195) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:214) at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:747) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:107) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:148) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at SARTotalDue46jrxml_1310628344717_17852.initParams(calculator_SARTotalDue46jrxml_1310628344717_17852:87) at SARTotalDue46jrxml_1310628344717_17852$initParams.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) Print not filled. Try to use an EmptyDataSource...
  10. Say, Just upgraded to 4.1.1 and same issue. I have a number of subreports... can this be an issue? Sorry I made an error in original port: "If I tick(should read UNTICK) ignore pagination in the main report and choose pre-view, the report just hangs and never displays. Post Edited by shaunw at 08/13/2011 18:30 Post Edited by shaunw at 08/13/2011 18:32
  11. Say, I have a report with about 10 subreports. If I untick ignore pagination in the main report and choose pre-view, the report just hangs and never displays. If its ticked report prints fine but as 1 long page. Any idea please? Post Edited by shaunw at 08/13/2011 18:31
  12. Say, I've selected time period as "Month" but the format of the Time-Axis is Month-YYYY. Can I change it to Month-YY as horizontal space is an issue? Also can I specify the horizontal scaling so that the chart fits in the the available horizontal space? Tx Shaun
  13. Tx for the feedback. If that was the case then why when I Tick "Ignore Pagination" does the report print? This is surely a layout issue, and not a data issue. There are numerous subreports..... Any ideas please?
  14. Say, Any ideas how to find whats causing the error? I want the reports detail band to run onto the next page. Code:Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndFragment:0000010979 Compiling to file... C:\Documents and Settings\admin\My Documents\Voip SW\iReports\Savings Analysis Report & Management InvoiceTest.jasper Compiling subreports.... Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallNoTot.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallCostPerMinOSC.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallCostPerMinSC.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARRentals.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallCost.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallCostSC.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARClientSummary.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallDur.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallDurSC.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallDurTot.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARSummary.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARTotalDue.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARContracts.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallNo.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallCostTot.jrxml already compiled. Subreport C:\Documents and Settings\admin\My Documents\Voip SW\iReports\SARCallNoSC.jrxml already compiled. Compilation running time: 1,890! Filling report... Locale: English (South Africa) Time zone: Default Error filling print... Error encountered while waiting on the report filling thread.net.sf.jasperreports.engine.JRRuntimeException: Error encountered while waiting on the report filling thread. at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.waitResult(JRThreadSubreportRunner.java:111) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.start(JRThreadSubreportRunner.java:74) at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:634) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:327) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:402) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:361) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2045) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:749) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:252) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:110) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:923) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:826) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:59) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:858) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Caused by: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.waitResult(JRThreadSubreportRunner.java:100) ... 17 more Print not filled. Try to use an EmptyDataSource...
×
×
  • Create New...