Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unhandled event loop exception
Unhandled event loop exception [message #437033] Tue, 20 September 2005 18:24 Go to next message
Eclipse UserFriend
Originally posted by: jweng.us.ibm.com

Hi,

We developed a plug-in on Eclipse 3.1. We use plug-in to call the
jasperreoprt class (We registered jasperreport class and all its jar files
as third party in plug-in). The jasperreport works fine in RAD (Rational
Application Developer) and RSA (Rational Software Application)
environment. When we run the plugin, we got the following exception:

Unhandled event loop exception
Reason:
net/sf/jasperreports/engine/fill/JRFillParameter

We check it in the .metadata/.log file. It says the above file could not
be found. We run the
Class.forName("net.sf.jasperreports.engine.fill.JRFillParameter ").getName()
and also check it in the Eclipse prospective, it is there. Does anyone
have any idea of this error? Thank you in advance for your input.

Thanks

John
Re: Unhandled event loop exception [message #437044 is a reply to message #437033] Wed, 21 September 2005 06:00 Go to previous messageGo to next message
Reinhard Moser is currently offline Reinhard MoserFriend
Messages: 43
Registered: July 2009
Member
Hi John,

i had a similar problem. I am using log4j as logging facility in my
rcp application. I tried to create a new plugin from existing jars. I
add the new log4j-plugin to my dependencies. Also a
ClassNotFoundException occured. The only way to correct this was to add
log4j.jar to my plugin. I think it has something to do with the class
loaders. Each plugin has a own class loader

Hope this helps

Kind regards

Reinhard

John Weng schrieb:
> Hi,
>
> We developed a plug-in on Eclipse 3.1. We use plug-in to call the
> jasperreoprt class (We registered jasperreport class and all its jar
> files as third party in plug-in). The jasperreport works fine in RAD
> (Rational Application Developer) and RSA (Rational Software Application)
> environment. When we run the plugin, we got the following exception:
>
> Unhandled event loop exception
> Reason:
> net/sf/jasperreports/engine/fill/JRFillParameter
>
> We check it in the .metadata/.log file. It says the above file could not
> be found. We run the
> Class.forName("net.sf.jasperreports.engine.fill.JRFillParameter ").getName()
> and also check it in the Eclipse prospective, it is there. Does anyone
> have any idea of this error? Thank you in advance for your input.
>
> Thanks
>
> John
>
Re: Unhandled event loop exception [message #437120 is a reply to message #437044] Wed, 21 September 2005 15:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jweng.us.ibm.com

Hi, Reinhard

Thank you for your input! I try to put the log4j.jar file in my plugin,
it still gave me the same error message. I use the log4j-1.2.8.jar. Which
versionof log4j file you use? Thank you again for your answer......

John
Re: Unhandled event loop exception [message #437124 is a reply to message #437120] Wed, 21 September 2005 22:41 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
John Weng wrote:

> Hi, Reinhard
>
> Thank you for your input! I try to put the log4j.jar file in my plugin,
> it still gave me the same error message. I use the log4j-1.2.8.jar. Which
> versionof log4j file you use? Thank you again for your answer......
>
> John

John
Problem with log4j is for log4j classes
You have another problem and it is eclipse classloader problem
search my thread in eclipse.platform
http://dev.eclipse.org/newslists/news.eclipse.platform/msg44 996.html.
I have solution with my classloaders, but correct is change in eclipse
classloader (ContextFinder)
Re: Unhandled event loop exception [message #437128 is a reply to message #437120] Thu, 22 September 2005 06:44 Go to previous messageGo to next message
Reinhard Moser is currently offline Reinhard MoserFriend
Messages: 43
Registered: July 2009
Member
Hi John,

i am using log4j version 1.2.8. You have to add the library also in
your plugin.xml file under Runtime->Classpath.

Reinhard

John Weng schrieb:
> Hi, Reinhard
>
> Thank you for your input! I try to put the log4j.jar file in my plugin,
> it still gave me the same error message. I use the log4j-1.2.8.jar.
> Which versionof log4j file you use? Thank you again for your answer......
>
> John
>
Re: Unhandled event loop exception [message #437141 is a reply to message #437124] Thu, 22 September 2005 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jweng.us.ibm.com

Thank you guys again for your input!!!

Snap, I believe the problem you described is what I encounter now. I never
use ClassLoader and ContextFinder before. Could you give me a simple
example to show me how the ClassLoader and ContextFinder associate with
the jasperreport on Eclipse? Thank you again for your help.

John
Re: Unhandled event loop exception [message #437143 is a reply to message #437124] Thu, 22 September 2005 16:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jweng.us.ibm.com

Hi, Reihard, snpe

I got my jasperreport running on Eclipse 3.1. You guys are so helpful for
me. Thank you again for your input!!!

John
Re: Unhandled event loop exception [message #437153 is a reply to message #437141] Fri, 23 September 2005 02:44 Go to previous message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
John Weng wrote:

> Thank you guys again for your input!!!
>
> Snap, I believe the problem you described is what I encounter now. I never
> use ClassLoader and ContextFinder before. Could you give me a simple
> example to show me how the ClassLoader and ContextFinder associate with
> the jasperreport on Eclipse? Thank you again for your help.
>
> John

John,
have you solution for your problem ?
Previous Topic:Action with different names for toolbar and menu
Next Topic:Forcing start of a plugin
Goto Forum:
  


Current Time: Fri Dec 27 00:25:44 GMT 2024

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

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

Back to the top