Hello,
I have the same issue than a mail of june 2011 when using LinkDecorator
with Spring MVC :
Caused by: java.lang.NullPointerException: null
at
org.jboss.resteasy.links.impl.RESTUtils.getServiceMethods(RESTUtils.java:85)
~[resteasy-links-2.2.0.GA.jar:na]
at
org.jboss.resteasy.links.impl.RESTUtils.addDiscovery(RESTUtils.java:52)
I modified LinkDecorator.java to :
ResourceMethodRegistry registry = (ResourceMethodRegistry)
//ResteasyProviderFactory.getContextData(Registry.class);
ResteasyProviderFactory.getContextData(HttpServletRequest.class).getSession().getServletContext().getAttribute(Registry.class.getName());
To get registry from Http servlet context (if I understood well, then
Boostrap put it there).
But why does Registry is not known by Resteasy Spring View ?
Is it a bug ?
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users