• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

The interface to hibernate CacheException has changed. Currently ehcache is compiled against hibernate 3.2.1 when the constructor CacheException(Exception) existed. Now the signature for the constructor is CacheException(Throwable). This means that if you use the current version of hibernate then ehcache will always throw a MethodNotFound exception everytime it encounters a real exception because it will try to call the constructor CacheException(Exception). As a result we will never see the true exception ehcache is throwing. The only resolution is for every user to recompile ehcache.

ehcache needs to start compiling against a later version of hibernate to resolve this.

Sourceforge Ticket ID: 2035287 - Opened By: nobody - 1 Aug 2008 21:02 UTC

Comments

Sourceforge Tracker 2009-09-21

Ok, upgraded provided scope dependency to 3.2.6ga. The expected signature is Throwable.

Fixed in trunk and will be released in ehcache-1.6beta4 Comment by: gregluck - 4 Apr 2009 07:19 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira