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 2007/03/28 12:15:24 UTC

DO NOT REPLY [Bug 41965] New: - fop crashes on break-after

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=41965>.
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=41965

           Summary: fop crashes on break-after
           Product: Fop
           Version: 0.93
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: thomas@gelzhaeuser.de


With the following fo-file fop crashes.

28.03.2007 12:13:56 org.apache.fop.apps.FOUserAgent setTargetResolution
INFO: target-resolution set to: 72.0dpi (px2mm=0.35277778)
28.03.2007 12:13:57 org.apache.fop.cli.Main startFOP
SCHWERWIEGEND: Exception
java.lang.IllegalStateException: Invalid break class: -1
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)


<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><!-- defines page layout -->
	<fo:layout-master-set>
		<fo:simple-page-master master-name="1" page-height="297mm"
			page-width="210mm">
			<fo:region-body />
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="1">
		<fo:flow flow-name="xsl-region-body">
			<fo:table table-layout="fixed" width="100%">
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:table table-layout="fixed"
								width="100%">
								<fo:table-body>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												linefeed-treatment="ignore" font-family="Helvetica"
												font-size="12pt">
												page
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<fo:table-row >
										<fo:table-cell
											display-align="auto" text-align="start">
											<fo:block
												break-after="page" />
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

-- 
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 41965] - fop crashes on break-after

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=41965>.
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=41965


vincent.hennebert@anyware-tech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From vincent.hennebert@anyware-tech.com  2007-11-29 11:07 -------
Fixed in the Trunk since April/May 2007.

-- 
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.