karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Weirig <alex.wei...@technolink.lu>
Subject NPE if "PROTOTYPE" bundle is updated
Date Fri, 04 May 2018 06:47:00 GMT

I'm getting the attached NPE stacktrace in Karaf 4.2.0 when I update a 
bundle containing PROTOTYPE based components, e.g.

@Component(scope = ServiceScope.PROTOTYPE, service = Module.class, 
property = { "view=Application" })

I develop my bundles using Eclipse and BND(tools). The bndtools build 
deploys the bundles to my local .m2 repository.

I install the bundles in Karaf using bundle:install mvn: .... and I use 
bundle:watch --start * to watch for bundle changes.

It looks like the NPE isn't a show stopper, so Karaf continues to work 
but it's annoying to always see the stacktraces.


Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, 
Kind regards,
Alex Weirig
Responsable Technique Ville de Luxembourg Service Enseignement Centre 
Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81 
*Email* alex.weirig@technolink.lu <mailto:alex.weirig@technolink.lu> 
www.vdl.lu <http://www.vdl.lu> // www.technolink.lu 
<http://www.technolink.lu> Centre Technolink 2, rue Charles de Tornaco 

View raw message