karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KARR, DAVID" <dk0...@att.com>
Subject RE: karaf 3.0.1 just prints NullPointerException trying to append a property
Date Thu, 28 Sep 2017 17:18:42 GMT
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Wednesday, September 27, 2017 11:42 PM
> To: user@karaf.apache.org
> Subject: Re: karaf 3.0.1 just prints NullPointerException trying to
> append a property
> 
> Karaf 3.x works with Java8. Even Karaf 2.4.x also works with Java8.
> However, we fixed issues with Java8 starting from Karaf 3.0.4.
> 
> I just tested 3.0.7 on Java8 without problem.

Ok, well, I just tried making karaf use 1.7.0_131, and the problem no longer occurs.  I guess
I'm going to move forward with that.

> Regards
> JB
> 
> On 09/28/2017 08:37 AM, Achim Nierbeck wrote:
> > 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é <jb@nanthrax.net
> > <mailto:jb@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é
> >     jbonofre@apache.org <mailto:jbonofre@apache.org>
> >     https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__blog.nanthrax.net&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-
> xy2uk0vYF_EA&m=ieXUMpCKPGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=ZPDfCesGP6N
> emwU9Cfa65tyki0-793TbpiJBChW7U1I&e=
> >     Talend -
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.talend.com&d=D
> > wIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-xy2uk0vYF_EA&m=ieXUMpCKPGqd
> > TfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=u4d95VbGZN8EtDp7zKNBs-4Sl-kZSNb8zdCb
> > nTM7i1I&e=
> >
> >
> >
> >
> > --
> >
> > Apache Member
> > Apache Karaf
> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__karaf.apache.org_
> > &d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-xy2uk0vYF_EA&m=ieXUMpCK
> > PGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=_sxjMqQX23TPC66IvJIRdcVDr-qShQzh
> > -LVXKELe1-w&e= > Committer & PMC OPS4J Pax Web
> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.ops4j.org_di
> > splay_paxweb_Pax-2BWeb_&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-
> > xy2uk0vYF_EA&m=ieXUMpCKPGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=vnWVVqyS9
> > IILoEJlkpmqDOtgjwgB_h1Bi8iWWZitiGY&e= > Committer & Project Lead blog
> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__notizblog.nierbec
> > k.de_&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-xy2uk0vYF_EA&m=ieX
> > UMpCKPGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=-LJoQVoz-mB8Sdcw4KM-9IL3Nl0
> > GXywagNK3733Z7ow&e= > Co-Author of Apache Karaf Cookbook
> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__bit.ly_1ps9rkS&d=
> > DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-xy2uk0vYF_EA&m=ieXUMpCKPGq
> > dTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=BqTDlbhLQvFhq0xwyLHSM1fjio5niwfU0yc
> > -nhIX7xc&e= >
> >
> > Software Architect / Project Manager / Scrum Master
> >
> 
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__blog.nanthrax.net&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-
> xy2uk0vYF_EA&m=ieXUMpCKPGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=ZPDfCesGP6N
> emwU9Cfa65tyki0-793TbpiJBChW7U1I&e=
> Talend - https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.talend.com&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=OsTemSXEn-
> xy2uk0vYF_EA&m=ieXUMpCKPGqdTfC74NxVMiUDjH9jViR7qlfHbpHE6ho&s=u4d95VbGZN8
> EtDp7zKNBs-4Sl-kZSNb8zdCbnTM7i1I&e=
Mime
View raw message