- labels: --> Charter
When I have the table with a chart, and I export to
pdf, I got this error:
[ERROR] Error while creating area : Error with image
URL:
HTTP\1.1:\localhost:8180\jpivot\GetChart?filename=jfreechart-32542.png
(El nombre de archivo, directorio o etiqueta del
volumen no es válido) and no base URL is specified
The bug seems to be that the protocol is HTTP\1.1
instead of "HTTP".
I've tracked the bug to class
com.tonbeller.jpivot.print.PrintServlet, line 143:
String protocol = request.getProtocol();
String chartServlet = protocol + "://" + host + ":" +
port + location + "/GetChart";
parameters.put("chartimage", chartServlet +
"?filename=" + chart.getFilename());
parameters.put("chartheight", new
Integer(chart.getChartHeight()));
parameters.put("chartwidth", new
Integer(chart.getChartWidth()));
I've tried setting protocol variable to HTTP and it
works all right.
Thanks,
Juan I. Bassino