You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/10/12 18:10:24 UTC
DO NOT REPLY [Bug 40744] New: - NullPointerException in table w border-separation(?). Orig file and log included.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744
Summary: NullPointerException in table w border-separation(?).
Orig file and log included.
Product: Fop
Version: 0.92
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: blocker
Priority: P2
Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: boris_k@iname.com
See "Point 1" in file. See log after file, pls.
Looks like border-separation="0.04167in" generates an error.
Thanks!
Boris.
--------------Orig file----------
-------------CUT---------------
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="coverPage" page-height="6cm"
page-width="12cm" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="1cm"
margin-right="0.5cm">
<fo:region-body margin-top="1cm" />
</fo:simple-page-master>
<fo:simple-page-master master-name="leftPage"
page-height="6cm"
page-width="12cm"
margin-left="0.5cm"
margin-right="1cm"
margin-top="0.5cm"
margin-bottom="0.5cm">
<fo:region-body margin-top="1.1cm" margin-bottom="1.1cm" />
<fo:region-before extent="1cm"/>
<fo:region-after extent="1cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="rightPage" page-height="6cm"
page-width="12cm" margin-left="1cm" margin-right="0.5cm" margin-top="0.5cm"
margin-bottom="0.5cm">
<fo:region-body margin-top="1.1cm" margin-bottom="1.1cm" />
<fo:region-before extent="1cm"/>
<fo:region-after extent="1cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="content">
<fo:repeatable-page-master-alternatives >
<fo:conditional-page-master-reference master-reference="leftPage"
odd-or-even="even"/>
<fo:conditional-page-master-reference master-reference="rightPage"
odd-or-even="odd"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="cover" >
<fo:single-page-master-reference master-reference="coverPage"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="content" initial-page-number="99">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-family="Times" font-size="10pt" text-align="center">
Spanish Review Handbook Проверка Заголовка
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block font-family="Helvetica" font-size="10pt" text-align="center" >
Page <fo:page-number />
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block
border ="thick dashed green"
>Test Cover Page! Hello world! 12345667 </fo:block>
<fo:block>
Test text
</fo:block>
<fo:block border="thick dashed yellow">
Point 1 Attributes generate exception
<fo:table
border-top-style="solid"
border-top-color="#ECE9D8"
border-top-width="0.01042in"
border-bottom-style="solid"
border-bottom-color="#ACA899"
border-bottom-width="0.01042in"
border-left-style="solid"
border-left-color="#ECE9D8"
border-left-width="0.01042in"
border-right-style="solid"
border-right-color="#ACA899"
border-right-width="0.01042in"
border-collapse="separate"
border-separation="0.04167in"
color="black" display-align="center"
>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block
>Line1</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border="thick dashed blue" width="1cm">
<fo:block>11</fo:block>
</fo:table-cell>
<fo:table-cell border="thick dotted red" width="1cm">
<fo:block>12</fo:block>
</fo:table-cell>
<fo:table-cell border="thick dashed black" width="1cm">
<fo:block>13</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
After Table
</fo:block>
<fo:block></fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
------------CUT---------------
--------Log file---------------
----------CUT-------------
--- Standard Error ---
12/10/2006 18:34:28 org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:167)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:114)
at org.apache.fop.cli.Main.startFOP(Main.java:159)
at org.apache.fop.cli.Main.main(Main.java:190)
---------
java.lang.NullPointerException
at
org.apache.fop.fo.properties.CompoundPropertyMaker.convertProperty(CompoundPropertyMaker.java:172)
at
org.apache.fop.fo.properties.LengthPairProperty$Maker.convertProperty(LengthPairProperty.java:61)
at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:441)
at
org.apache.fop.fo.properties.CompoundPropertyMaker.make(CompoundPropertyMaker.java:212)
at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:348)
at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:304)
at org.apache.fop.fo.FObj.processNode(FObj.java:118)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:308)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:184)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:164)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:114)
at org.apache.fop.cli.Main.startFOP(Main.java:159)
at org.apache.fop.cli.Main.main(Main.java:190)
--- Standard Output ---
-------------cut----------
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40744] - NullPointerException in table w border-separation(?). Orig file and log included.
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744
boris_k@iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |minor
Priority|P2 |P4
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40744] - NullPointerException in table w border-separation(?). Orig file and log included.
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744
------- Additional Comments From a_l.delmelle@pandora.be 2006-10-12 09:47 -------
Hi,
Are you willing and at liberty to try the latest Trunk version? I seem to remember having fixed this bug,
shortly after the 0.92 release...
If not, I think replacing 'border-separation="0.04167in"' with 'border-separation="0.04167in
0.04167in"' should do the trick for you (iow: specify the length both in inline- and block-progression
direction)
Can you confirm if this solves your problem?
Thx,
Andreas
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40744] - NullPointerException in table w border-separation(?). Orig file and log included.
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744
a_l.delmelle@pandora.be changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From a_l.delmelle@pandora.be 2006-10-12 09:59 -------
Found it. It is the exact same bug.
*** This bug has been marked as a duplicate of 39712 ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.