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

marten.carlzon

Members
  • Posts

    16
  • Joined

  • Last visited

marten.carlzon's Achievements

  1. Issue has been resolved, not all dependencies had been updated to new versions and old versions ended up on classpath ahead of the ones we wanted to use. This caused the issue as the old code wasn't compatible with newer code for barcode: data matrix.
  2. We seem to have found the issue. Apparently some old dependencies of batik-bridge was not updated as it should and ended up first on classpath so we didn't use the version we thought but the old one from iReport 5.1.0 and therefor we got the errors with DataMatrix. Cleaned out all old versions and now it works as it should.
  3. No, iReport 5.1 doesn't support above java 7, but we are now using Java 11 with Jasper 6.20.
  4. Can mention that other barcodes seem to work, Code128, QRCode etc, but not DataMatrix which is what our customer wants to use.
  5. Hi, We are in the works of going up from iReport 5.1.0 to Jaspersoft Studio 6.20.0 to be up to date but have found an issue with generating DataMatrix and was wondering if I could get some help here. When trying to generate the DataMatrix we get the following error: [ERROR] Receiver class org.apache.batik.script.rhino.RhinoInterpreterFactory does not define or inherit an implementation of the resolved method 'abstract java.lang.String[] getMimeTypes()' of interface org.apache.batik.script.InterpreterFactory.java.lang.AbstractMethodError: Receiver class org.apache.batik.script.rhino.RhinoInterpreterFactory does not define or inherit an implementation of the resolved method 'abstract java.lang.String[] getMimeTypes()' of interface org.apache.batik.script.InterpreterFactory. at org.apache.batik.script.InterpreterPool.<clinit>(InterpreterPool.java:67) at org.apache.batik.bridge.BridgeContext.<clinit>(BridgeContext.java:276) at net.sf.jasperreports.renderers.AbstractSvgDataToGraphics2DRenderer.getRootNode(AbstractSvgDataToGraphics2DRenderer.java:170) at net.sf.jasperreports.renderers.AbstractSvgDataToGraphics2DRenderer.render(AbstractSvgDataToGraphics2DRenderer.java:89) at net.sf.jasperreports.renderers.WrappingDataToGraphics2DRenderer.render(WrappingDataToGraphics2DRenderer.java:104) at net.sf.jasperreports.renderers.WrappingDeprecatedRenderable.render(WrappingDeprecatedRenderable.java:173) at net.sf.jasperreports.engine.JRWrappingSvgRenderer.render(JRWrappingSvgRenderer.java:105) at net.sf.jasperreports.engine.JRAbstractSvgRenderer.getImageData(JRAbstractSvgRenderer.java:174) at net.sf.jasperreports.engine.JRAbstractSvgRenderer.getImageData(JRAbstractSvgRenderer.java:123) at com.aspose.words.jasperreports.internal.awjr3042.a(Unknown Source) at com.aspose.words.jasperreports.internal.awjr3050.awz(Unknown Source) at com.aspose.words.jasperreports.internal.awjr3050.<init>(Unknown Source) at com.aspose.words.jasperreports.internal.awjr4.a(Unknown Source) at com.aspose.words.jasperreports.internal.awjr4.a(Unknown Source) at com.aspose.words.jasperreports.internal.awjr4.a(Unknown Source) at com.aspose.words.jasperreports.AWAbstractExporter.a(Unknown Source) at com.aspose.words.jasperreports.AWAbstractExporter.exportReport(Unknown Source) at idainfront.forensic.lims.report.jasper.JasperReportProcess.generateReport(JasperReportProcess.java:190) at idainfront.forensic.lims.report.jasper.JasperReportProcess.main(JasperReportProcess.java:81)[/code]I think we might have wrong versions in our maven dependencies but not sure. The setup we have is: Jasperreports6.20.0batik-bridge1.16jasperreports-fonts6.20.0jasperreports-functions6.20.0barbeque1.5-beta1barcode4j2.1aspose.words-jasperreports22.12.0I have tried with batik-bridge 1.14 as well with no luck.. We don't use Jasperstarter as someone mentioned in an earlier question. We juse, JRLoader, JRXmlLoader and JasperCompileManager as we use XML files as datasources. It can be previewed in JaspersoftStudio, but not compiled when we make the report from our software.
  6. Hi all, At my company we are working on upgrading from iReport 5.1.0 to JasperSoft Studio 6.20.0, and with this move also upgrade Aspose.Words for JasperReports from 19.12 to 22.12. Not sure if it matters but we are using generated XML-files as datasources for our reports. Most seems to go well but we are having an issue with headers and footers on the reports no longer sticking in the header and footer part of the word documents we are creating and I was wondering if anyone have had similar issues or if there is anything I can look at to fix this. This makes it so the footer isn't always at the end of the document and also gives us one last page with only the header and footer information which can be quite annoying. It worked previously and haven't changed anything in the reports, only updated versions so was searching for any help. Even in the preview in iReport and JasperSoft Studio in word the header/footer part don't seem to end up in the header/footer part in the docx document so maybe this is an aspose question rather than Jasper question but asking around to see if anyone knows what it can be. One aspose thing I found was to et AWExporterParameter.RECOGNIZE_FIELDS = true which we have since before. Have a good day Write you later / Mårten Edit: Added the main report file as well as the footer report file, thought that might be enough?
  7. Hi, We where discussing if we could change to use Jasper reports for a new project and stumbled upon a request I didn't know if we could do so I am asking here. We are using xpath for data and am wondering if we can join nodes together in a comma seperated string, when looping over nodes we usually get one data per row but instead we would want to join them and I am wondering if this is possible. Example: If I have the following xml as in the image, can I make a string in my report that is the names of all emploeyees seperated by a comma? Like: All those who work here are A A, B B, C C? If I where to make them into a subreport I would get All those who work here are: A A B B C C So would be nice if I could as I loop join them instead of having to print one per line... We are working at the moment with iReport 5.1.0 but the new project don't have any reports as of yet so they might be able to go directly to Jasper Soft Studio but would be interesting to know if this is solveble in both tools. Thanks for any help. Write you later / Mårten
  8. Ahh thanks 'I am Leo', that helped! Then I am one step closer to going up in jasper version, thank you!
  9. Hi, I am evaluating if we can go from iReport 5.1.0 to lastest Jaspersoft Studio and noticed problems first thing with SUBREPORT_DIR no longer being relative. I imported a report and when I try to preview it I am unable to because SUBREPORT_DIR is unable to find the subreport, "Resource not found at subreports/SubreportHeader.jasper" Our layout is for reports, subreports and resources as follows: <some path>/reports <some path>/reports/subreports <some path>/reports/resources Since we all have different path to the reports depending on the developer is it possible to have SUBREPORT_DIR (and assuming RESOURCES_DIR) as relative the way they where in iReport? Am I missing a configuration or am I using Jaspersoft Studio wrongly or is this just how it is setup now? Have a nice weekend Write you later / Mårten
  10. Ahh, sorry, still a bit new here. Marked it now and thanks for also helping me how to manage on the comunity side :)
  11. Yes, thats how I want it to look, tried to make it but the preview tool always breaks down on me so didnt dare to show in case it would look bad :). Ahh, lists... had completely missed that tool :) Will look into it and see if I can make it work. Sadly I have run a little overtime with this task so might have to stick with the subreportsolution but thanks for the tip with the list and clever solution with columnheader! Thanks again for the tip!
  12. Hello folks, I was wondering if it would be possible to fill a table veritcly? I am sitting with an XML that I am to transform into a report and my issue is that I dont know how many columns there will be beforehand so I would like to be able to fill the table column by column. I have tried to solve it with subreports but it doesnt come out nice. I have 3 subreports, first one have 7 columns in it and a call to one subreport. That have one textfield (because the title needs to be higher then the other text fields) and a call to my last subreport which just prints the values I have. Can this be simplyfied? (For instance programaticly set the height on a textfield if a parameter is true?) My information is like <columns> <column id="0"> <title>Title1</title> <value>Value</value> <value>Value</value> ... </column> <column id="1"> ... </column></columns>[/code]Any help would be much appreciated :) Write you later / Mårten
  13. Ok, this really helped me out so as soon as I get the go ahead to try upgrading version I will look into this. Again, thanks for the quick and good reply :) Write you later / Mårten
  14. Ok, that sounds interesting. Might solve some other problems as well. Is jasperreport 6.0 backwards compatible? I am sitting on version 5.1 at the moment and we have many reports that is in circulation and it would be good if they could still be compiled. But thanks for the suggestion, will look into if we can upgrade our report version. Write you later / Mårten
  15. Hello all, I was wondering if it is possible to make a subreport in portrait, and in my main report that is in landscape rotate the subreport so that it gets printet in landscape? My issue is that I have a report that needs a first page in portrait while the rest is supposed to be in landscape. My first thought was to just have text and rotate it 90 degrees and make the layout in the title-band be the first page but I need to loop over some data so I have to make a subreport. So my thought was, can I make a subreport in portrait, rotate it 90 degrees and print it in the title-band in landscape? Thanks in advanced Write you later / Mårten
×
×
  • Create New...