You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Marek Ĺ abo <ms...@buk.cvut.cz> on 2012/04/25 05:40:32 UTC

Reflection problem after bundle update/refresh

Hi all,

I'd like to ask if any of you ever had problem with reflection 
(UnsafeFieldAccessorImpl). I'm using guice/peabery with wicket and 
running my war bundle with pax-war.
When I start karaf it (DI) works fine but upon update/refresh I'm 
getting "can not set" errors from dependency injection (reflection) in 
wicket proxy ( precisely at 
http://www.docjar.com/html/api/sun/reflect/UnsafeObjectFieldAccessorImpl.java.html:81).

When I shutdown karaf and boot it again it works like charm.

Can anyone point me where to look? Thanks for any information.

Marek