This Question is Not Answered

1 "correct" answer available (4 pts)
8 Replies Last post: Feb 8, 2010 6:08 PM by Kanapat Tepalagul  
Kanapat Tepalagul   24 posts since
Dec 18, 2009
Currently Being Moderated

Feb 5, 2010 9:43 AM

DataTable Error when searching

I get this error after updated all the jar files to the ones comes with latest nightly build

Attachments:
Dmitry Pikhulya TeamDev Ltd. 408 posts since
Jan 5, 2007
Currently Being Moderated
1. Feb 5, 2010 12:12 PM in response to: Kanapat Tepalagul
Re: DataTable Error when searching

Hello Kanapat,

 

There's a new commons-collections runtime dependency for OpenFaces and that's why the error appears. There's no build-to-build "what's new"/migration instructions though you can watch the What's New in Nightly Builds document which covers all API changes and migration instructions since the last release (EAP2) and see which changes still must be applied to run the latest nightly build.

 

Regards,

Dmitry

Dmitry Pikhulya TeamDev Ltd. 408 posts since
Jan 5, 2007
Currently Being Moderated
3. Feb 8, 2010 12:21 PM in response to: Kanapat Tepalagul
Re: DataTable Error when searching

The files look correct upon a quick look though they are quite big and I can't analyze them thoroughly without knowing what kind of problem you are having. Does this example work?

 

Regards,

Dmitry

Dmitry Pikhulya TeamDev Ltd. 408 posts since
Jan 5, 2007
Currently Being Moderated
5. Feb 8, 2010 3:10 PM in response to: Kanapat Tepalagul
Re: DataTable Error when searching

Do you still get the ClassNotFound exception for NotPredicate class? If so, please ensure that you have commons-collections.jar file in your application's libraries. Just like I mentioned in my first reply, there's a new commons-collections library dependency for OpenFaces (see the "Library Changes" section in the What's New in Nightly Builds document). You can find commons-collections.jar in the lib folder of the OpenFaces distribution zip package.

Dmitry Pikhulya TeamDev Ltd. 408 posts since
Jan 5, 2007
Currently Being Moderated
7. Feb 8, 2010 4:43 PM in response to: Kanapat Tepalagul
Re: DataTable Error when searching

The only important thing in this exception is that org.apache.commons.collections.functors.NotPredicate class cannot be found in classpath. I guess that it's not a DataTable-specific issue and the same NoClassDefFoundException will appear upon any attempt to use the NotPredicate class (or other class from commons-collections.jar). I suggest you to investigate what might cause the inavailability of this class. For example ensure that the version of commons-collections.jar that is included into your application does have this class in the appropriate package, or that there is only one commons collections library in your application and thus there's no potential conflict between them (we use commons collections version 3.1+, and maybe you have some old version without the NotPredicate class). Hope this information is helpful.

More Like This

  • Retrieving data ...