Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
TomParry  
View profile  
 More options Jun 9 2009, 2:40 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Tue, 9 Jun 2009 11:40:23 -0700 (PDT)
Local: Tues, Jun 9 2009 2:40 pm
Subject: Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
When I try to output a pdf from the viewer or directly by specifying
the pdf as the output type and give it a filename I get the exception
following.

The culprit appears to be iText.jar in the servoyreports directory
under the plugins directory.
I tried replacing it with the version found in the Jasl;erReports lib
(iText_2.1.0) but same result.

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBle
nding(Z)V
        at
net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream
(JRPdfExporter.java:484)
        at
net.sf.jasperreports.engine.export.JRPdfExporter.exportReport
(JRPdfExporter.java:383)
        at net.sf.jasperreports.view.save.JRPdfSaveContributor.save
(JRPdfSaveContributor.java:110)
        at net.sf.jasperreports.view.JRViewer.btnSaveActionPerformed
(JRViewer.java:1135)
        at net.sf.jasperreports.view.JRViewer$3.actionPerformed
(JRViewer.java:675)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown
Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 9 2009, 9:20 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Tue, 9 Jun 2009 18:20:58 -0700 (PDT)
Local: Tues, Jun 9 2009 9:20 pm
Subject: Re: Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
UPDATE:
IN developer the solution was to ALSO put the iText-2.1.0.jar in
the ...Servoy\lib directory before the correct class was found.
Now it works ok in developer.

On Jun 9, 2:40 pm, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
servoy.jasperrepo...@gmail.com  
View profile  
 More options Jun 10 2009, 3:34 am
From: servoy.jasperrepo...@gmail.com
Date: Wed, 10 Jun 2009 00:34:50 -0700 (PDT)
Local: Wed, Jun 10 2009 3:34 am
Subject: Re: Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
Most likely you also have the PDF plugin installed, which most likely
comes with an older version of the iText library, which most likely
doesn't contain the required methods.

Placing a jar in the \lib folder of Servoy shouldn't be necessary.

On Jun 10, 3:20 am, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 10 2009, 12:51 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Wed, 10 Jun 2009 09:51:08 -0700 (PDT)
Local: Wed, Jun 10 2009 12:51 pm
Subject: Re: Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
The test failed on the server and smart client side.
I will have a look at this pdf plugin:
 iText.jar - looks like a version 2.0.3 there.
Maybe there could be ONE place where iText.jar could be replaced?
I will also look at rebuilding using the latest jasper reports lib
3.5.2
Thanks

On Jun 10, 3:34 am, servoy.jasperrepo...@gmail.com wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 10 2009, 2:46 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Wed, 10 Jun 2009 11:46:19 -0700 (PDT)
Local: Wed, Jun 10 2009 2:46 pm
Subject: Re: Exception using Jasper Reports 3.5.2 jar with plugin 2.1.5 on Servoy 3.5.9
I replaced the pdf_output iText.jar file with the same version 2.1.0
as the jasper reports requires. I get the same results; on the
developer it works ok but on the server the viewer opens but nothing
is displayed. There must be some other jar file update needed perhaps?

On Jun 10, 12:51 pm, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »