Tracing the problem based on exception in document template.

0
How can we trace the element in the document template that causes this error given the exception below? Caused by: lg: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:inline": layout-grid-mode (See position 2:17646) at AsbestInventarisatie.GenereerRapport ( : 'Generate PDF (.pdf) document using template 'RapportTemplate_A'') at AsbestInventarisatie.GenereerPDFConceptRapport (SubMicroflow : 'Call 'GenereerRapport'') Advanced stacktrace: at mt.a(SourceFile:187) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:inline": layout-grid-mode (See position 2:17646) at ky.a(SourceFile:76) Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:inline": layout-grid-mode (See position 2:17646) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) at ky$1.run(SourceFile:100) at java.security.AccessController.doPrivileged(Native Method) at ky.a(SourceFile:68) at kx.a(SourceFile:82) at kv.a(SourceFile:89) at kv.a(SourceFile:56) at lm.a(SourceFile:109) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:203) at com.mendix.core.Core.executeSync(SourceFile:203) at lo.a(SourceFile:60) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at hD.execute(SourceFile:27) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
asked
1 answers
1

Not the best sollution, but I once found the problem by deleting a block every time in the template until the error did go away (do not forget to make a copy first of the template). Then you can focus on the block that is giving the problem.

Document templates are a bit of an orphan in Mendix. They deserve some more attentions of the developers.....

Regards,

Ronald

answered