dev@jersey.java.net

jersey + spring minor bug

From: Pedro Teixeira <pedro.t_at_gmail.com>
Date: Sat, 17 Jan 2009 03:28:28 -0200

hi there,

I'm just trying out version 1.0.1 and stumbled an annoying problem when the
servelet is registering types.

Fo some reason (not sure yet), a given type is returning null from the
springContext.getType method.

My current fix is to actually handle this possible null return in jersey's
code, as follows:

Class<?> type = ClassUtils.getUserClass( springContext.getType(name) );
 ** add this ** if(type == null) continue;
if (ResourceConfig.isProviderClass(type)) {
----
would be nice to have the check in the next realase ;)
[]'s
Pedro