Forum Replies Created
-
AuthorPosts
-
in reply to: Watermark image doesn’t accept java protocol October 10, 2016 at 12:46#29938
We’ve reproduced the issue and already fixed in the dev build.
A new maintenance version will be published next days (after QA is finally passed)
in reply to: ClassCastException with endless loop in PDF page generation October 5, 2016 at 15:55#29931Just finished a testing. The issue has been fixed in the DEV build. If everything goes fine with QA, we’ll publish a maintenance version on Friday.
in reply to: Cannot find log messages and how to enable them September 30, 2016 at 11:56#29865It can be done with Java API:
public void redirectDebugInfo(PrintStream debugOutput) { System.setOut(debugOutput); System.setErr(debugOutput); }in reply to: Java Out Of Memory Error September 30, 2016 at 11:40#29927Have you overridden the default “tiny” JVM heap size with something like -Xmx512m ?
in reply to: ClassCastException with endless loop in PDF page generation September 30, 2016 at 11:38#29929Reproduced. The issue processing scheduled to the next week.
in reply to: How can I force PD4ML to not resolve links in the html? September 30, 2016 at 11:21#29935pd4ml.disableHyperlinks() method is what you looking for.
But… Some PDF viewers (like Acroread) parse PDF document content and turn URL-like strings into hyperlinks. The behavior can be disabled in PDF viewer properties by the end-user, but it cannot be done automatic way from a PDF document.
See in Acroread:
Edit->Preferences->General->Generate links from URLsin reply to: NullPointerException in a table/disp:none/float combination September 30, 2016 at 10:57#29936The issue is reproduced. We’ll begin to work on it next week.
in reply to: Memory leak August 31, 2016 at 10:17#29924HTML rendering (the first phase of HTML-to-PDF conversion) is a resource consuming task – you know that from your everyday browsing experience: a bulky web page rendering can “eat” all available RAM and block even a native web browser and slow down the system. HTML renderer instantiates a set of objects even for any standalone whitespace. Almost all allocated RAM is released after PD4ML object is garbage collected.
There is only exception (I guess, you see it as a “memory leak”) is a resource caching. The cache (static Map object) holds soft references to loaded resource byte arrays (images, stylesheets etc), which are to be auto-deleted when JVM is short of RAM. You may force the resource releasing by pd4ml.clearCache() API call.
in reply to: can not load image error when converting from html to pdf August 25, 2016 at 07:48#29907You can configure your application to use proxy Java-generic way with the following code:
String host="your.proxy.br"; String port="80"; // change it to your proxy port number // older JDK approach System.getProperties().setProperty("proxySet", "true"); System.getProperties().setProperty("proxyHost", host); System.getProperties().setProperty("proxyPort", port); // newer JDK approach System.getProperties().setProperty("http.proxySet", "true"); System.getProperties().setProperty("http.proxyHost", host); System.getProperties().setProperty("http.proxyPort", port);The similar can be achieved with a JVM command line parameters:
-Dhttp.proxySet=true -Dhttp.proxyPort=
<PORT> -Dhttp.proxyHost=<IP_ADDR>in reply to: can not load image error when converting from html to pdf August 24, 2016 at 08:12#29905The diag line explicitly says there are network (firewall or routing) issues:
errno: 111 (Connection refused), error: Connection refused (local port 50735 to address 0:0:0:0:0:0:0:0, remote port 80 to address 74.208.20.166): http://www.daycomsolutions.com/Support/ ... 050w50.JPGThe server or workstation where PD4ML runs cannot access HTTP resources of 74.208.20.166. Your network admin should check it and resolve it. If it is not possible by any security reason etc, you need to configure PD4ML to go via your company proxy.
in reply to: Local converter 398 fx4/fx5 crash with a NPE August 19, 2016 at 11:59#29889Try https://pd4ml.com/i/pd4ml_debug.jar – it should give an exact line number of the exception.
in reply to: Header style not matching between HTML page and exported PDF August 19, 2016 at 11:50#29911You may pack all relevant resources and send to support pd4ml com
in reply to: Local converter 398 fx4/fx5 crash with a NPE August 19, 2016 at 10:23#29887After a successful run of 380fx3 it should create pd4browser.properties. Copy it to a location of the problematic version.
in reply to: border is not working August 19, 2016 at 10:21in reply to: Header style not matching between HTML page and exported PDF August 19, 2016 at 09:54#29909A sample of source HTML and resulting PDF would help a lot to analyze the issue.
-
AuthorPosts
