Ubuntu Dapper Build

Michael Koch konqueror at gmx.de
Sat Jun 9 06:14:46 PDT 2007


On Sat, Jun 09, 2007 at 02:05:59PM +0100, Andrew Haley wrote:
> Michael Koch writes:
> 
>  > Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.templates.ElemValueOf
>  >    at java.lang.Class.initializeClass(natClass.cc:720)
>  >    at java.lang.Class.forName(Class.h:751)
>  >    at java.lang.Class.forName(natClass.cc:124)
>  >    at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:381)
> 
>     XSLTElementDef xslValueOf = new XSLTElementDef(this,
>                                   Constants.S_XSLNAMESPACEURL, "value-of",
>                                   null /*alias */, null /* elements */,
>                                   new XSLTAttributeDef[]{ selectAttrRequired,
>                                                           disableOutputEscapingAttr }, 
>                                                new ProcessorTemplateElem(),
>                                   ElemValueOf.class /* class object */, 20, true);
>   
>  >    at org.apache.xalan.processor.XSLTSchema.<init>(XSLTSchema.java:70)
>  >    at org.apache.xalan.processor.StylesheetHandler.<init>(StylesheetHandler.java:1287)
>  >    at org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(TransformerFactoryImpl.java:374)
>  >    at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
>  >    at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:774)
>  >    at jvmtiGen.main(jvmtiGen.java:144)
>  > Caused by: java.lang.NullPointerException
>  >    at java.lang.Class.initializeClass(natClass.cc:714)
>  >    ...9 more
>  > 
>  > The class org.apache.xalan.templates.ElemValueOf definitely exists in
>  > the same jar as org.apache.xalan.processor.XSLTSchema. I dont what can
>  > cause this.
>  > 
>  > Any help is appreciated.
> 
> The NullPointerException that occurs here is triggered when
> initializing org.apache.xalan.processor.XSLTSchema.  That class tries
> to load org.apache.xalan.templates.ElemValueOf, and fails while trying
> to initialize it.  So, I think the class
> org.apache.xalan.templates.ElemValueOf was loaded, but we fail to
> initialize it.
> 
> What version of gcj are you trying to use?

(sid)mkoch at oberon:~$ gcj --version
gcj (GCC) 4.1.3 20070518 (prerelease) (Debian 4.1.2-8)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(sid)mkoch at oberon:~$ java --version
java version "1.5.0"
gij (GNU libgcj) version 4.1.3 20070518 (prerelease) (Debian 4.1.2-8)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(sid)mkoch at oberon:~$


This should be the same as in Fedora 7.


Cheers,
Michael
-- 
 .''`.  | Michael Koch <konqueror at gmx.de>
: :' :  | Free Java Developer <http://www.classpath.org>
`. `'   |
  `-    | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B



More information about the distro-pkg-dev mailing list