xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15985] New: - Hyphenation pattern files appear to be invalid
Date Sat, 11 Jan 2003 02:23:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15985

Hyphenation pattern files appear to be invalid

           Summary: Hyphenation pattern files appear to be invalid
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: sstafford@modeln.com


I'm not 100% certain whether this is a bug or some sort of quirky environmental 
problem, but I'm submitting it just in case it is a bug. 

   [ERROR] Couldn't find hyphenation pattern en
   [ERROR] Error building hyphenation tree for language en

The en.hyp does appear in the FOP jar file, and I assume that it was built 
correctly as part of the FOP distribution (although I haven't tried building it 
myself).  I'm not sure what part of my XSL-FO file is causing the error 
(although it appears to be coming from somewhere on the first page of a 2 page 
document).  The actual stack trace is shown below.

There were a couple of posts on the web that mentioned this problem, but they 
seemed to imply that it was related to the XSLT processor.  I've tried both the 
latest version of Saxon and Xalan and still get the same error.  I can easily 
reproduce the error (although I'm not sure what is causing it), so please 
contact me if you need more information. 

I'm using the following packages:

   fop-0.20.5rc.jar
   xalan-2.4.1.jar
   xercesImpl-2.2.1.jar


java.io.InvalidClassException: 
org.apache.fop.layout.hyphenation.HyphenationTree; Local class not compatible: 
stream classdesc serialVersionUID=6956085100635965297 local class 
serialVersionUID=-7784516835472871478
	at java.io.ObjectStreamClass.validateLocalClass
(ObjectStreamClass.java:523)
	at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
	at java.io.ObjectInputStream.inputClassDescriptor
(ObjectInputStream.java:936)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
	at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
	at org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree
(Hyphenator.java:122)
	at org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree
(Hyphenator.java:48)
	at org.apache.fop.layout.hyphenation.Hyphenator.hyphenate
(Hyphenator.java:208)
	at org.apache.fop.layout.LineArea.doHyphenation(LineArea.java:992)
	at org.apache.fop.layout.LineArea.addText(LineArea.java:488)
	at org.apache.fop.fo.FOText.addRealText(FOText.java:232)
	at org.apache.fop.fo.FOText.addText(FOText.java:206)
	at org.apache.fop.fo.FOText.layout(FOText.java:118)
	at org.apache.fop.fo.flow.Block.layout(Block.java:206)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:111)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:68)
	at org.apache.fop.fo.pagination.PageSequence.makePage
(PageSequence.java:352)
	at org.apache.fop.fo.pagination.PageSequence.format
(PageSequence.java:290)
	at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:210)
	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
(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.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.fop.apps.Driver.render(Driver.java:457)
	at org.apache.fop.apps.CommandLineStarter.run
(CommandLineStarter.java:69)
	at org.apache.fop.apps.Fop.main(Fop.java:19)

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message