means you use a version < 1.7.2 cause we have this feature since the 1.7.2.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-11-30 15:08 GMT+01:00 Rentius <rentius2407...@gmail.com>: > Thanks Romain > > Made the changes to my exception handler provider, tested it with the bean > manager in a Servlet and it picks up the handler as a bean. > > It still gives me a NullPointer for the stateless bean that is being > injected into the handler. I have tried every possible solution but it > fails > to successfully inject the stateless EJB into the exception handler > provider. > > I will start looking at other solutions to the problem. Thank you. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Injecting-EJB-into-Rest-Exception-Handler-tp4676781p4677023.html > Sent from the TomEE Dev mailing list archive at Nabble.com. >