Bug 189591 [Smoke]PDF can't be generated using report engine[0600]
[Smoke]PDF can't be generated using report engine[0600] Build number: 2.2.0.v20070529-1030 Steps to reproduce: 1. download BIRT runtime package and set BIRT_HOME 2. Go to Windows Command Prompt genReport --mode runrender --format PDF --output Test1.pdf --parameter "sample=hello" --parameter "Cust=100" test1.rptdesign Expected result: Test1.pdf can be generated Actual result: Exception thrown Error log: see attached screens shot
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPageDevice.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.emitter.pdf;
import java.awt.Color;
import java.io.BufferedOutputStream;
import java.io.OutputStream;
import java.util.Locale;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.report.engine.api.TOCNode;
import org.eclipse.birt.report.engine.api.script.IReportContext;
import org.eclipse.birt.report.engine.content.IReportContent;
import org.eclipse.birt.report.engine.layout.emitter.IPage;
import org.eclipse.birt.report.engine.layout.emitter.IPageDevice;
import org.eclipse.birt.report.engine.util.BundleVersionUtil;
import com.ibm.icu.util.ULocale;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.PdfWriter;
public class PDFPageDevice implements IPageDevice