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

dougp

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

dougp'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. I'm getting the following error when trying to generate a report: SEVERE: Error while loading available fonts net.sf.jasperreports.engine.JRRuntimeException: javax.xml.parsers.ParserConfigurationException at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.<init>(SimpleFontExtensionHelper.java:159) I've looked at other sites and the suggestion was to run another xml parser but I don't know how to change the parser jaspersoft would use (if that's even the issue). I need some help here getting this working
  2. I'm running jaspersoft designer CE and trying to compile a report to version 5.5.1 The problem I'm having is the resulting report won't horizontal align fields right even though in the designer they are set to right justify.They alway left justify. It makes accounting reports difficult to read.
  3. I'm using the .jasper file from Jaspersoft Studio 6.5.1 to run the report. So it does compile cleanly.
  4. I'm upgrading from an older version of Jasper Reports in my java project. I've re-compiled a report in the new Tibco Reports Designer. When I try to run it, or any other report I get no output. I downloaded and compiled the jsperreports 6.0.2 source and am using it for debugging the problem. I've included a screen shot of the last statement that tries to execute. I don't catch any exceptions (at least not any I'm expecting) and the program returns to my finally statement after trying to run the jasper report. The only other thing I can add is that if I hover over the JRCompiler item in the previous sentence it says, JRCompile is not a known variable in the current context. Not sure if that helps. It also doesn't hit the catch (Exception e) statement it just fails. Not sure how to progress from here.
  5. I'm trying to upgrade from Jasper Reports 5.5.1 to 6.0.0 by I can't get any output. The app works with the prevous version but not with 6.0. I'm running a standalone java application using compiled jrxml files. I'm pretty sure it's a libary that I'm missing but I've gone through the documentation and I have all of the required libraries, so I'm not sure how to troubleshoot this further. Also when jasper fails it causes my program to run through code in an unexpected fashion that I also can't figure out. This is under Netbeans 7.0 Here is the sample code where it fails. public static JasperPrint fillReport(String filename, JRParDataSource jrds, HashMap<String,Object> parameters) throws JRException { JasperPrint jasperPrint = null jasperPrint = JasperFillManager.fillReport(filename, parameters, jrds); return jasperPrint;}[/code]The program runs until the fillReport line but it never hits the return statement. But it doesn't throw an exception either. I catch the JRException in the calling routine, but it never gets there. I tried catching JRRuntimeException and Exception but it's neither of those either. Plus it doesn't fall to the UnCaughtExceptionHandler either. The program returns to the finally statement of the try. It's really confusing. So I'm hoping somebody out there has a working version and can help me pinpoint the problem, or at least give me some ideas on how to troubleshoot this further.
×
×
  • Create New...