Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 02:36:51 +0100
From:      "Rainer Duffner" <rainer@ultra-secure.de>
To:        freebsd-java@freebsd.org
Subject:   Re: Problem with Jahia
Message-ID:  <20021128013651.13575.qmail@bsd.ultra-secure.de>

next in thread | raw e-mail | index | archive | help
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: <install_list@jahia.org>
From: Serge Huber <serge.huber@jahia.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021128013651.13575.qmail>