Jump to content
Changes to the Jaspersoft community edition download ×

Invalid byte 1 of 1-byte UTF-8 sequence.


Recommended Posts

By: s_t_a_r - s_t_a_r

Invalid byte 1 of 1-byte UTF-8 sequence.

2006-04-02 23:39

hello!

I want to display the report named "dailyAttendanceReport" which have two subreports "dailyAttendanceSubReport.jasper" and "dailyAttendanceSubReportCout.jasper".

"Generatedaily.jsp" the code i implemented as following:

==========================================

<%@ page errorPage="error.jsp" %>

<%@ page import="net.sf.jasperreports.engine.*" %>

<%@ page import="net.sf.jasperreports.engine.util.*" %>

<%@ page import="net.sf.jasperreports.engine.export.*" %>

<%@ page import="net.sf.jasperreports.engine.JasperReport" %>

<%@ page import="net.sf.jasperreports.engine.JRException" %>

<%@ page import="java.util.*" %>

<%@ page import="java.io.*" %>

<%@ page import="java.sql.*" %>

<%@ page import="java.awt.Image" %>

<%@ page import="java.lang.Object" %>

<!-- <%@ page import="java.io.InputStream" %>

<%@ page import="java.io.UTFDataFormatException" %>

<%@ page import="javax.servlet.http.HttpServletResponse" %>-->

<!--

<%

JRProperties.setProperty(

JRProperties.COMPILER_CLASSPATH,

application.getRealPath("/WEB-INF/lib/jasperreports-1.0.1.jar") +

System.getProperty("path.separator") +

application.getRealPath("Jsp/WEB-INF/classes/")

);

 

JRProperties.setProperty(

JRProperties.COMPILER_TEMP_DIR,

application.getRealPath("Jsp/edb-jasperreports-2.0/")

);

 

JasperCompileManager.compileReportToFile(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendanceSubReport.jrxml"));

%>

-->

<% String AttendanceDate = request.getParameter("AttendanceDate");

 

File reportFile = new

 

File(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendance.jasper"));

 

File dasr = new File(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendanceSubReport.jasper"));

JasperReport report = JasperCompileManager.compileReport( reportFile.getPath() );

JasperReport jasperReport = (JasperReport)JRLoader.loadObjectFromLocation(reportFile.getPath());

JasperReport subreport = JasperCompileManager.compileReport(dasr.getPath());

JasperReport jasperReport1 = (JasperReport)JRLoader.loadObjectFromLocation(dasr.getPath());

 

 

 

if (!reportFile.exists()||!dasr.exists())

throw new JRRuntimeException("File DailyAttendance.jasper not found. The report design must be compiled first.");

 

 

Map parameters = new HashMap();

parameters.put("DailyAttendanceSubReport", subreport);

parameters.put("DailyAttendance", report);

parameters.put("AttendanceDate",AttendanceDate);

//response.setContentLength(bytes.length);

//creates an jdbc connection

 

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

 

Connection con = DriverManager.getConnection("jdbc:odbc:Edbtms");

JasperPrint jasperPrint =

JasperFillManager.fillReport(

jasperReport,

parameters,

con

);

 

 

StringBuffer sbuffer = new StringBuffer();

 

JRHtmlExporter exporter = new JRHtmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);

exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);

exporter.exportReport();

%>

 

===============================================

but the sever has encountered the following issue:

 

JasperReports encountered this error :

java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.

at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)

at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown Source)

at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1647)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)

at org.apache.jsp.Jsp.GenerateDaily_jsp._jspService(GenerateDaily_jsp.java:96)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

 

NESTED BY :

net.sf.jasperreports.engine.JRException: Invalid byte 1 of 1-byte UTF-8 sequence.

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:244)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)

at org.apache.jsp.Jsp.GenerateDaily_jsp._jspService(GenerateDaily_jsp.java:96)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

Caused by: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.

at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)

at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown Source)

at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1647)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

... 36 more

 

Please if someone wants to solve my problem urgently i would very much thankful to him/her.

Best regards!

 

 

 

 

By: s_t_a_r - s_t_a_r

Please for GOD SAKE! help me urgently

2006-04-04 04:30

hello!

I want to display the report named "dailyAttendanceReport" which have two subreports "dailyAttendanceSubReport.jasper" and "dailyAttendanceSubReportCout.jasper".

"Generatedaily.jsp" the code i implemented as following:

==========================================

<%@ page errorPage="error.jsp" %>

<%@ page import="net.sf.jasperreports.engine.*" %>

<%@ page import="net.sf.jasperreports.engine.util.*" %>

<%@ page import="net.sf.jasperreports.engine.export.*" %>

<%@ page import="net.sf.jasperreports.engine.JasperReport" %>

<%@ page import="net.sf.jasperreports.engine.JRException" %>

<%@ page import="java.util.*" %>

<%@ page import="java.io.*" %>

<%@ page import="java.sql.*" %>

<%@ page import="java.awt.Image" %>

<%@ page import="java.lang.Object" %>

<!-- <%@ page import="java.io.InputStream" %>

<%@ page import="java.io.UTFDataFormatException" %>

<%@ page import="javax.servlet.http.HttpServletResponse" %>-->

<!--

<%

JRProperties.setProperty(

JRProperties.COMPILER_CLASSPATH,

application.getRealPath("/WEB-INF/lib/jasperreports-1.0.1.jar") +

System.getProperty("path.separator") +

application.getRealPath("Jsp/WEB-INF/classes/")

);

 

JRProperties.setProperty(

JRProperties.COMPILER_TEMP_DIR,

application.getRealPath("Jsp/edb-jasperreports-2.0/")

);

 

JasperCompileManager.compileReportToFile(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendanceSubReport.jrxml"));

%>

-->

<% String AttendanceDate = request.getParameter("AttendanceDate");

 

File reportFile = new

 

File(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendance.jasper"));

 

File dasr = new File(application.getRealPath("Jsp/edb-jasperreports-2.0/DailyAttendanceSubReport.jasper"));

JasperReport report = JasperCompileManager.compileReport( reportFile.getPath() );

JasperReport jasperReport = (JasperReport)JRLoader.loadObjectFromLocation(reportFile.getPath());

JasperReport subreport = JasperCompileManager.compileReport(dasr.getPath());

JasperReport jasperReport1 = (JasperReport)JRLoader.loadObjectFromLocation(dasr.getPath());

 

 

 

if (!reportFile.exists()||!dasr.exists())

throw new JRRuntimeException("File DailyAttendance.jasper not found. The report design must be compiled first.");

 

 

Map parameters = new HashMap();

parameters.put("DailyAttendanceSubReport", subreport);

parameters.put("DailyAttendance", report);

parameters.put("AttendanceDate",AttendanceDate);

//response.setContentLength(bytes.length);

//creates an jdbc connection

 

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

 

Connection con = DriverManager.getConnection("jdbc:odbc:Edbtms");

JasperPrint jasperPrint =

JasperFillManager.fillReport(

jasperReport,

parameters,

con

);

 

 

StringBuffer sbuffer = new StringBuffer();

 

JRHtmlExporter exporter = new JRHtmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);

exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);

exporter.exportReport();

%>

 

===============================================

but the sever has encountered the following issue:

 

JasperReports encountered this error :

java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.

at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)

at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown Source)

at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1647)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)

at org.apache.jsp.Jsp.GenerateDaily_jsp._jspService(GenerateDaily_jsp.java:96)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

 

NESTED BY :

net.sf.jasperreports.engine.JRException: Invalid byte 1 of 1-byte UTF-8 sequence.

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:244)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)

at org.apache.jsp.Jsp.GenerateDaily_jsp._jspService(GenerateDaily_jsp.java:96)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

Caused by: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.

at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)

at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown Source)

at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1647)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

... 36 more

 

Please if someone wants to solve my problem urgently i would very much thankful to him/her.

Best regards!

Link to comment
Share on other sites

  • 10 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...