Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup
org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup [message #871597] Mon, 14 May 2012 13:51 Go to next message
Bisser P is currently offline Bisser PFriend
Messages: 2
Registered: May 2012
Junior Member
I suddenly started getting the following error on startup:

The org.eclipse.jdt.ui.javaElementFilters plug-in extension "org.eclipse.ajdt.javamodel.CompilationUnitFilter" specifies a viewer filter class which does not exist.
Plug-in org.eclipse.ajdt.ui was unable to load class org.eclipse.ajdt.internal.ui.lazystart.CompilationUnitFilter.
Expected to find an object at table index: 1151


There's another error which also appears on startup:

The org.eclipse.jdt.ui.javaElementFilters plug-in extension "org.eclipse.pde.ui.ExternalPluginLibrariesFilter1" specifies a viewer filter class which does not exist.
Plug-in org.eclipse.pde.ui was unable to load class org.eclipse.pde.internal.ui.wizards.imports.ExternalPluginLibrariesFilter.
Expected to find an object at table index: 1151


Does anybody know what might be wrong and how I can fix it?

The log contains things like:

!ENTRY org.eclipse.ui 4 4 2012-05-14 16:31:49.306
!MESSAGE Bad extension specification

!ENTRY com.adobe.flexbuilder.flashbridge 4 0 2012-05-14 16:31:49.306
!MESSAGE startup class must implement org.eclipse.ui.IStartup

!ENTRY org.eclipse.equinox.registry 4 1 2012-05-14 16:31:49.534
!MESSAGE Plug-in org.eclipse.ajdt.ui was unable to load class org.eclipse.ajdt.internal.ui.lazystart.AdviceImageDecorator.
!STACK 0
java.lang.IllegalStateException: Expected to find an object at table index: 1151
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:80)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:408)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:416)
	at org.eclipse.osgi.internal.resolver.StateReader.readImportPackageSpec(StateReader.java:558)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:279)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:801)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:670)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getResolvedRequires(BundleDescriptionImpl.java:234)
	at org.eclipse.osgi.internal.loader.BundleLoader.<init>(BundleLoader.java:153)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader0(BundleLoaderProxy.java:76)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader(BundleLoaderProxy.java:60)
	at org.eclipse.osgi.framework.internal.core.BundleHost.getBundleLoader(BundleHost.java:653)
	at org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.java:199)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:226)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:268)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:53)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:124)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:889)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:252)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:366)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.registry 4 1 2012-05-14 16:31:49.550
!MESSAGE Plug-in org.springframework.ide.eclipse.beans.ui was unable to load class org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelDecorator.
!STACK 0
java.lang.IllegalStateException: Expected to find an object at table index: 1152
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:80)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:408)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:416)
	at org.eclipse.osgi.internal.resolver.StateReader.readImportPackageSpec(StateReader.java:558)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:279)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:801)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:670)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getResolvedRequires(BundleDescriptionImpl.java:234)
	at org.eclipse.osgi.internal.loader.BundleLoader.<init>(BundleLoader.java:153)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader0(BundleLoaderProxy.java:76)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader(BundleLoaderProxy.java:60)
	at org.eclipse.osgi.framework.internal.core.BundleHost.getBundleLoader(BundleHost.java:653)
	at org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.java:199)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:226)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:268)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:53)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:124)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:889)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:252)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:366)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.registry 4 1 2012-05-14 16:31:49.741
!MESSAGE Plug-in org.springframework.ide.eclipse.webflow.ui was unable to load class org.springframework.ide.eclipse.webflow.ui.model.WebflowModelLabelDecorator.
!STACK 0
java.lang.IllegalStateException: Expected to find an object at table index: 1152
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:80)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:408)
	at org.eclipse.osgi.internal.resolver.StateReader.readExportPackageDesc(StateReader.java:416)
	at org.eclipse.osgi.internal.resolver.StateReader.readImportPackageSpec(StateReader.java:558)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:279)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:801)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:670)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getResolvedRequires(BundleDescriptionImpl.java:234)
	at org.eclipse.osgi.internal.loader.BundleLoader.<init>(BundleLoader.java:153)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader0(BundleLoaderProxy.java:76)
	at org.eclipse.osgi.internal.loader.BundleLoaderProxy.getBundleLoader(BundleLoaderProxy.java:60)
	at org.eclipse.osgi.framework.internal.core.BundleHost.getBundleLoader(BundleHost.java:653)
	at org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.java:199)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:226)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:268)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:53)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:124)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:889)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:252)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:366)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



I'm using:

SpringSource Tool Suite
Version: 2.9.1.RELEASE
Build Id: 201203221000
Re: org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup [message #871630 is a reply to message #871597] Mon, 14 May 2012 15:16 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 369
Registered: July 2009
Senior Member
Hard to know what's going on here, but I would try cleaning the configuration area. Start STS with the -clean option from the command line. If that doesn't fix the problem, then attach the entire error log to this post. If your error log is too large, then raise a bugzilla issue here: https://bugs.eclipse.org/bugs/ and attach the entire log.
Re: org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup [message #871670 is a reply to message #871630] Mon, 14 May 2012 16:54 Go to previous messageGo to next message
Bisser P is currently offline Bisser PFriend
Messages: 2
Registered: May 2012
Junior Member
Thank you! The -clean option helped.
Re: org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup [message #881730 is a reply to message #871670] Tue, 05 June 2012 07:05 Go to previous messageGo to next message
Brice Laurencin is currently offline Brice LaurencinFriend
Messages: 1
Registered: June 2012
Junior Member
The -clean option helps, but I have to type it every time, eclipse won't start without this switch.

It's a pain.

Any fix for that?
Re: org.eclipse.ajdt.javamodel.CompilationUnitFilter error on Eclipse startup [message #881944 is a reply to message #881730] Tue, 05 June 2012 14:24 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 369
Registered: July 2009
Senior Member
Brice, it's hard to know what's going on without a complete stack trace. But, most likely the problem comes from an error while shutting down Eclipse. Can you paste your error here?
Previous Topic:Getting examples to run
Next Topic:ASPECTJ Internal Compiler Error
Goto Forum:
  


Current Time: Mon Dec 22 09:11:56 GMT 2014

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

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