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 Re: Troubleshooting help w/ forrest, please...
Date Tue, 09 Dec 2003 19:42:16 GMT
I'm still curious how to troubleshoot, but I've temporarily rolled back the
SVG. Now my problem is the trail.

Anybody able to help me get past this?

See:

Jakarta > Jakarta Gump @skinconfig.trail.link1.name@ >
@skinconfig.trail.link2.name@ > @skinconfig.trail.link3.name@ > gump > new

http://jakarta.apache.org/gump/new/index.html

regards,

Adam
----- Original Message ----- 
From: "Adam R. B. Jack" <ajack@trysybase.com>
To: <forrest-dev@xml.apache.org>
Sent: Tuesday, December 09, 2003 11:57 AM
Subject: Troubleshooting help w/ forrest, please...


> Ok, I now know I have this:
>
>     Forrest Site Builder  0.6-dev  $Date: 2003/12/04 22:08:19
>
> but I still get this, which seems to work for some, some times.
>
> X [0]                       images/gump-logo.png BROKEN:
> java.lang.NullPointerException
>
> [Full log below.]
>
> How can I get more information from this? Can I get a stack trace to post?
>
> Also, with broken links, is there a way to know where it is referenced
from?
> When I move pages around (and create sub-directories) I cause broken
links,
> but they are hard to track down. Anything available to help me here?
>
> [P.S. I looked for a troubleshooting section on the forrest site, but
didn't
> find one.]
>
> 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]      2.313s 766b    favicon.ico
> * [29/0]     11.026s 21.1Kb  index.html
> * [0/0]      0.34s  1.1Kb   skin/images/vcss.png
> * [32/0]     2.093s 18.9Kb  why.html
> * [0/0]      0.07s  70b     skin/images/tabSel-left.gif
> * [0/0]      0.061s 55b     skin/images/chapter.gif
> * [0/0]      0.06s  1.8Kb   images/built-with-forrest-button.png
> * [0/0]      0.24s  2.8Kb   skin/page.css
> * [25/0]     2.133s 11.7Kb  traditional/index.html
> * [36/0]     1.412s 16.3Kb  metadata/index.html
> * [34/0]     3.776s 39.6Kb  metadata/project.html
> * [22/0]     1.261s 16.4Kb  python/usage.html
> * [0/0]      0.04s  2.8Kb   skin/images/valid-html401.png
> * [0/0]      0.331s 8.5Kb   skin/breadcrumbs.js
> * [30/0]     2.063s 13.8Kb  metadata/practices.html
> * [27/0]     1.352s 15.3Kb  metadata/repository.html
> * [0/0]      0.1s   176b    skin/images/menu-left.gif
> * [0/0]      0.06s  176b    skin/images/menu-right.gif
> * [0/0]      0.04s  70b     skin/images/tab-left.gif
> * [0/0]      0.04s  54b     skin/images/label.gif
> * [0/0]      0.06s  52b     skin/images/page.gif
> * [22/0]     1.122s 13.5Kb  traditional/usage.html
> * [29/0]     2.293s 17.9Kb  metadata/module.html
> * [0/0]      0.04s  766b    /favicon.ico
> * [0/0]      0.06s  70b     skin/images/tab-right.gif
> * [24/0]     1.252s 16.2Kb  status.html
> * [27/0]     1.412s 18.3Kb  faq.html
> * [0/0]      0.12s  457b    skin/images/pdfdoc.gif
> * [27/0]     2.294s 17.6Kb  metadata/ant.html
> * [0/0]      0.04s  16.8Kb  images/apache-jakarta.png
> * [0/0]      0.1s   60b     skin/images/current.gif
> * [32/0]     1.081s 16.4Kb  nagged.html
> * [24/0]     1.072s 16.5Kb  gettingstarted.html
> 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)
> * [30/0]     2.113s 14.8Kb  metadata/profile.html
> * [0/0]      7.982s 14.6Kb  faq.pdf
> * [26/0]     0.931s 12.2Kb  python/index.html
> * [0/0]      0.12s  65.6Kb  graphics/view.jpg
> * [0/0]      0.07s  70b     skin/images/tabSel-right.gif
> * [0/0]      0.03s  43b     skin/images/spacer.gif
> * [32/0]     1.382s 25.5Kb  metadata/workspace.html
> * [0/0]      0.101s 55b     skin/images/chapter_open.gif
> X [0]                       images/gump-logo.png BROKEN:
> java.lang.NullPointerException
> Total time: 1 minutes 3 seconds
>
> BUILD FAILED
> F:\data\OSS\forrest\forrest.build.xml:500: Java returned: 1
>
> Total time: 1 minute 32 seconds
>
> --
> Experience the Unwired Enterprise:
> http://www.sybase.com/unwiredenterprise
> Try Sybase: http://www.try.sybase.com
>


Mime
View raw message