Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ClassNotFound Exception when filling JasperReport from RCP app.
ClassNotFound Exception when filling JasperReport from RCP app. [message #437702] Mon, 03 October 2005 06:52 Go to next message
An is currently offline AnFriend
Messages: 36
Registered: July 2009
Member
Hi!

I`ve got a problem:

When I`m trying to print my JasperReport from usual standalone file
everethnig is Ok, report is loaded, compiled and filled, then printed.
But when I`m trying to do this from my Eclipse app. Im using the same
code, the same report file. I have exception in the filling stage. First I
thought that this is Jasper Problem, but since report is working from
usual file, but not from Elcipse who knows...?

So I`ve debugged this situation and found that exception is rised in :
<code>org.eclipse.core.runtime.internal.adaptor.ContextFinder </code> where it
can`t find <code>net.sf.jasperreports.engine.fill.JRFillParameter</code > class

in fact in my program I recieve just an error msg:
------------------------------------------------------
Unhandled event loop exception
Reason:
net/sf/jasperreports/engine/fill/JRFillParameter
------------------------------------------------------

Thats all I was able to find. Maybe I`m missing something?
Does Anybody had this error? Any workarounds?

(I`m using Eclispe3.1, j2SE5.0 (update 4) and jasper reports 1.0.2 (tried
1.0.1. as well) )
Re: ClassNotFound Exception when filling JasperReport from RCP app. [message #437706 is a reply to message #437702] Mon, 03 October 2005 13:10 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Andrey
I have same problem. Jasperreports create class in memory
and eclipse loader can't find dependency classes in this class
I have workaround for context classloader
see thread on eclipse.platform news group with subject
'eclipse 3.1 classloader, jasperreports in rcp application'

Peco
Andrey Bondarenko wrote:

> Hi!
>
> I`ve got a problem:
>
> When I`m trying to print my JasperReport from usual standalone file
> everethnig is Ok, report is loaded, compiled and filled, then printed.
> But when I`m trying to do this from my Eclipse app. Im using the same
> code, the same report file. I have exception in the filling stage. First I
> thought that this is Jasper Problem, but since report is working from
> usual file, but not from Elcipse who knows...?
>
> So I`ve debugged this situation and found that exception is rised in :
> <code>org.eclipse.core.runtime.internal.adaptor.ContextFinder </code> where
> it can`t find
> <code>net.sf.jasperreports.engine.fill.JRFillParameter</code > class
>
> in fact in my program I recieve just an error msg:
> ------------------------------------------------------
> Unhandled event loop exception
> Reason:
> net/sf/jasperreports/engine/fill/JRFillParameter
> ------------------------------------------------------
>
> Thats all I was able to find. Maybe I`m missing something?
> Does Anybody had this error? Any workarounds?
>
> (I`m using Eclispe3.1, j2SE5.0 (update 4) and jasper reports 1.0.2 (tried
> 1.0.1. as well) )
Re: ClassNotFound Exception when filling JasperReport from RCP app. [message #437762 is a reply to message #437706] Tue, 04 October 2005 13:04 Go to previous messageGo to next message
An is currently offline AnFriend
Messages: 36
Registered: July 2009
Member
Wow! Thanks a lot! That`s really working now.
Re: ClassNotFound Exception when filling JasperReport from RCP app. [message #437763 is a reply to message #437706] Tue, 04 October 2005 13:06 Go to previous message
An is currently offline AnFriend
Messages: 36
Registered: July 2009
Member
Wow! Thanks a lot! That`s really working now.
Previous Topic:how to remove the accelerators
Next Topic:Problem starting exported product with external jar
Goto Forum:
  


Current Time: Sat Dec 07 14:37:56 GMT 2024

Powered by FUDForum. Page generated in 0.03492 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top