[Netarchivesuite-devel] java.lang.NoClassDefFoundError running a quickstart

Søren Vejrup Carlsen svc at kb.dk
Wed Mar 16 11:15:39 CET 2011

Hi Mikis.
This is a standard Linux deployment.
A full log would not give you any more information.

-----Oprindelig meddelelse-----
Fra: netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk] På vegne af Mikis Seth Sørensen
Sendt: 16. marts 2011 09:18
Til: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
Emne: Re: [Netarchivesuite-devel] java.lang.NoClassDefFoundError running a quickstart

Hi Soren

Here are my first comments:

The log here should be improved
Exception logging should contain a stacktrace so it is possible to see
where the exception originated. The code line here is:
log.error("Task threw exception: " + e.getCause());

it should be:
log.error("Task threw exception: ", e);

we should include this in the current active review of the
PeriodicTaskExecutor code

The Hudson unit test build run alright, but on of the major comments I
have made (in the Crucible review) to the code Nicolas committed together
with the PeriodicTaskExecutor class is the lack of unit tests.
The Hudson system test run alright eg. the full system is deployed and the
system overview looks ok.

What is the environment, is this a standalone deploy on a windows machine?

Do you have a full log you could attach?


On 3/15/11 6:55 PM, "Søren Vejrup Carlsen" <svc at kb.dk> wrote:

>Have anyone tried running the code in the trunk.
>When doing that I get a lot of the following
>java.lang.NoClassDefFoundError errors:
>Mar 15, 2011 6:49:36 PM
>dk.netarkivet.common.lifecycle.PeriodicTaskExecutor checkExecution
>SEVERE: Task threw exception: java.lang.NoClassDefFoundError: Could not
>initialize class sun.awt.X11GraphicsEnvironment
>Mar 15, 2011 6:49:37 PM
>dk.netarkivet.common.lifecycle.PeriodicTaskExecutor checkExecution
>SEVERE: Task threw exception: java.lang.NoClassDefFoundError: Could not
>initialize class sun.awt.X1
>It could be a blocking error, or ?
>Best regards
>Netarchivesuite-devel mailing list
>Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk

Netarchivesuite-devel mailing list
Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk

More information about the Netarchivesuite-devel mailing list