[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Class Loader failing from PreferenceNode.createPage()


Seems clear... I walk the code for PreferenceNode.createObject() and see the call to Class.forName() throw ClassNotFoundException...


...and a breakpoint in the constructor for the preference page is never
hit. Seems like a straightforward class loader issue / but the Eclipse
class loader is a little mysterious to me (somewhere it suggests that
you can register as a "buddy" class, but that doesn't seem applicable
to Eclipse's fundamental classes).

My plug-in depends on org.eclipse.jface already --



Walter Harley wrote:
"Michael Megliola" <michael.megliola@xxxxxxxxx> wrote in message news:eqqd0i$a76$1@xxxxxxxxxxxxxxxxxxxx
I have made that mistake before... :)

The plug-in loads and runs fine, the Error Log is clear, the problem
occurs when I invoke code that attempts to display a PreferenceDialog.

And, is it definitely the case that the constructor of the pref page is not getting called? (As opposed to getting called and then NPE'ing or something.)


I'm just looking for anything beyond the obvious...