Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Plug in dependency problem?
Plug in dependency problem? [message #208529] Sun, 03 July 2005 13:55
Eclipse UserFriend
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
Previous Topic:Ant in Eclipse 3.1
Next Topic:how to add a clickable URL to a label?
Goto Forum:
  


Current Time: Tue Jul 22 09:03:53 EDT 2025

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

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

Back to the top