forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@trysybase.com>
Subject Jakarta Gump documentation failing
Date Mon, 08 Dec 2003 16:43:23 GMT
Recently the logo for Jakarta Gump was updated, and my local forrest started
to fail on it with this:

X [0]                       /images/gump-logo.png BROKEN:
java.lang.NullPointerException

I've updated to CVS HEAD forrest (I think, I can't see a version number in
the output below, so ???????).

It seems to work for others, even on older forrests, so maybe it is
environmental. [BTW: I am on W2K on JDK 1.4.2.]

- How do I get the stack trace for this problem, so I can try to track it
down?
- How do I find out what forrest version I have?

BTW: If I could get into forrestbot I'd not have to fix this, that could
update the site for me. Can anybody but Jeff help me? Jeff desn't seem to
have time right now.

regards,

Adam

-------------------------------------------------------------------------
Apache Forrest.  Run 'forrest -projecthelp' to list options


Buildfile: F:\data\OSS\forrest\forrest.build.xml

init-props:
Loading project specific properties from
F:\data\OSS\jakarta-gump\forrest.properties
Reading filters from
F:\data\OSS\jakarta-gump\build\tmp\projfilters.properties

echo-settings:
      ------------------------------------------------
      | Forrest template run.
      | Running from ${forrest.home} = F:\data\OSS\forrest
      | Working on   ${project.home} = F:\data\OSS\jakarta-gump
      ------------------------------------------------
      | //where to put the result
      | project.site-dir    = F:\data\OSS\jakarta-gump\build\site
      | //uri to start crawling/generation process
      | project.start-uri   = index.html
      | //cocoon.xconf location
      | project.configfile  =
F:\data\OSS\jakarta-gump\build\webapp/WEB-INF/cli.xconf
      | //logkit.xconf location
      | project.logkitfile  =
F:\data\OSS\jakarta-gump\build\webapp/WEB-INF/logkit.xconf
      | //temp dir to throw stuff in (i.e. work and ctxt)
      | project.temp-dir    = F:\data\OSS\jakarta-gump\build\tmp
      | //temp working directory for generation process
      | project.cocoon-work-dir    =
F:\data\OSS\jakarta-gump\build\tmp\cocoon-work
      | //temp context directory for generation process
      | project.webapp    = F:\data\OSS\jakarta-gump\build\webapp
      | //debuglevel for logging (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
      | project.debuglevel  = ERROR
      | //file for list of broken links
      | project.brokenlinkfile =
F:\data\OSS\jakarta-gump\build\brokenlinks.xml
      | //check if you have tools.jar installed
      | tools.jar.present   = true
      ------------------------------------------------
      | The following properties could be removed from future builds:
      | //which skin to apply
      | project.skin        = forrest-site
      | //where your documentation xml is
      | project.content-dir = F:\data\OSS\jakarta-gump\src\documentation
      ------------------------------------------------

init-skinprops:
Reading filters from
F:\data\OSS\jakarta-gump\build\tmp\skinfilters.properties

validate-xdocs:
19 file(s) have been successfully validated.
...validated xdocs

validate-sitemap:
...validated sitemap

validate-skinchoice:
...validated existence of skin 'forrest-site'

bare-context:
____________________________________
Using skin forrest-site
____________________________________
Copying 16 files to F:\data\OSS\jakarta-gump\build\webapp
Replacing: @skin@ -> forrest-site
Replacing: @menu-scheme@ -> tab_attributes
Replacing: @bugtracking-url@ ->
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=
Replacing: @i18n@ -> false
Replacing: @forrest.home@ -> F:\data\OSS\forrest
Replacing: @forrest.home@ -> F:\data\OSS\forrest
Replacing: @skin@ -> forrest-site
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.skinconf@ -> src/documentation/skinconf.xml
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.content-dir@ -> src/documentation
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.raw-content-dir@ -> src/documentation/content
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.xdocs-dir@ -> src/documentation/content/xdocs
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.translations-dir@ -> src/documentation/translations
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.stylesheets-dir@ ->
src/documentation/resources/stylesheets
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.images-dir@ -> src/documentation/resources/images
Replacing: @project.home@ -> F:\data\OSS\jakarta-gump
Replacing: @project.skins-dir@ -> src/documentation/skins
Replacing: @forrest.home@ -> F:\data\OSS\forrest
Replacing: @local-catalog@ ->
F:\data\OSS\jakarta-gump\src\documentation\resources\schema\catalog.xcat
Replacing: @catalog-verbosity@ -> 1

copy-skinconf:
Copying 1 file to F:\data\OSS\jakarta-gump\build\webapp

init-props:
Loading project specific properties from
F:\data\OSS\jakarta-gump\forrest.properties
Reading filters from
F:\data\OSS\jakarta-gump\build\tmp\projfilters.properties

echo-settings:
      ------------------------------------------------
      | Forrest template run.
      | Running from ${forrest.home} = F:\data\OSS\forrest
      | Working on   ${project.home} = F:\data\OSS\jakarta-gump
      ------------------------------------------------
      | //where to put the result
      | project.site-dir    = F:\data\OSS\jakarta-gump\build\site
      | //uri to start crawling/generation process
      | project.start-uri   = index.html
      | //cocoon.xconf location
      | project.configfile  =
F:\data\OSS\jakarta-gump\build\webapp/WEB-INF/cli.xconf
      | //logkit.xconf location
      | project.logkitfile  =
F:\data\OSS\jakarta-gump\build\webapp/WEB-INF/logkit.xconf
      | //temp dir to throw stuff in (i.e. work and ctxt)
      | project.temp-dir    = F:\data\OSS\jakarta-gump\build\tmp
      | //temp working directory for generation process
      | project.cocoon-work-dir    =
F:\data\OSS\jakarta-gump\build\tmp\cocoon-work
      | //temp context directory for generation process
      | project.webapp    = F:\data\OSS\jakarta-gump\build\webapp
      | //debuglevel for logging (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
      | project.debuglevel  = ERROR
      | //file for list of broken links
      | project.brokenlinkfile =
F:\data\OSS\jakarta-gump\build\brokenlinks.xml
      | //check if you have tools.jar installed
      | tools.jar.present   = true
      ------------------------------------------------
      | The following properties could be removed from future builds:
      | //which skin to apply
      | project.skin        = forrest-site
      | //where your documentation xml is
      | project.content-dir = F:\data\OSS\jakarta-gump\src\documentation
      ------------------------------------------------

init-skinprops:
Reading filters from
F:\data\OSS\jakarta-gump\build\tmp\skinfilters.properties
---------------------------------
Webapp generated in F:\data\OSS\jakarta-gump\build\webapp

To run in Tomcat, add this to the config file (usu. server.xml):

&lt;Context path='/Jakarta Gump'
            docBase='F:\data\OSS\jakarta-gump\build\webapp'
            reloadable='true'/&gt;

If using JDK 1.4 or above, make sure to set the Java environment variable
-Djava.endorsed.dirs=F:\data\OSS\forrest\lib\endorsed
Eg, in the TOMCAT_OPTS (3.3.x) or CATALINA_OPTS (4.x) env variable.
---------------------------------

site:
Deleting directory F:\data\OSS\jakarta-gump\build\tmp\cocoon-work
Created dir: F:\data\OSS\jakarta-gump\build\tmp\cocoon-work
Warning: F:\data\OSS\jakarta-gump\build\webapp\resources not found.
Copying 1 file to F:\data\OSS\jakarta-gump\build\site
Copying 37 files to F:\data\OSS\jakarta-gump\build\site\skin\images
Warning: F:\data\OSS\jakarta-gump\src\documentation\skins\common\images not
found.
Warning:
F:\data\OSS\jakarta-gump\src\documentation\skins\forrest-site\images not
found.
Copying 7 files to F:\data\OSS\jakarta-gump\build\site\skin
Warning: F:\data\OSS\jakarta-gump\src\documentation\skins\common not found.
Warning: F:\data\OSS\jakarta-gump\src\documentation\skins\forrest-site not
found.

Static site will be generated at:
F:\data\OSS\jakarta-gump\build\site

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
F:\data\OSS\jakarta-gump\build\brokenlinks.xml
for any broken links in the generated site.

------------------------------------------------------------------------ 
cocoon 2.1.2-dev
Copyright (c) 1999-2003 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------ 
* [0/0]      4.046s 766b    favicon.ico
* [29/0]     20.77s 21.1Kb  index.html
* [0/0]      0.491s 1.1Kb   skin/images/vcss.png
* [32/0]     3.755s 18.9Kb  why.html
* [0/0]      0.22s  70b     skin/images/tabSel-left.gif
* [0/0]      0.16s  55b     skin/images/chapter.gif
* [0/0]      0.141s 1.8Kb   images/built-with-forrest-button.png
* [0/0]      0.47s  2.8Kb   skin/page.css
* [25/0]     4.106s 11.7Kb  traditional/index.html
* [36/0]     2.844s 16.3Kb  metadata/index.html
* [34/0]     6.119s 39.6Kb  metadata/project.html
* [23/0]     2.003s 16.4Kb  python/usage.html
X [0]                       gettignstarted.html BROKEN:
F:\data\OSS\jakarta-gump\src\documentation\content\xdocs\gettignstarted.xml
(The system cannot find the file specified)
* [0/0]      0.17s  2.8Kb   skin/images/valid-html401.png
* [0/0]      2.013s 8.5Kb   skin/breadcrumbs.js
* [30/0]     2.364s 13.8Kb  metadata/practices.html
* [27/0]     2.013s 15.3Kb  metadata/repository.html
* [0/0]      0.07s  176b    skin/images/menu-left.gif
* [0/0]      0.08s  176b    skin/images/menu-right.gif
* [0/0]      0.08s  70b     skin/images/tab-left.gif
* [0/0]      0.08s  54b     skin/images/label.gif
* [0/0]      0.09s  52b     skin/images/page.gif
* [22/0]     1.903s 13.5Kb  traditional/usage.html
* [29/0]     3.095s 17.9Kb  metadata/module.html
* [0/0]      0.07s  766b    /favicon.ico
* [0/0]      0.05s  70b     skin/images/tab-right.gif
* [24/0]     1.642s 16.2Kb  status.html
* [27/0]     3.375s 18.3Kb  faq.html
* [0/0]      0.13s  457b    skin/images/pdfdoc.gif
* [27/0]     1.723s 17.6Kb  metadata/ant.html
* [0/0]      0.1s   16.8Kb  images/apache-jakarta.png
* [0/0]      0.07s  60b     skin/images/current.gif
* [32/0]     1.512s 16.4Kb  nagged.html
* [26/0]     1.402s 16.5Kb  gettingstarted.html
* [36/0]     1.933s 16.3Kb  /metadata/index.html
* [0/0]      0.06s  70b     /skin/images/tabSel-left.gif
* [0/0]      0.03s  54b     /skin/images/label.gif
* [0/0]      0.05s  70b     /skin/images/tabSel-right.gif
* [0/0]      0.04s  1.1Kb   /skin/images/vcss.png
* [29/0]     0.741s 17.9Kb  /metadata/module.html
* [0/0]      0.07s  1.8Kb   /images/built-with-forrest-button.png
* [0/0]      0.03s  52b     /skin/images/page.gif
* [27/0]     0.641s 15.3Kb  /metadata/repository.html
* [30/0]     0.691s 13.8Kb  /metadata/practices.html
* [0/0]      0.04s  176b    /skin/images/menu-right.gif
* [0/0]      0.04s  55b     /skin/images/chapter.gif
* [30/0]     2.083s 14.8Kb  /metadata/profile.html
* [0/0]      0.03s  16.8Kb  /images/apache-jakarta.png
* [34/0]     0.862s 39.6Kb  /metadata/project.html
* [25/0]     0.641s 11.7Kb  /traditional/index.html
* [0/0]      0.04s  176b    /skin/images/menu-left.gif
* [0/0]      0.07s  8.5Kb   /skin/breadcrumbs.js
* [22/0]     0.621s 13.5Kb  /traditional/usage.html
* [26/0]     1.742s 16.5Kb  /gettingstarted.html
* [0/0]      0.03s  70b     /skin/images/tab-left.gif
* [0/0]      0.03s  2.8Kb   /skin/images/valid-html401.png
* [0/0]      0.04s  43b     /skin/images/spacer.gif
* [0/0]      0.1s   2.8Kb   /skin/page.css
X [0]                       /site/getinvolved.html BROKEN:
F:\data\OSS\jakarta-gump\src\documentation\content\xdocs\site\getinvolved.xm
l (The system cannot find the path specified)
* [0/0]      0.101s 70b     /skin/images/tab-right.gif
X [0]                       ../metadata/index.html BROKEN:
F:\data\OSS\jakarta-gump\src\documentation\content\xdocs\..\metadata\index.x
ml (The system cannot find the path specified)
* [30/0]     0.6s   14.8Kb  metadata/profile.html
* [0/0]      0.041s 55b     /skin/images/chapter_open.gif
* [29/0]     1.131s 21.1Kb  /index.html
* [0/0]      8.573s 14.6Kb  faq.pdf
* [27/0]     0.67s  17.6Kb  /metadata/ant.html
* [26/0]     1.032s 12.2Kb  python/index.html
* [0/0]      0.14s  65.6Kb  graphics/view.jpg
* [0/0]      0.06s  60b     /skin/images/current.gif
X [0]                       /images/gump-logo.png BROKEN:
java.lang.NullPointerException
* [0/0]      0.13s  70b     skin/images/tabSel-right.gif
* [0/0]      0.08s  43b     skin/images/spacer.gif
* [32/0]     1.292s 25.5Kb  /metadata/workspace.html
* [32/0]     0.721s 25.5Kb  metadata/workspace.html
* [26/0]     0.661s 12.2Kb  /python/index.html
* [23/0]     2.113s 16.4Kb  /python/usage.html
X [0]                       /gettignstarted.html BROKEN:
F:\data\OSS\jakarta-gump\src\documentation\content\xdocs\gettignstarted.xml
(The system cannot find the file specified)
* [0/0]      0.03s  65.6Kb  /graphics/view.jpg
* [0/0]      0.03s  55b     skin/images/chapter_open.gif
X [0]                       images/gump-logo.png BROKEN:
java.lang.NullPointerException
Total time: 2 minutes 6 seconds

BUILD FAILED
F:\data\OSS\forrest\forrest.build.xml:500: Java returned: 1

Total time: 2 minutes 59 seconds


Mime
View raw message