Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Help! How to Debug in RCP Development?
Help! How to Debug in RCP Development? [message #461251] Mon, 08 January 2007 04:50 Go to next message
Eclipse UserFriend
I don't how to debug RCP when there are exceptions, it doesn't show the exception detail. What can I do?

The message in the console is like this

<b>Unhandled event loop exception
Reason:
<u>org/hibernate/HibernateException</u></b>

Is there any one using Hibernate Synchronizer for RCP, can he or she give some suggestion. Thank you!
Re: Help! How to Debug in RCP Development? [message #461252 is a reply to message #461251] Mon, 08 January 2007 05:45 Go to previous messageGo to next message
Eclipse UserFriend
That's a ClassNotFoundException; it occurs when the loop just prints out the Exception.message, instead of the Exception.toString.

It's quite likely that you've got your project set up to compile OK but the entry for the hibernate.jar is missing in the Manifest.mf. You may also need to deal with buddy registering.

You can read about how the bundle registering works at

http://eclipsezone.com/articles/eclipse-vms/?source=archives

You can also google or search EclipseZone for similar responses about the class not found exceptions and hibernate. My guess is that in the Manifest.MF you're missing a Class-Path: .,hibernate.jar or some such.

Alex.
Re: Help! How to Debug in RCP Development? [message #461547 is a reply to message #461251] Thu, 11 January 2007 16:11 Go to previous message
Eclipse UserFriend
Originally posted by: swamibami.xs4all.nl

Deger wrote:
> I don't how to debug RCP when there are exceptions, it doesn't show the exception detail. What can I do?
>
> The message in the console is like this
>
> <b>Unhandled event loop exception
> Reason:
> <u>org/hibernate/HibernateException</u></b>
>
> Is there any one using Hibernate Synchronizer for RCP, can he or she give some suggestion. Thank you!

try the -consoleLog option in the program args. This will cause the
stack trace to be printed on the console when debugging.
Previous Topic:List of recent files
Next Topic:determining Eclipse or Eclipse plug in location at run time
Goto Forum:
  


Current Time: Mon Mar 24 16:42:39 EDT 2025

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

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

Back to the top