Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Dont seem to manage to forcefully activate the RSEUIPlugin

Hello,
I'm very new at Eclipse projects and I jave an issue implementing an application (not a plugin)  that uses the RSE libraries. I have looked at the 2008 eclipsecon and I cant figure out how to make org.eclipsecon.tmtutorial.host.CreateEclipseHostActionDelegate.run() work: I'm getting a NullPointerException at the very beginning:
// get the singleton RSE registry
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
Same behavior from a try with:
SystemStartHere.getSystemRegistry()
Problem is told to stem from the project UI/nonUI split as stated here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=202040#c1

The thing is, I cant pass the first line of the previous code given in the bug report:
IRSESystemType systemType =
    RSECorePlugin.getTheCoreRegistry().getSystemTypeById
    (IRSESystemType.SYSTEMTYPE_FTP_ONLY_ID);
it gives me the same Null exception:
at org.eclipse.rse.core.RSECorePlugin.getTheCoreRegistry(RSECorePlugin.java:207)

RSECorePlugin.plugin still seems not to be initialized. A previous RSEUIPlugin.getTheSystemRegistryUI() wont make it either.

Any help on how to solve this would be highly appreciated!
Jacques

Back to the top