ERRO IReporte usuarndo jsf

%PDF-1.4 %���� 4 0 obj <>stream x���KO�0���>¥˻�na�F�є,;!�$�����’㵬�B+�Vk�����:s�I(�w��C���4|%������h0&@��D’��!��T0ܮ��g�C^��[cʃ1ި��Љ�3匭 TZk�ڙ02���]���fv޼Ҵe�N���m?�����������b�0Y�L��Q��U����Xg`�hjc{�i�K�=ʌ�/����P�h�e�a�hF�i�lx����� ���sHO׭�$L�D�h9 x��x�q>B#|�r Ze(�ٳz�� 2C���AD�5�թs)|����)J��tU�ƪyj0�2b{%����*gͨnTelj����@������z���dA{~yNPs��’$J/|����&#65533;��J�Y�{է呾=�{���s���:�=d76��뫄�5�wZ�� endstream endobj 1 0 obj<<<>>>/MediaBox[0 0 595 842]>> endobj 6 0 obj[1 0 R/XYZ 0 854 0] endobj 3 0 obj<> endobj 2 0 obj<> endobj 5 0 obj<> endobj 7 0 obj<> endobj 8 0 obj<> endobj 9 0 obj<> endobj 10 0 obj<> endobj xref 0 11 0000000000 65535 f 0000000537 00000 n 0000000828 00000 n 0000000736 00000 n 0000000015 00000 n 0000000915 00000 n 0000000702 00000 n 0000000965 00000 n 0000001018 00000 n 0000001049 00000 n 0000001105 00000 n trailer <<10d8b53b97c424ac186b6323ca989180><971075bce7393aeea115f9f675d13761>]/Info 10 0 R/Size 11>> startxref 1283 %%EOF


Esse erro ocorre quando tenta gera um relatorio na web, alguem sabe como resolver isso

esse é o codigo.

public void getRelatorioUsuario() throws IOException, JRException {
		FacesContext context = FacesContext.getCurrentInstance();
		response = (HttpServletResponse) context.getExternalContext()
				.getResponse();

		String xlmPath = "c://RelatorioDeProjeto.jasper";
		System.out.println("gerando relatorio");

		export(xlmPath);

	}


	@SuppressWarnings( { "unchecked", "deprecation" })
	public void export(String xlmPath) throws IOException, JRException {
		byte[] bytes = null;
		FacesContext context = FacesContext.getCurrentInstance();
		context.getExternalContext().getResponse();
		File reportFile = new File(xlmPath);
		Map parameters = new HashMap();
		bytes = JasperRunManager.runReportToPdf(reportFile.getPath(),
				parameters, conn);

		response.setContentType("application/pdf");
		response.setContentLength(bytes.length);

		ServletOutputStream ouputStream = response.getOutputStream();
		
		ouputStream.write(bytes, 0, bytes.length);
		
		StateManager stateManager = context.getApplication().getStateManager();
		stateManager.saveSerializedView(context);
		context.responseComplete();

	}