Beta version plantuml-1.2021.2beta8.jar doesn't generate PDF from JSON (and highlighted cells with imperfect borders)

0 votes
asked Feb 17 in Bug by oscaretu (180 points)

Using beta version plantuml-1.2021.2beta8.jar I can get PNG and SVG, but PDF fails:

oscar@toreyesxps$ java -jar plantuml-1.2021.2beta8.jar -tpdf notificacion_numero_01_INITIAL_BUY.puml
Exception in thread "main" java.lang.UnsupportedOperationException: PDF
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:307)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageInternal(ImageBuilder.java:145)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:129)
        at net.sourceforge.plantuml.jsondiagram.JsonDiagram.exportDiagramNow(JsonDiagram.java:121)
        at net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:145)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(PSystemUtils.java:154)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:97)
        at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:160)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:536)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:420)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:387)
        at net.sourceforge.plantuml.Run.main(Run.java:198)

Using the stable version 1.2021.01, I can get the PDF (but with centered texts).

In the rendering with the online version (I suppose it's the beta one), there are little imperfections in the borders of hightlighted cells (that doesn't happen in stable version).

You can see it in http://www.plantuml.com/plantuml/umla/jLThJ_Cs6FsUN-5b7rwfMj-63Dv11HFTc4OcBfe6qowQB3TvcXeIEzXEBw3-zoKDOUxi1jB08rJK-foJnoUsZtmg5H7gJdBcE9y-eQzQL8c_cLA9vbpSIqGdQCbp923bCq1g2kXOgcK2twE4CcWjNX9gWRAzCqfYGLBqXCwve8-SAPAC4Xgp59X2FnOV8D0A7GygZkDyFQNnj01C5N8PLtH2Gw8ePrWjCt0tXe7DgE1hfSs1d1KqYB2046ZsoY0Q83SX2gIgVyAKJVXkfF9thmkr_EI2nfIH12j1c2JXUleqSXtdoK55kIHNl20pcEDCy2WFLJcCXiZTyx_TF_ZYVcFWf28gbouggy0faKED6fTSimfKoDFFYyNYysDHB-YPaAuLVRX_M8FqDxC9wlL-8omQyqMlLuCtpN0rCCpvBm6xolxo3wRH-U_BVb5ep8KW4KVzig8_BcbmviN1tOXUpxCZJTCqkDIi76oQT_FyxHuqU57viSYe08aZei0a6Y_EuE095obH2YBT7j_plRvtrFTzjFTbw7ytzFRGJoeS_7nvyxeGpgHoJI7lw5beb8AW8HbSS8b7B8O4f2vA9QQi-5E2OpwPWC1PWUTrVuNeX2GI_aTHWf94GsfbfoX8CJMW3RvfkoVBHJWb4ZJNhRxvGszVzwrP2AVIRVlm1g_BXpTxlVqyQ791FnVUwfpTCDJed7N5cOQrV7XjM5rsvrvVfGyvOOggfRjz_UXmcOzbA6YsDZWMFCyA_u2L8GJ2jVTjVoVDSyqPVSX1rxPp-bkfCs0H5uQ2GTN-sVLc86JPEYmK24OINRBIytJu7CQOYmW4JYW3NEzFSxPhogfYMdAyYeBWAhW9HXVuXzi__uk3Z4Wvvo9ojvfePAfnjElvewiyPy-pZ3LzQkXb40pIw_ZHDpBdzk3-rvCJkuQMDaFqTuqeIsklHImq7l7DWkQ-CtoqSytzjtDCT8YB3h7nxb7G9H8-D1gwH4INg7ZtoEWI7HyQ8Jj6IPT8wH8jEnxKTQrUllsZHpEmYBAukacGvEtdc_sUqj1wqwsbOhLQ_AsNVNjlwWw7o7CgrCfnd5DWKNdx_HS0

1 Answer

0 votes
answered Feb 17 by plantuml (245,260 points)

Thanks for the feedback.

We have fixed borders issue in last beta http://beta.plantuml.jar

There might be cache issue on the online server.

PS:

Are you sure that version 1.2021.01 is working with PDF for JSON ? This is very odd.

...