Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » core.runtime.compability required?
core.runtime.compability required? [message #318805] Tue, 07 August 2007 01:22 Go to next message
Eclipse UserFriend
Originally posted by: johan.piculell.ericsson.com

Hi.
When executing my plug-in in 3.2 I had to include
org.eclipse.core.runtime.compability to my plug-in set because
org.eclipse.core.resources apparently depended upon it. Now this
dependency seems gone in 3.3, but when running without it I get a null
pointer exception when shutting down. Top of the stack:


java.lang.NullPointerException
org.eclipse.ui.views.navigator.FiltersContentProvider.readFi lters(FiltersContentProvider.java:104)
org.eclipse.ui.views.navigator.FiltersContentProvider.getDef inedFilters(FiltersContentProvider.java:70)
org.eclipse.ui.views.navigator.ResourceNavigator.saveState(R esourceNavigator.java:1106)
org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:3 25)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
org.eclipse.ui.internal.ViewFactory.saveViewState(ViewFactor y.java:307)
org.eclipse.ui.internal.ViewFactory.saveState(ViewFactory.ja va:287)
org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPag e.java:3257)


I can see that CompatibilityHelper.initializeCompatibility() is called
from Plugin class via FiltersContentProvider.readFilters() which returns
null and FiltersContentProvider.readFilters() does not handle null here.
The reason for returning null seems to be that
org.eclipse.core.runtime.compability is not found.

So, after this long introduction, is org.eclipse.core.runtime.compability
mandatory? Could not find any evidence on this in the docs.

regards
/Johan
Re: core.runtime.compability required? [message #318807 is a reply to message #318805] Tue, 07 August 2007 02:16 Go to previous message
Eclipse UserFriend
Originally posted by: johan.piculell.ericsson.com

Hmm, just found now that bug 162402 was filed to remove the dependency and
now we have 196164 which seems similar to my problem. I'll add myself to
that bug and we'll see what happens.

/Johan
Previous Topic:project decorator!!
Next Topic:multiple versions of xercesImpl.jar
Goto Forum:
  


Current Time: Fri May 02 08:11:55 EDT 2025

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

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

Back to the top