On Mon, Mar 9, 2009 at 1:16 PM, hel-o wrote:
> since sometime my rtf-Export doesn't work anymore. First i could make an
> export but i couldn't open the document. Now (updated to 1.8RC2) i only get
> the following error. "21:11:38,464 [
> http://xwiki.jbk-net.com/xwiki/bin/export/GettingStarted/WebHome?format=rtf]
> [http-8180-Processor20] ERROR datatypes.LengthBase - getBaseLength called
> without context"
I also get a slew of similar messages and also some additional ones, all
related to RTF exports triggered by search engines:
2009-03-09 08:43:02,686 [/xwiki/bin/export/Photos/WebHome?format=rtf]
[TP-Processor26] WARN fo.FONode - Warning(18/62): fo:table,
table-layout="auto" is currently not supported by FOP
2009-03-09 08:43:02,692 [/xwiki/bin/export/Photos/WebHome?format=rtf]
[TP-Processor26] ERROR fo.PropertyList - Ignoring property:
column-width="proportional-column-width(1)" (null:18:62:
proportional-column-width() function may only be used when fo:table has
table-layout="fixed".; property:'column-width')
2009-03-09 08:43:02,693 [/xwiki/bin/export/Photos/WebHome?format=rtf]
[TP-Processor26] ERROR fo.PropertyList- Ignoring property:
column-width="proportional-column-width(1)" (null:18:62:
proportional-column-width() function may only be used when fo:table has
table-layout="fixed".; property:'column-width')
2009-03-09 08:43:02,693 [/xwiki/bin/export/Photos/WebHome?format=rtf]
[TP-Processor26] ERROR fo.PropertyList - Ignoring property:
column-width="proportional-column-width(1)" (null:18:62:
proportional-column-width() function may only be used when fo:table has
table-layout="fixed".; property:'column-width')
2009-03-09 08:43:02,693 [/xwiki/bin/export/Photos/WebHome?format=rtf]
[TP-Processor26] ERROR fo.PropertyList - Ignoring property:
column-width="proportional-column-width(1)" (null:18:62:
proportional-column-width() function may only be used when fo:table has
table-layout="fixed".; property:'column-width')
2009-03-09 08:43:05,923 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,923 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,924 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,924 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,924 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,925 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,931 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
2009-03-09 08:43:05,932 [/xwiki/bin/export/Blog/WebHome?format=rtf]
[TP-Processor9] ERROR datatypes.LengthBase - getBaseLength called without
context
Last time I tried tracking this down, I noticed errors complaining about a
missing directory .fop so I created it:
drwxrwxr-x 2 tomcat tomcat_users 4096 2009-01-20 13:18 .fop/
And have found it populated with the same file ever since (and a whole
different set of error messages, like the ones seen above):
/usr/java/.fop:
total 28
drwxr-xr-x 34 root root 4096 2009-03-06 12:41 ../
-rw-rw-r-- 1 tomcat tomcat_users 15893 2009-01-20 16:29 fop-fonts.cache
drwxrwxr-x 2 tomcat tomcat_users 4096 2009-01-20 13:18 ./
Adding /usr/java/.fop prevented errors like this on exporting PDF's (and
perhaps RTF's too?)
2009-01-20 16:28:44,732 [/xwiki/bin/export/Main/WebHome?format=pdf]
[TP-Processor19] WARN web.XWikiAction - Uncaught exception: Error number
11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: /usr/java/.fop/fop-fonts.cache (No such file or
directory)
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: /usr/java/.fop/fop-fonts.cache (No such file or
directory)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpSe