Running embedded code in trunk, I am getting the follow error:

Any ideas? If you need a small repo, I'll put one together.

Thx


java.lang.IllegalArgumentException: Message pattern contains unsupported
field n
ame: elementName
        at
org.apache.fop.util.text.AdvancedMessageFormat$SimpleFieldPart.write(
AdvancedMessageFormat.java:324)
        at
org.apache.fop.util.text.AdvancedMessageFormat$CompositePart.write(Ad
vancedMessageFormat.java:450)
        at
org.apache.fop.util.text.AdvancedMessageFormat.format(AdvancedMessage
Format.java:207)
        at
org.apache.fop.util.text.AdvancedMessageFormat.format(AdvancedMessage
Format.java:197)
        at
org.apache.fop.events.EventFormatter.format(EventFormatter.java:139)
        at
org.apache.fop.events.EventFormatter.format(EventFormatter.java:93)
        at
org.apache.fop.events.EventFormatter.format(EventFormatter.java:81)
        at
org.apache.fop.events.EventFormatter.format(EventFormatter.java:71)
        at
org.apache.fop.events.LoggingEventListener.processEvent(LoggingEventL
istener.java:80)
        at
org.apache.fop.events.CompositeEventListener.processEvent(CompositeEv
entListener.java:61)
        at
org.apache.fop.events.FOPEventListenerProxy.processEvent(FOPEventList
enerProxy.java:70)
        at
org.apache.fop.apps.FOUserAgent$FOPEventBroadcaster.broadcastEvent(FO
UserAgent.java:608)
        at
org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBr
oadcaster.java:172)
        at com.sun.proxy.$Proxy4.lineOverflows(Unknown Source)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorit
hm.updateData2(LineLayoutManager.java:402)
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.calculateBreakPoints(Break
ingAlgorithm.java:1439)
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(Breakin
gAlgorithm.java:600)
        at
org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(Breakin
gAlgorithm.java:506)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreaking
Points(LineLayoutManager.java:901)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(Li
neLayoutManager.java:821)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElement
s(LineLayoutManager.java:637)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:142)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:114)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:106)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:142)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:114)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:106)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:142)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:114)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:106)
        at
org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthEle
ments(TableCellLayoutManager.java:188)
        at
org.apache.fop.layoutmgr.table.RowGroupLayoutManager.createElementsFo
rRowGroup(RowGroupLayoutManager.java:120)
        at
org.apache.fop.layoutmgr.table.RowGroupLayoutManager.getNextKnuthElem
ents(RowGroupLayoutManager.java:63)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElem
entsForRowIterator(TableContentLayoutManager.java:246)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuth
Elements(TableContentLayoutManager.java:185)
        at
org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElement
s(TableLayoutManager.java:267)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowL
ayoutManager.java:221)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayou
tManager.java:145)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:114)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:67)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker
.java:221)
        at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBre
aker.java:682)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:154)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:136)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:387)
        at
org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag
eSequenceLayoutManager.java:112)
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j
ava:267)
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java
:129)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde
r.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(ReceivingConten
tHandler.java:443)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source
)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known 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
Sour
ce)
        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:3
0)
        at com.gui.MainForm.testCreatePdf(MainForm.java:1023)
        at com.gui.MainForm.jButtonPublishActionPerformed(MainForm.java:919)
        at com.gui.MainForm.access$800(MainForm.java:50)
        at com.gui.MainForm$6.actionPerformed(MainForm.java:452)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Sour
ce)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Sour
ce)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)





--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/java-lang-IllegalArgumentException-Message-pattern-contains-unsupported-field-name-elementName-tp38286.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

Reply via email to