Error after updating trunk
Hi, After update my local copy of trunk this morning and rebuilding FOP I get the following error while running a FO to PDF transformation. java.lang.IllegalStateException: Event model isn't consistent with the EventProducer interface. Please rebuild FOP! Affected method: org.apache.fop.layoutmgr.BlockLevelEventProducer.staticRegionOverflow Any ideas? I'll try to put a repo together, but this usually takes be about a day.. Stack: java.lang.IllegalStateException: Event model isn't consistent with the EventProducer interface. Please rebuild FOP! Affected method: org.apache.fop.layoutmgr.BlockLevelEventProducer.staticRegionOverflow at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:156) at com.sun.proxy.$Proxy0.staticRegionOverflow(Unknown Source) at org.apache.fop.layoutmgr.StaticContentLayoutManager.doLayout(StaticContentLayoutManager.java:150) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.layoutSideRegion(PageSequenceLayoutManager.java:179) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:186) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:114) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:129) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181) at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391) at net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213) at net.sf.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:443) 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.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:404) at net.sf.saxon.event.Sender.send(Sender.java:214) at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:30) at com.sdi.apache.Testing.generateDoc(Testing.java:163) at com.gui.MainForm.GeneratePdf(MainForm.java:159) -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-after-updating-trunk-tp38326.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error after updating trunk
You need to clean and build again on the command line. If using Eclipse, do a refresh (after the build on the command line) and build again. On Tue, Apr 16, 2013 at 11:19 AM, Bonekrusher djs...@yahoo.com wrote: Hi, After update my local copy of trunk this morning and rebuilding FOP I get the following error while running a FO to PDF transformation. java.lang.IllegalStateException: Event model isn't consistent with the EventProducer interface. Please rebuild FOP! Affected method: org.apache.fop.layoutmgr.BlockLevelEventProducer.staticRegionOverflow Any ideas? I'll try to put a repo together, but this usually takes be about a day.. Stack: java.lang.IllegalStateException: Event model isn't consistent with the EventProducer interface. Please rebuild FOP! Affected method: org.apache.fop.layoutmgr.BlockLevelEventProducer.staticRegionOverflow at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:156) at com.sun.proxy.$Proxy0.staticRegionOverflow(Unknown Source) at org.apache.fop.layoutmgr.StaticContentLayoutManager.doLayout(StaticContentLayoutManager.java:150) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.layoutSideRegion(PageSequenceLayoutManager.java:179) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:186) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:114) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:129) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181) at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391) at net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213) at net.sf.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:443) 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.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:404) at net.sf.saxon.event.Sender.send(Sender.java:214) at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:30) at com.sdi.apache.Testing.generateDoc(Testing.java:163) at com.gui.MainForm.GeneratePdf(MainForm.java:159) -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-after-updating-trunk-tp38326.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error after updating trunk
Thanks Luis. Rebuild and Clean did not solve the issue. I was able to track down the issue to a missing graphic. It seems after this last update, if the graphic is missing, the error occurs. Once again, I'll try to come up with a repo. Thanks for the help. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-after-updating-trunk-tp38326p38330.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error after updating trunk
the error occurs if the graphic is missing or if it s present? is the graphic in static content? does it fit in the side region? it looks like you have overflow in the side region, which uses a new event producer method added to trunk yesterday. I still think the issue can be fixed by a clean + build (the exception also says so). does it happen from the command line? On Tue, Apr 16, 2013 at 1:38 PM, Bonekrusher djs...@yahoo.com wrote: Thanks Luis. Rebuild and Clean did not solve the issue. I was able to track down the issue to a missing graphic. It seems after this last update, if the graphic is missing, the error occurs. Once again, I'll try to come up with a repo. Thanks for the help. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-after-updating-trunk-tp38326p38330.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error after updating trunk
Forgot to mention, this is in the flow region. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-after-updating-trunk-tp38326p38334.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org