I had a similar problem, but the stacktrace was not exactly the same. This
NPE sounds like a jaxb-impl bug of 2.2.4 version, see
https://jaxb.java.net/2.2.6/docs/ch02.html. Version 2.2.4 is embedded by
JBoss7.1.x, you should replace jaxb-impl with 2.2.5. Can you also check in
your crazy class path
-François HEROUARD jfherouard.alme...@gmail.com:
I had a similar problem, but the stacktrace was not exactly the same. This
NPE sounds like a jaxb-impl bug of 2.2.4 version, see
https://jaxb.java.net/2.2.6/docs/ch02.html. Version 2.2.4 is embedded by
JBoss7.1.x, you should replace jaxb-impl
From: Jean-François HEROUARD jfherouard.alme...@gmail.com
Date: Tuesday, February 4, 2014 4:25 AM
To: Shawn Johnson johnson_sh...@bah.com
Cc: resteasy-users@lists.sourceforge.net
resteasy-users@lists.sourceforge.net
Subject: [External] Re: [Resteasy-users] Error marshaling w
While playing with SerializableProvider in RestEASY beta 3 I got errors due
to a MediaType being changed to
application/x-java-serialized-object;charset=UTF-8 by a global servlet
Spring filter. Charset is useless but I think the @Provider should use
MediaType.isCompatible instead of String equels.
I would do the other way : put your Jettison configuration in a JAXB
decorator (see the @Pretty in user guide). The marshaller in the decorator
processor is Jettison.
Maybe another way : do you really need the Json in the response template ?
Using the rest-js Ajax client you can really simply get
Maybe look at org.jboss.resteasy.plugins.cache.server.ServerCacheInterceptor
?
implement a simple caching : using already provided Resteasy JBoss
Cache, or your own based on ehcache with disk overflow is not so hard and
has great performance
2012/7/24 mickael.p...@gmail.com
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