Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Headless builds: Missing resource filter type 'org.eclipse.ui.ide.multiFilter' a problem?
Headless builds: Missing resource filter type 'org.eclipse.ui.ide.multiFilter' a problem? [message #1734815] Mon, 13 June 2016 08:51 Go to next message
Andreas Sewe is currently offline Andreas SeweFriend
Messages: 111
Registered: June 2013
Senior Member
Hi,

I'm using JDT to headlessly build an Eclipse workspace. This works fine expect for errors like the following being logged:

!ENTRY org.eclipse.core.resources 4 2 2016-06-11 00:05:15.164
!MESSAGE Missing resource filter type: 'org.eclipse.ui.ide.multiFilter'.
!STACK 0
java.lang.Error
        at org.eclipse.core.internal.resources.Filter.match(Filter.java:62)
        at org.eclipse.core.internal.resources.Filter.filterExcludes(Filter.java:157)
        at org.eclipse.core.internal.resources.Filter.filter(Filter.java:110)
        at org.eclipse.core.internal.resources.Resource.filterChildren(Resource.java:2171)
        at org.eclipse.core.internal.resources.Resource.filterChildren(Resource.java:2133)
        at org.eclipse.core.internal.localstore.UnifiedTree.getLocalList(UnifiedTree.java:350)
        at org.eclipse.core.internal.localstore.UnifiedTree.addChildren(UnifiedTree.java:138)
        at org.eclipse.core.internal.localstore.UnifiedTree.addNodeChildrenToQueue(UnifiedTree.java:244)
        at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:110)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:920)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:904)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshRoot(FileSystemResourceManager.java:951)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:897)
        at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1705)
        at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:167)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Is this a problem (in the sense that the build result differs when the filter is there)? Or is this filter merely used for UI purposes (meaning that I can safely ignore the errors in a headless scenario)?

Best wishes,

Andreas
Re: Headless builds: Missing resource filter type 'org.eclipse.ui.ide.multiFilter' a problem? [message #1745043 is a reply to message #1734815] Tue, 04 October 2016 12:45 Go to previous message
Girish Kumar is currently offline Girish KumarFriend
Messages: 48
Registered: May 2011
Member
Hi Andreas,

I too get the same issue. I did some debug and found out that this will not cause any issue, however this indeed is annoying in the log. So i have logged a Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=503369

The main reason is in headless mode, we will not have ui plugins, but the implementation of org.eclipse.ui.ide.multiFilter is in 'org.eclipse.ui.ide'.

you can avoid by doing one of the below steps
1. Removing all the filteredResources in the .project file
2. you can have your own implementation copy by adding the extension point with same id 'org.eclipse.ui.ide.multiFilter' (Attached bundle, which can be directly used) in your product.

Note : the bundle attached should be only used in headless, as it is a copy of the original implementation.
Previous Topic:Can't link Neuroph libraries to Eclipse
Next Topic:Eclipse Neon 4.6.1 Ignores @formatter:off
Goto Forum:
  


Current Time: Thu Oct 10 03:59:47 GMT 2024

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

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

Back to the top