Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Exception when using DefaultGlazedListsStaticFilterStrategy(addStaticFilter overrides final method)
Exception when using DefaultGlazedListsStaticFilterStrategy [message #1064518] Wed, 19 June 2013 15:33 Go to next message
Arye Shemesh is currently offline Arye ShemeshFriend
Messages: 37
Registered: November 2012

I'm trying to use the DefaultGlazedListsStaticFilterStrategy to add a static filter as described here:

I use the method addStaticFilter(final Matcher<T> matcher) to add my filter.

In run time, I get the following exception:

java.lang.VerifyError: class org.eclipse.nebula.widgets.nattable.extension.glazedlists.filterrow.DefaultGlazedListsStaticFilterStrategy$1 overrides final method getMatcher.()Lca/odell/glazedlists/matchers/Matcher;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.eclipse.nebula.widgets.nattable.extension.glazedlists.filterrow.DefaultGlazedListsStaticFilterStrategy.addStaticFilter(

I checked the GlazedList code and AbstractMatcherEditor.getMatcher() is really defined as final.
I have the latest GL version 1.9.0 and NatTable version 0.9.0.

Is this a bug?

Re: Exception when using DefaultGlazedListsStaticFilterStrategy [message #1064544 is a reply to message #1064518] Wed, 19 June 2013 19:46 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2815
Registered: July 2012
Senior Member
The bug is that you use NatTable 0.9 together with GlazedLists 1.9 ... they are not compatible because of an API change in GlazedLists regarding Matcher.

You need to update to NatTable 1.0 to use GlazedLists 1.9 or downgrade to GlazedLists 1.8. I personally suggest to update to NatTable 1.0
Previous Topic:Context menu option for tree grid
Next Topic:Not all values displayed
Goto Forum:

Current Time: Thu Aug 05 12:31:28 GMT 2021

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

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

Back to the top