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

ddaly

Members
  • Posts

    35
  • Joined

  • Last visited

ddaly's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. It seems that in the current (6.0.3) version of Studio, it needs to have a java.lang.String parameter. Just adding a parameter called 'dummy' with "Is For Prompt" = true and Class Type of java.lang.String got around this problem for me. When I preview the report, I enter some value in the dummy parameter and the report to runs fine.
  2. see http://community.jaspersoft.com/jasperreports-server/issues/3694 for a possible work-around
  3. Changed Assigned User from @anonymous to @User_306070 Able to work around this bug by applying a patch to mondrian. The problem appears to be in the way ji-jpivot-5.1.0 uses mondrian but the source for ji-jpivot does not seem to be available. Instead I patched mondrian. Started with mondrian version 3.6.7 (tag = 3.6.7-R) and applied the following patch. The resulting jar was hot-patched into our production JasperReports Server 5.6.0. Obviously it is not a great fix but it got our Analysis working again.Patch:diff --git a/src/main/mondrian/olap/DelegatingSchemaReader.java b/src/main/mondrian/olap/DelegatingSchemaReader.javaindex 99e3ec8..d82b54c 100644--- a/src/main/mondrian/olap/DelegatingSchemaReader.java+++ b/src/main/mondrian/olap/DelegatingSchemaReader.java@@ -75,7 +75,11 @@ public abstract class DelegatingSchemaReader implements SchemaReader { } public List getMemberChildren(Member member) {- return schemaReader.getMemberChildren(member);+ try {+ return schemaReader.getMemberChildren(member);+ } catch (java.util.EmptyStackException e) {+ return schemaReader.withLocus().getMemberChildren(member);+ } } public List getMemberChildren(List members) {
  4. Changed Assigned User from - to @User_306070 Perhaps a related problem is that instead of a blank page, I was getting a pdf without any page breaks.My work around was to add to the pdfOutput bean in applicationContext-report-scheduling.xmlPatch:--- applicationContext-report-scheduling.xml.orig 2014-08-28 14:26:44.802835028 -0700+++ applicationContext-report-scheduling.xml 2014-08-28 14:29:01.606835216 -0700@@ -374,6 +374,7 @@ +
  5. I agree JPivot is a different project but it seems that Jaspersoft is using a modified version. The jar file is ji-jpivot-5.1.0 and the build guide states: JasperJPivot is adapted from the JPivot open source project. I would be happy to use the standard jpivot but I have been unable to get it to work so far.
  6. I did. It seems that the 'src' file there doesn't have source for jpivot. It looks like it only has ji-jpivot-5.1.0.jar. The build guide I referred to also indicates that the jpivot source needs to come from somewhere else (see Appendix A.1 in the build guide).
  7. There has been a pretty serious bug in the community edition of JasperAnalysis apparently since the 5.6 release (a little over a month ago). The bug is described here: http://community.jaspersoft.com/jasperreports-server/issues/3694 It would seem that in order to debug this problem the jasperjpivot source is needed. According to the JasperReports-Server-CP-Source-Build-Guide.pdf, the jasperjpivot source can be obtained from the technical support website. Unfortunately a login is needed for this site which presumably is only available to those with support contracts. Is the jasperjpivot source available from somewhere else? Daryl.
  8. Changed Assigned User from @User_306070 to @anonymous I am also getting this same error with JasperServer 5.6. I just upgraded from 5.0.
  9. Here is my customized client.py. It is based on ZSI svn source revision 1495. There is not much to my change. The ReceiveSOAP parses out the multi-part payloads then Receive returns the payloads. There is an API change because Receive either returns the normal reply or, if there are additional payloads, the normal reply plus the payloads. Because of this, it may break other usages of this routine.
  10. Have you seen this post: http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=56887#56887 I suspect you are running into the same problem I had though I was using ZSI rather than SOAPpy. I have patched ZSI's client.py to make it work with JasperServer's runreport. Attached is my customized client.py. It is based on ZSI svn source revision 1495.
  11. Have you got any further with using ZSI to run a report? It seems that the problem with using ZSI is that the response from runReport is multipart. I am working on a patch for ZSI's client.py which would allow it to receive the multipart response from jasperserver. Daryl.
  12. Hi Dina, I found that I had a data source (and a Mondrian connection) which had a leading space. Once I edited the files in the zip file, the import was successful. I had to edit the .folder.xml, the data source (both the file name and the <name> element in the file), and the <dataSource> element in each of the reports that referred to the data source. Thanks for your help, Daryl. Post Edited by ddaly at 07/07/2009 21:17
  13. Adding the entry to the scripts/config/log4j.properties did not seem to cause any more debugging information to display. Post Edited by ddaly at 07/07/2009 21:06
  14. This is what I used to export: js-export.sh --everything --output-zip js-3.0-export.zip I have tried the import two ways: js-ant import-upgrade-ce -DimportFile=js-3.0-export.zip and renamed export to js-3.1-export.zip then js-ant import-upgrade-ce The zip file looks normal. An `unzip -l` doesn't report any errors. The output starts as follows: Archive: js-3.1-export.zip Length Date Time Name -------- ---- ---- ---- 0 06-23-09 09:46 users/ 419 06-23-09 09:46 users/anonymousUser.xml 432 06-23-09 09:46 users/jasperadmin.xml Note that most of the file seems to import fine. It is just not importing some of the reports.
  15. I am upgrading from 3.0 to 3.5 using chapter 7 of the JS CE Installation Guide. The `js-ant import-upgrade-ce` seems to only be importing some of the zip file. I have report units directly in the /reports folder as well as in sub-folders (i.e. /reports/folderA /reports/folderB ...). The import is importing report units in the /reports folder as well it is creating the sub-folders but none of the reports units in the sub-folders are being imported. Also scheduled jobs are not being imported for the report units that are imported. It seems everything else (users, content files, data sources, images, inputs, lists, & queries) are being imported. During the import, I get the following error: [java] 10:37:04,948 ERROR BaseExportImportCommand:45 - java.lang.NullPointerException [java] java.lang.NullPointerException [java] at java.util.zip.ZipFile.getInputStream(ZipFile.java:286) [java] at com.jaspersoft.jasperserver.export.io.ZipFileInput.getFileInputStream(ZipFileInput.java:70) [java] at com.jaspersoft.jasperserver.export.io.BaseImportInput.getFileInputStream(BaseImportInput.java:37) [java] at com.jaspersoft.jasperserver.export.modules.BaseImporterModule.getFileInput(BaseImporterModule.java:124) [java] at com.jaspersoft.jasperserver.export.modules.BaseImporterModule.deserialize(BaseImporterModule.java:99) [java] at com.jaspersoft.jasperserver.export.modules.repository.ResourceImporter.readResourceBean(ResourceImporter.java:374) [java] at com.jaspersoft.jasperserver.export.modules.repository.ResourceImporter.importResource(ResourceImporter.java:316) [java] at com.jaspersoft.jasperserver.export.modules.repository.ResourceImporter.process(ResourceImporter.java:125) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.process(ImporterImpl.java:146) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:95) [java] at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:87) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) [java] Java Result: 255 What could be the cause of this? Daryl. Post Edited by ddaly at 06/23/2009 21:51
×
×
  • Create New...