Re: [Resteasy-users] Error marshaling w/ XmlAnyElement + Element Adapter - simple JBoss 7 + RESTEasy project

2014-02-04 Thread Jean-François HEROUARD
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

Re: [Resteasy-users] Error marshaling w/ XmlAnyElement + Element Adapter - simple JBoss 7 + RESTEasy project

2014-02-04 Thread Jean-François HEROUARD
-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

Re: [Resteasy-users] [External] Re: Error marshaling w/ XmlAnyElement + Element Adapter - simple JBoss 7 + RESTEasy project

2014-02-04 Thread Jean-François HEROUARD
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

[Resteasy-users] SerializableProvider in 3.0 beta : should use MediaType.isCompatible ?

2013-03-06 Thread Jean-François HEROUARD
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.

Re: [Resteasy-users] Any way to access JettisonMappedContext constructed by RESTEasy ?

2012-09-28 Thread Jean-François HEROUARD
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

Re: [Resteasy-users] Get the produced JSON on the server side

2012-07-25 Thread Jean-François HEROUARD
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

[Resteasy-users] Spring DispatcherServlet: NullPointerException due to absence ResteasyProviderFactory.getContextData(Registry.class)

2012-03-20 Thread Jean-François HEROUARD
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