From owner-freebsd-java Wed Nov 27 17:36:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C86B37B401 for ; Wed, 27 Nov 2002 17:36:48 -0800 (PST) Received: from bsd.ultra-secure.de (bsd.ultra-secure.de [62.146.46.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 403AE43E88 for ; Wed, 27 Nov 2002 17:36:47 -0800 (PST) (envelope-from rainer@bsd.ultra-secure.de) Received: (qmail 13576 invoked by uid 1001); 28 Nov 2002 01:36:51 -0000 Message-ID: <20021128013651.13575.qmail@bsd.ultra-secure.de> From: "Rainer Duffner" To: freebsd-java@freebsd.org Subject: Re: Problem with Jahia Date: Thu, 28 Nov 2002 02:36:51 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, this is what I got sent from the jahia-developers: As I said, the same bug happens with the linux-jdk and FreeBSD's native JDK (on FreeBSD). cheers, Rainer -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rainer Duffner Munich rainer@ultra-secure.de Germany http://www.i-duffner.de Freising ======================================== When shall we three meet again In thunder, lightning, or in rain? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------Forwarded message ---------- Date: Mon, 25 Nov 2002 10:19:58 +0100 To: From: Serge Huber Subject: Re: Help with install on FreeBSD needed. In-Reply-To: <20021124213728.31490.qmail@bsd.ultra-secure.de> References: <5.1.0.14.0.20021124213636.0265f048@mail.jahia.com> <5.1.0.14.0.20021122150207.03ea6dd0@mail.jahia.com> <5.2.0.9.0.20021122102439.017e7e28@mail.jahia.com> <5.2.0.9.0.20021122102439.017e7e28@mail.jahia.com> <5.1.0.14.0.20021122150207.03ea6dd0@mail.jahia.com> <5.1.0.14.0.20021124213636.0265f048@mail.jahia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Hi Rainer, Indeed the logs don't say much more :( Anyway I've checked the code in which the exception is generated, and it looks like this : public void init( JahiaPrivateSettings jSettings ) throws JahiaInitializationException { try { loadConfiguration(jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME); } catch (JahiaException je) { JahiaConsole.printe("JahiaUserManagerRoutingService.init#" + "Error while trying to load configuration from " + jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME, je); throw new JahiaInitializationException("Error while trying to load configuration from " + jSettings.jahiaEtcDiskPath + this.CONFIG_PATH + File.separator + this.CONFIG_FILE_NAME + " Exception:" + je.getMessage()); } Iterator providerIter = providersTable.keySet().iterator(); while (providerIter.hasNext()) { String curProviderKey = (String) providerIter.next(); UserManagerProviderBean curProvider = (UserManagerProviderBean) providersTable.get(curProviderKey); curProvider.getInstance().init(jSettings); } } On the last line (curProvider.getInstance().init(jSettings)) is where the null pointer exception is generated. I'm guessing the curProvider.getInstance() call is failing for some reason. The getInstance() call uses reflection to get the instance, and maybe this is failing on FreeBSD for some reason ?! Regards, Serge Huber. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message