But now i've got another problem:
I checked out the new version docx4j-nightly-20100405.jar.
If i run my program there will be the followed exception:
- Code: Select all
Exception in thread "AWT-EventQueue-1" java.lang.StackOverflowError
at java.util.HashMap.get(Unknown Source)
at org.docx4j.model.PropertyResolver.fillPPrStack(PropertyResolver.java:1068)
log4j:
- Code: Select all
...
14:51:00,605 INFO StyleDefinitionsPart:374 - Style with name Normal, id 'Standard' is default paragraph style
14:51:00,605 INFO StyleDefinitionsPart:374 - Style with name Default Paragraph Font, id 'Absatz-Standardschriftart' is default character style
14:51:00,606 DEBUG PropertyResolver:1128 - initialiseLiveStyles()
14:51:00,606 DEBUG PropertyResolver:1078 - Added Standard to pPr stack
14:51:00,609 DEBUG PropertyResolver:1078 - Added Standard to pPr stack
14:51:00,609 DEBUG PropertyResolver:1078 - Added Standard to pPr stack
...infinite loop...
In revision 1096 you've changed this class.
I tried out an earlier version of the PropertyResolver class (v. 2.3.0) and my program works.