Hi, afair 3.0.x was never "designed" to work with Java8. The reason might have been the ASM stuff, so I wouldn't rely on that.
If you want to use Karaf 3.0.x you'll need to stick to Java 7 I fear. regards, Achim 2017-09-28 7:22 GMT+02:00 Jean-Baptiste Onofré <j...@nanthrax.net>: > Hi David, > > Something is wrong on 3.0.1 (at least with Java 8): all commands throw a > NullPointerException (even a simple bundle:list). > > After a quick look, it seems to be related to blueprint and aries proxy > (and asm). > > I'm checking and I will fix that. > > Regards > JB > > > On 09/28/2017 12:45 AM, KARR, DAVID wrote: > >> I'm unfortunately forced to use Karaf 3.0.1 for some maintenance changes >> I need to make, and I don't even regularly use karaf. >> >> The setup process requires entering some commands into karaf after it >> starts up. First there's a call to "config:property-append" with certain >> parameters. When I do this, or even just "config:property-append --help", >> it just says "Error executing command: java.lang.NullPointerException", >> with no other information. >> >> What might be wrong here, and what can I do to get more information? >> >> Assuming I get this working, is it practical to pipe a set of commands >> into karaf, so it will enter them after it presents the command prompt? >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master