cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Norén <mats.no...@spectral.se>
Subject Fresh copy from CVS broken?
Date Thu, 25 Jan 2001 11:16:29 GMT
Hi,
I checked out a fresh copy of CVS and dropped the war file in Jakartas
webapp-catalog.
When I tried to view the welcome page I got a NullPointerException. It
seems that the SiteMap doesn´t compile at all..
Everything seems to work up to the actual compilation of the Sitemap.
I included a printout from the log file below.
What am I doing wrong?

/Regards Mats

DEBUG   130     [cocoon  ] (Thread-10): Using configuration file:
/cocoon.xconf
INFO    140     [cocoon  ] (Thread-10): Reloading from:
file:D:\jakarta-tomcat-3.2.1\webapps\cocoon\cocoon.xconf
DEBUG   280     [cocoon  ] (Thread-10): New Cocoon object.
DEBUG   280     [cocoon  ] (Thread-10): Using parser:
org.apache.cocoon.components.parser.XercesParser
DEBUG   390     [cocoon  ] (Thread-10): Classpath = null;null;null
DEBUG   390     [cocoon  ] (Thread-10): Work directory =
D:\jakarta-tomcat-3.2.1\work\localhost_8080%2Fcocoon
DEBUG   390     [cocoon  ] (Thread-10): Creating new component pool for
org.apache.cocoon.components.parser.XercesParser.
DEBUG   481     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   481     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   481     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   481     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   491     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   491     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   491     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   491     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   491     [cocoon  ] (Thread-10): ComponentPool retrieved
org.apache.cocoon.components.parser.XercesParser
(org.apache.cocoon.components.parser.XercesParser@840ebdd7)
DEBUG   621     [cocoon  ] (Thread-10): Root configuration: cocoon
DEBUG   621     [cocoon  ] (Thread-10): Configuration version: 2.0
DEBUG   621     [cocoon  ] (Thread-10): Setting up components...
DEBUG   661     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.generator.ProgramGenerator =
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl)
DEBUG   721     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.classloader.ClassLoaderManager =
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl)
DEBUG   791     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.datasource.DataSourceComponentSelector =
org.apache.cocoon.CocoonComponentSelector)
DEBUG   811     [cocoon  ] (Thread-10): Adding component
(org.apache.avalon.util.pool.PoolController =
org.apache.cocoon.util.ComponentPoolController)
DEBUG   811     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.parser.Parser =
org.apache.cocoon.components.parser.XercesParser)
DEBUG   811     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
= org.apache.cocoon.CocoonComponentSelector)
DEBUG   811     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.store.Store =
org.apache.cocoon.components.store.MemoryStore)
DEBUG   831     [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.markup.MarkupLanguageSelector =
org.apache.cocoon.CocoonComponentSelector)
DEBUG   831     [cocoon  ] (Thread-10): Setting up the sitemap.
DEBUG   891     [cocoon  ] (Thread-10): Sitemap location = sitemap.xmap
DEBUG   1091    [cocoon  ] (Thread-10): Beginning sitemap regeneration
DEBUG   1101    [cocoon  ] (Thread-24): CocoonComponentSelector setting
up with root element: markup-languages
DEBUG   1372    [cocoon  ] (Thread-24): CocoonComponentSelector setting
up with root element: programming-languages
DEBUG   3255    [cocoon  ] (Thread-24): Setting the parameters
DEBUG   3355    [cocoon  ] (Thread-24): Looking up
org.apache.cocoon.Cocoon
DEBUG   3355    [cocoon  ] (Thread-24): Looking up
org.apache.cocoon.Cocoon
ERROR   3475    [cocoon  ] (Thread-24): Error compiling sitemap
java.lang.NullPointerException
 at
org.apache.cocoon.components.language.programming.java.Javac.<init>(Javac.java:38)

 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java, Compiled Code)
 at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java,
Compiled Code)
 at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:140)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:187)

 at org.apache.cocoon.sitemap.Handler.run(Handler.java:168)
 at java.lang.Thread.run(Thread.java:479)

DEBUG   3485    [cocoon  ] (Thread-10): Sitemap regeneration complete



Mime
View raw message