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

iReport 3.7.0 and Java Web Start (JNLP)


emmerson

Recommended Posts

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi emmerson,

 

I have the same problem with the same error; when i try to build ireport in web start it fails.(i removed all templates model files from ireport-designer\release\templates).

 

I think that the problem is in ireport-designer\release\fonts with 2 files irfonts.xml and jasperreports_extension.properties.

 

Your log file is the same when i try to build in NetBeans:

 

java.lang.NullPointerException

at com.jaspersoft.ireport.designer.IReportManager.getReportClassLoaderImpl(IReportManager.java:935)

 

 

 

The source code of the line IreporManager 935:

 

// Adding fonts directory...

 

try {

File fontsDir = Misc.getFontsDirectory();

 

// This does not work apparently...

935... if (!hiddenClasspath.contains(fontsDir.getCanonicalPath()))

{

hiddenClasspath.add(fontsDir.getCanonicalPath());

}

} catch (IOException ex) {}

 

 

maybe ireport dont find the correct fontdir for the 2 referenced fonts file.

 

I'm trying to fix this problem, but with no results until now.

 

I'll try to contact you in this forum if i'll fix the problem, please contact me if you have find a solution ...

 

Sorry for my poor english..

 

Gianfranco (gianninig@infoteam.it)

 

 

 

Link to comment
Share on other sites

  • 4 years later...

iReport is a GUI tool to develop your reports which helps you to check how your jasper report (.jrxml) look like once generated. Your report may contain some complex queries, some business functions that i believe you dont want to expose to your client. If you provide iReport, just to run the report, you may expose many other things also.
Second thing, iReport is commercial, so you may need to pay for it's usage at different end. However I am not sure how they charge you on what basis.
As per my suggestion, jut to execute/run the report at client end, 1. prepare a report using iReport in your development environment, 2. Identify a way to run the report at client end (ie. a java program, or a jsp or an applet and other alternates) and 3. Deploy it. You will not need to install iReport at client end.
Hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...