Fresh seed build errors (PDF)

View: New views
13 Messages — Rating Filter:   Alert me  

Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I see Gump is not complaining, but I can't build a fresh seed site
without PDF errors. I did a fresh checkout the other day (r668004) to
clear up some outdated issues that an update didn't solve. With a fresh
seed from a fresh checkout, I get the errors below. No one else has this
problem?

Brian

------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
------------------------------------------------------------------------


^                                    samples-b/
^                                    samples-c/
^                                    samples-c/subdir/
^                                    samples-c/showonlywhenselected/
^                                    pluginDocs/plugins_0_90/
* [1/35]    [35/41]   5.546s 13.3Kb  linkmap.html
* [3/38]    [5/20]    3.474s 58.8Kb  pluginDocs/plugins_0_90/index.html
^                                    pluginDocs/plugins_0_90/
* [4/38]    [1/40]    0.889s 10.0Kb  index.html
* [5/38]    [1/24]    0.483s 6.5Kb   samples-c/demo-i18n.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-c/demo-i18n.pdf
BROKEN: endElement() called for fo:root where there is no current element.
* [7/36]    [0/0]     1.316s 2.9Kb   skin/basic.css
* [8/37]    [2/31]    0.486s 7.7Kb   samples-b/usemap.html
* [9/37]    [1/20]    0.552s 5.4Kb   samples-a/index.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-a/index.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [11/35]   [0/0]     1.63s  348b
skin/images/rc-b-l-15-1body-2menu-3menu.png
* [13/33]   [0/0]     0.108s 3.9Kb   skin/profile.css
* [14/34]   [2/31]    0.433s 10.5Kb  samples-b/embedded_html.html
^                                    samples-b/site:index
* [15/33]   [0/2]     0.3s   3.6Kb   samples-b/embedded_html.xml
* [16/32]   [0/0]     0.442s 10.0Kb
* [17/32]   [1/24]    0.33s  7.1Kb   samples-c/i18n.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-c/i18n.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [19/31]   [1/33]    1.043s 11.7Kb  samples-b/locationmap/index.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/embedded_html.pdf
BROKEN: endElement() called for fo:root where there is no current element.
* [22/30]   [2/31]    0.322s 8.4Kb   samples-b/static.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     index.pdf BROKEN: endElement()
called for fo:root where there is no current element.
* [26/30]   [4/37]    0.552s 25.9Kb  samples-b/sample.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/sample.pdf BROKEN:
endElement() called for fo:root where there is no current element.
^                                    samples-b/ext:forrest
* [30/26]   [0/9]     0.181s 18.7Kb  samples-b/sample.xml
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]
samples-b/locationmap/index.pdf BROKEN: endElement() called for fo:root
where there is no current element.
* [33/24]   [1/30]    0.353s 16.3Kb  samples-b/howto-howto.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/howto-howto.pdf
BROKEN: endElement() called for fo:root where there is no current element.
* [35/23]   [1/25]    0.414s 6.8Kb
samples-c/showonlywhenselected/page1.html
* [36/23]   [1/34]    0.454s 10.0Kb  samples-b/index.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/index.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [38/24]   [3/32]    0.382s 6.9Kb   samples-b/svg.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/svg.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [40/22]   [0/0]     1.092s 1.9Kb   samples-b/ellipse.png
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/static.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [43/20]   [1/27]    0.314s 7.0Kb   samples-c/subdir/index.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-c/subdir/index.pdf
BROKEN: endElement() called for fo:root where there is no current element.
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     linkmap.pdf BROKEN:
endElement() called for fo:root where there is no current element.
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]
pluginDocs/plugins_0_90/index.pdf BROKEN: endElement() called for
fo:root where there is no current element.
^                                    pluginDocs/plugins_0_90/
^                                    samples-b/
* [47/29]   [13/49]   0.446s 30.2Kb  samples-b/linking.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/linking.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [54/22]   [0/0]     0.205s 1.9Kb   /images/ellipse-2.png
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/usemap.pdf BROKEN:
endElement() called for fo:root where there is no current element.
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]
samples-c/showonlywhenselected/page1.pdf BROKEN: endElement() called for
fo:root where there is no current element.
* [60/16]   [0/0]     1.464s 8.3Kb   images/project.png
* [62/15]   [1/28]    0.457s 8.7Kb   samples-c/index.html
* [64/13]   [0/0]     0.157s 7.4Kb   images/group.png
* [66/13]   [2/31]    0.179s 8.0Kb   samples-b/customSchema.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/customSchema.pdf
BROKEN: endElement() called for fo:root where there is no current element.
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-c/index.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [70/10]   [1/25]    0.224s 6.8Kb
samples-c/showonlywhenselected/page2.html
* [71/9]    [0/0]     0.053s 1.2Kb   skin/print.css
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]
samples-c/showonlywhenselected/page2.pdf BROKEN: endElement() called for
fo:root where there is no current element.
* [73/8]    [1/31]    0.197s 6.1Kb   samples-b/custom.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/custom.pdf BROKEN:
endElement() called for fo:root where there is no current element.
* [76/6]    [1/31]    0.38s  7.6Kb   samples-b/ascii-art.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/ascii-art.pdf
BROKEN: endElement() called for fo:root where there is no current element.
* [78/4]    [0/0]     0.128s 2.2Kb   samples-b/cocoon-pyramid.png
* [79/16]   [13/13]   0.093s 12.3Kb  skin/screen.css
* [82/13]   [0/0]     0.031s 199b
skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
* [83/12]   [0/0]     0.021s 390b
skin/images/rc-t-r-15-1body-2menu-3menu.png
* [84/11]   [0/0]     0.029s 200b
skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
* [85/10]   [0/0]     0.033s 214b
skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
* [87/8]    [0/0]     0.031s 199b
skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
* [88/7]    [0/0]     0.038s 319b
skin/images/rc-b-r-15-1body-2menu-3menu.png
* [89/6]    [0/0]     0.025s 209b
skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
* [91/4]    [0/0]     0.034s 214b
skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
* [92/3]    [0/0]     0.025s 215b
skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
* [94/2]    [1/30]    0.141s 8.7Kb   samples-b/xml-entities.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/xml-entities.pdf
BROKEN: endElement() called for fo:root where there is no current element.
* [96/1]    [1/30]    0.238s 7.8Kb   samples-b/faq.html
WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.
page-sequence (http://www.w3.org/1999/XSL/Format)
X [0]                                     samples-b/faq.pdf BROKEN:
endElement() called for fo:root where there is no current element.

Re: Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brian M Dube wrote:
> I see Gump is not complaining, but I can't build a fresh seed site
> without PDF errors. I did a fresh checkout the other day (r668004) to
> clear up some outdated issues that an update didn't solve. With a fresh
> seed from a fresh checkout, I get the errors below. No one else has this
> problem?

I'm away for the weekend. If I've simply overlooked something on this
end, I apologize for the noise. I'm out of practice concerning Forrest
and troubleshooting left me stumped.


Brian

Re: Fresh seed build errors (PDF)

by Thorsten Scherler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2008-06-20 at 18:06 -0700, Brian M Dube wrote:

> Brian M Dube wrote:
> > I see Gump is not complaining, but I can't build a fresh seed site
> > without PDF errors. I did a fresh checkout the other day (r668004) to
> > clear up some outdated issues that an update didn't solve. With a fresh
> > seed from a fresh checkout, I get the errors below. No one else has this
> > problem?
>
> I'm away for the weekend. If I've simply overlooked something on this
> end, I apologize for the noise. I'm out of practice concerning Forrest
> and troubleshooting left me stumped.

I just did a test and get a different error:
validate-sitemap:
...
/home/thorsten/src/apache/forrest/main/webapp/resources/schema/relaxng/sitemap-v06.rng:2107:29: error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized

When I turn of validating for the sitemap, then I get only one broken
link:
ERROR - Image not available: cocoon:/images/icon-b.png

salu2
--
Thorsten Scherler
thorsten.at.apache.org
Open Source Java                      consulting, training and solutions



Re: Fresh seed build errors (PDF)

by David Crossley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thorsten Scherler wrote:
> Brian M Dube wrote:
> > Brian M Dube wrote:
> > > I see Gump is not complaining, ...

You mean "forrestbot" on our Forrest zone server.
Gump is something different that is disabled until
Forrest can build with Cocoon again.

But yes, Forrestbot is not complaining, so all is well.

> > > .. but I can't build a fresh seed site
> > > without PDF errors. I did a fresh checkout the other day (r668004) to
> > > clear up some outdated issues that an update didn't solve. With a fresh
> > > seed from a fresh checkout, I get the errors below. No one else has this
> > > problem?

For me there are no problems, other than the recently
appeared PDF error that Thorsten mentions. This single
issue does not break the build.

> > I'm away for the weekend. If I've simply overlooked something on this
> > end, I apologize for the noise. I'm out of practice concerning Forrest
> > and troubleshooting left me stumped.
>
> I just did a test and get a different error:
> validate-sitemap:
> ...
> /home/thorsten/src/apache/forrest/main/webapp/resources/schema/relaxng/sitemap-v06.rng:2107:29: error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized

That has been previously identified:
http://mail-archives.apache.org/mod_mbox/forrest-dev/200705.mbox/%3C1180634958.6371.1.camel@cartman%3E

"Forrest doesn't work properly with Sun's JDK 1.6"
http://issues.apache.org/jira/browse/FOR-984

> When I turn of validating for the sitemap, then I get only one broken
> link:
> ERROR - Image not available: cocoon:/images/icon-b.png

Yes i get this new one too.

-David

Re: Fresh seed build errors (PDF)

by David Crossley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, in my last message i intended to suggest the obvious.
Have you set FORREST_HOME and PATH to point to the new fresh
forrest installation? Also you might need to do a 'forrest clean'
in any of your existing project workspaces.

-David

Re: Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 25, 2008 at 03:57:44PM +1000, David Crossley wrote:
> Sorry, in my last message i intended to suggest the obvious.
> Have you set FORREST_HOME and PATH to point to the new fresh
> forrest installation? Also you might need to do a 'forrest clean'
> in any of your existing project workspaces.

Oops, I intended to reply to this a long time ago. FORREST_HOME and
PATH are correct, and I tried 'forrest clean' in each project. Does
anyone else use Debian?

Brian

Re: Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 25, 2008 at 03:57:44PM +1000, David Crossley wrote:
> Sorry, in my last message i intended to suggest the obvious.
> Have you set FORREST_HOME and PATH to point to the new fresh
> forrest installation? Also you might need to do a 'forrest clean'
> in any of your existing project workspaces.

Oops, I intended to reply to this a long time ago. FORREST_HOME and
PATH are correct, and I tried 'forrest clean' in each project.

I haven't had much time to look into this, but I'll try to track it
down since it makes testing a real pain.

Brian                                                                                                                                                                                                                        

Re: Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

CLI output:

On Tue, Jun 17, 2008 at 08:40:38PM -0700, Brian M Dube wrote:

> ------------------------------------------------------------------------
> cocoon 2.2.0-dev
> Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
> Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
> ------------------------------------------------------------------------
>
>
> ^                                    samples-b/
> ^                                    samples-c/
> ^                                    samples-c/subdir/
> ^                                    samples-c/showonlywhenselected/
> ^                                    pluginDocs/plugins_0_90/
> * [1/35]    [35/41]   5.546s 13.3Kb  linkmap.html
> * [3/38]    [5/20]    3.474s 58.8Kb  pluginDocs/plugins_0_90/index.html
> ^                                    pluginDocs/plugins_0_90/
> * [4/38]    [1/40]    0.889s 10.0Kb  index.html
> * [5/38]    [1/24]    0.483s 6.5Kb   samples-c/demo-i18n.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-c/demo-i18n.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> * [7/36]    [0/0]     1.316s 2.9Kb   skin/basic.css
> * [8/37]    [2/31]    0.486s 7.7Kb   samples-b/usemap.html
> * [9/37]    [1/20]    0.552s 5.4Kb   samples-a/index.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-a/index.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [11/35]   [0/0]     1.63s  348b  
> skin/images/rc-b-l-15-1body-2menu-3menu.png
> * [13/33]   [0/0]     0.108s 3.9Kb   skin/profile.css
> * [14/34]   [2/31]    0.433s 10.5Kb  samples-b/embedded_html.html
> ^                                    samples-b/site:index
> * [15/33]   [0/2]     0.3s   3.6Kb   samples-b/embedded_html.xml
> * [16/32]   [0/0]     0.442s 10.0Kb
> * [17/32]   [1/24]    0.33s  7.1Kb   samples-c/i18n.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-c/i18n.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [19/31]   [1/33]    1.043s 11.7Kb  samples-b/locationmap/index.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/embedded_html.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> * [22/30]   [2/31]    0.322s 8.4Kb   samples-b/static.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     index.pdf BROKEN: endElement()  
> called for fo:root where there is no current element.
> * [26/30]   [4/37]    0.552s 25.9Kb  samples-b/sample.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/sample.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> ^                                    samples-b/ext:forrest
> * [30/26]   [0/9]     0.181s 18.7Kb  samples-b/sample.xml
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0] samples-b/locationmap/index.pdf BROKEN: endElement() called for
> fo:root where there is no current element.
> * [33/24]   [1/30]    0.353s 16.3Kb  samples-b/howto-howto.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/howto-howto.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> * [35/23]   [1/25]    0.414s 6.8Kb  
> samples-c/showonlywhenselected/page1.html
> * [36/23]   [1/34]    0.454s 10.0Kb  samples-b/index.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/index.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [38/24]   [3/32]    0.382s 6.9Kb   samples-b/svg.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/svg.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [40/22]   [0/0]     1.092s 1.9Kb   samples-b/ellipse.png
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/static.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [43/20]   [1/27]    0.314s 7.0Kb   samples-c/subdir/index.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-c/subdir/index.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     linkmap.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0] pluginDocs/plugins_0_90/index.pdf BROKEN: endElement() called for  
> fo:root where there is no current element.
> ^                                    pluginDocs/plugins_0_90/
> ^                                    samples-b/
> * [47/29]   [13/49]   0.446s 30.2Kb  samples-b/linking.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/linking.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [54/22]   [0/0]     0.205s 1.9Kb   /images/ellipse-2.png
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/usemap.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0] samples-c/showonlywhenselected/page1.pdf BROKEN: endElement()
> called for fo:root where there is no current element.
> * [60/16]   [0/0]     1.464s 8.3Kb   images/project.png
> * [62/15]   [1/28]    0.457s 8.7Kb   samples-c/index.html
> * [64/13]   [0/0]     0.157s 7.4Kb   images/group.png
> * [66/13]   [2/31]    0.179s 8.0Kb   samples-b/customSchema.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/customSchema.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-c/index.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [70/10]   [1/25]    0.224s 6.8Kb  
> samples-c/showonlywhenselected/page2.html
> * [71/9]    [0/0]     0.053s 1.2Kb   skin/print.css
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0] samples-c/showonlywhenselected/page2.pdf BROKEN: endElement()
> called for fo:root where there is no current element.
> * [73/8]    [1/31]    0.197s 6.1Kb   samples-b/custom.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/custom.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.
> * [76/6]    [1/31]    0.38s  7.6Kb   samples-b/ascii-art.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/ascii-art.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> * [78/4]    [0/0]     0.128s 2.2Kb   samples-b/cocoon-pyramid.png
> * [79/16]   [13/13]   0.093s 12.3Kb  skin/screen.css
> * [82/13]   [0/0]     0.031s 199b  
> skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
> * [83/12]   [0/0]     0.021s 390b  
> skin/images/rc-t-r-15-1body-2menu-3menu.png
> * [84/11]   [0/0]     0.029s 200b  
> skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
> * [85/10]   [0/0]     0.033s 214b  
> skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
> * [87/8]    [0/0]     0.031s 199b  
> skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
> * [88/7]    [0/0]     0.038s 319b  
> skin/images/rc-b-r-15-1body-2menu-3menu.png
> * [89/6]    [0/0]     0.025s 209b  
> skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
> * [91/4]    [0/0]     0.034s 214b  
> skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
> * [92/3]    [0/0]     0.025s 215b  
> skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
> * [94/2]    [1/30]    0.141s 8.7Kb   samples-b/xml-entities.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/xml-entities.pdf  
> BROKEN: endElement() called for fo:root where there is no current
> element.
> * [96/1]    [1/30]    0.238s 7.8Kb   samples-b/faq.html
> WARN - Mismatch: root (http://www.w3.org/1999/XSL/Format) vs.  
> page-sequence (http://www.w3.org/1999/XSL/Format)
> X [0]                                     samples-b/faq.pdf BROKEN:  
> endElement() called for fo:root where there is no current element.



core.log:

ERROR   (2008-09-06) 13:52.01:531   [access] (/index.pdf) PoolThread-0/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to process pipeline
                                       at [TransformerException] - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl:136:53
                                       at <map:serialize type="xml"> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:50:40
                                       at <map:transform> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:40:73
                                       at <map:transform type="linkrewriter"> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:39:90
                                       at <map:transform type="xinclude"> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:38:53
                                       at <map:serialize type="fo2pdf"> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:65:51
                                       at <map:generate> - file:/home/bdube/src/asf/apache-forrest-svn/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:64:61
                                       at <map:mount> - file:/tmp/seed/build/tmp/output.xmap:33:147
                                       at <map:mount> - file:/home/bdube/src/asf/apache-forrest-svn/main/webapp/sitemap.xmap:536:106
                                       at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
                                       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:894)
                                       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:541)
                                       at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
                                       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:722)
                                       at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:347)
                                       at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:97)
                                       at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:276)
                                       at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
                                       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:530)
                                       at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
                                       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:137)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:86)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
                                       at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
                                       at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
                                       at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
                                       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
                                       at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
                                       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
                                       at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
                                       at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
                                       at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:364)
                                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                                       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
                                       at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
                                       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
                                       at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
                                       at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
                                       at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
                                       at org.mortbay.http.HttpServer.service(HttpServer.java:879)
                                       at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
                                       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
                                       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
                                       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
                                       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
                                       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
Caused by: org.apache.commons.lang.exception.NestableRuntimeException: javax.xml.transform.TransformerException: java.lang.IllegalStateException: endElement() called for fo:root where there is no current element.
       at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:603)
       at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
       at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:377)
       at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
       at org.apache.cocoon.transformation.XIncludeTransformer$XIncludePipe.endDocument(XIncludeTransformer.java:184)
       at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
       at org.apache.cocoon.sitemap.DefaultContentAggregator.generate(DefaultContentAggregator.java:135)
       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537)
       ... 57 more
Caused by: javax.xml.transform.TransformerException: java.lang.IllegalStateException: endElement() called for fo:root where there is no current element.
       at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)
       at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
       at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
       at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
       at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
       at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
       at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
       ... 64 more
Caused by: java.lang.IllegalStateException: endElement() called for fo:root where there is no current element.
       at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:367)
       at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
       at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:111)
       at org.apache.cocoon.environment.internal.EnvironmentChanger.endElement(EnvironmentStack.java:147)
       at org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:261)
       at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1399)
       at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
       ... 70 more

Re: Fresh seed build errors (PDF)

by Brian M Dube-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Sep 06, 2008 at 12:21:44PM -0700, Brian M Dube wrote:
> I haven't had much time to look into this, but I'll try to track it
> down since it makes testing a real pain.

So far my testing shows that the generated FO document is valid. It's
the fo2pdf serializer (org.apache.cocoon.blocks.fop.FOPNGSerializer)
that doesn't work on my system.

Brian

Re: Fresh seed build errors (PDF)

by David Crossley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sep 06, 2008 Brian M Dube wrote:
> On Jun 25, 2008 David Crossley wrote:
> >
> > Sorry, in my last message i intended to suggest the obvious.
> > Have you set FORREST_HOME and PATH to point to the new fresh
> > forrest installation? Also you might need to do a 'forrest clean'
> > in any of your existing project workspaces.
>
> Oops, I intended to reply to this a long time ago. FORREST_HOME and
> PATH are correct, and I tried 'forrest clean' in each project.

Again grasping at obvious things to be verified ...

What about Java version? That should not matter.

You did do a 'build.sh clean; build.sh'.
IIRC you said that you even did a fresh checkout
to be sure.

Ensure that the plugins are being deployed from
your svn working copy, rather than being downloaded
from apache.org server. The former should be the default.

You can do a local-deploy just to be doubly sure.
This would locally rebuild and deploy the pdf plugin.

]$ cd $FORREST_HOME/plugins/org.apache.forrest.plugin.output.pdf
]$ $FORREST_HOME/tools/ant/bin/ant local-deploy

Ref: http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html#Testing+During+Development

> Does anyone else use Debian?

I am surprised that no-one will answer
you about that.

-David

Re: Fresh seed build errors (PDF)

by rgardler :: Rate this Message: