Plug in dependency problem? [message #208529] |
Sun, 03 July 2005 13:55 |
Eclipse User |
|
|
|
I am running the View sample plugin and have added a single line to the
createPartControl method:
public void createPartControl(Composite parent) {
viewer = new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL |
SWT.V_SCROLL);
viewer.setContentProvider(new ViewContentProvider());
viewer.setLabelProvider(new ViewLabelProvider());
viewer.setInput(getViewSite());
//ADDED THE FOLLOWING SINGLE LINE
Session session = HibernateUtil.getSession();
}
When I add this line then I receive a console message that my logger is not
set up right, but more important,
Unhandled event loop exception
Reason:
Java.lang.ExceptionInInitializerError
I obtain an identical situation when I add the same line to the
performFinish action in a Wizard.
There are no errors in the error log.
Earlier I was receiving a similar error that was referring, as a reason, to
a Hibernate Exception. I realized that I was trying to point to non-plugin
resources so I have created plugins for all my apparent dependencies, but
obviously this has not solved the problem.
Any suggestions? I have spent 10 days on this but I apologize in advance if
there is something obvious I should have noted.
- Mike Dean
|
|
|
Powered by
FUDForum. Page generated in 0.03227 seconds