Jump to content
We've recently updated our Privacy Statement, available here ×

srikuba

Members
  • Posts

    6
  • Joined

  • Last visited

srikuba's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello, I am designing a master report which has 3 subreports. Each subreport may or may not return any result set. If I place the subreports one after the other and run the report, the results are overlapped. I have tried changing 'position type' and 'stretch' properties on the subreport. But changing these properties is rendering blank spaces where it should print the results. Can someone please suggest what needs to be done so that I can dynamically size the result set from each subreport and display one after another instead of overlapping. Im currently using ireport v3.0.0.
  2. Hello, Also the subreports seems to work fine when run locally. But I need to place the code on a remote machine. When i do this, the main report complains that it cannot find the sub report. Is there anything obvious that I am missing. It is running ok on my machine. Do we need to set anything on remote machine for my subreports to work? Thanks
  3. The file very much exist in the path /home/subreport/ net.sf.jasperreports.engine.JRException: Could not load object from location : /home/subreport/ProductStatisticsSubreport.jasper at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java:266) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateSubreport(JRFillSubreport.java:308) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:257) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:426) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummarySamePage(JRVerticalFiller.java:920) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:854) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:286) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:120) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:795) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402) Post Edited by srikuba srikuba at 04/08/09 09:22
  4. Can someone please take a look at this one and suggest me something.
  5. Hello, I am running iReport version 2.0.5. Although I've been using iReports for a while, never used subreports before. I have used them for the first time and was getting the exception 'could not load object from path' while I am running from remote machine. Works fine if I run on my machine.. I have gone through few of the forums here and in one of the threads I ve read that we need to install iReport on remote machine as well. Is this the right approach. I know the latest version of iReport may solve this problem. But I am not sure if I could do this because our project has many reports designed using the older version and including the newer versions may effect them as well. Any suggestion will be of great help. Thanks.
  6. Hello, I was trying to use a subreport with an older version of iReport 2.0.4. I had few problems like 'Could not load object from location..'. I could resolve that by upgrading to the newer version of iReport and ive copied the jasper report jar as well for the lastest version. After the upgrade I no more have the previous error message but the application is throwing the following message. My jrxml file starts with the following lines. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="reportName" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20"> The exception says 'xmlns' must be declared although I have it declared. [java] 2009-03-30 15:20:26,860 [AWT-EventQueue-0] ERROR org.apache.commons.digester.Digester - Parse Error at line 4 column 273: Attribute "xmlns" must be declared for element type "jasperReport". [java] org.xml.sax.SAXParseException: Attribute "xmlns" must be declared for element type "jasperReport". [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236) [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) [java] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(XMLDTDValidator.java:1306) [java] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1971) [java] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:795) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794) Any suggestion will be of great help. Thanks Sri
×
×
  • Create New...