-
I investigated this a bit further. The error can be avoided by checking the current point of the path before closing it. The getCurrentPoint() returns null only if the path is empty. Applying the following change to both files creates a workaround for this problem.
diff -r PDFBox-0.7.4/src/org/pdfbox/util/operator/pagedrawer/FillEvenOddRule.java...
2007-10-30 13:52:12 UTC in PDFBox
-
The createColorModel() method in src/org/pdfbox/pdmodel/graphics/color/PDDeviceCMYK.java throws an IOException with message "Not implemented".
The attached file contains an implementation.
2007-10-30 13:01:12 UTC in PDFBox
-
This error message still occurs in PDFBox-0.7.4-dev-20071030. The exception is thrown only when an empty GeneralPath is closed. A short example:
GeneralPath path = new GeneralPath();
path.closePath();
Commenting out the calls to closePath() makes the error disappear but I do not know if failing to close the path affects the way that valid paths are drawn. Correct solution would be...
2007-10-30 12:47:47 UTC in PDFBox
-
sector9 committed patchset 54 of module xmlconfig to the XmlConfig CVS repository, changing 1 files.
2003-03-10 12:27:47 UTC in XmlConfig
-
sector9 committed patchset 53 of module xmlconfig to the XmlConfig CVS repository, changing 1 files.
2003-03-10 12:27:23 UTC in XmlConfig
-
sector9 committed patchset 52 of module xmlconfig to the XmlConfig CVS repository, changing 6 files.
2003-03-10 12:27:22 UTC in XmlConfig
-
sector9 committed patchset 51 of module xmlconfig to the XmlConfig CVS repository, changing 1 files.
2003-02-18 11:35:06 UTC in XmlConfig
-
sector9 committed patchset 50 of module xmlconfig to the XmlConfig CVS repository, changing 1 files.
2003-02-18 07:30:02 UTC in XmlConfig
-
sector9 committed patchset 49 of module xmlconfig to the XmlConfig CVS repository, changing 2 files.
2003-02-18 07:28:21 UTC in XmlConfig
-
sector9 committed patchset 48 of module xmlconfig to the XmlConfig CVS repository, changing 2 files.
2003-02-11 10:46:24 UTC in XmlConfig