Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Invalid UTF Character String error with MySQL
jkamaraj
<div>My report goes against a stored procedure in Mysql. Some times( out of 10 times approximately 4 times) report fails while generating the document with this error. I checked the stored procedure and not seeing any non valid characters. Have any one seen this? Thanks.</div>
<div> </div>
<div>Description<span> </span>Resource<span> </span>Path<span> </span>Location<span> </span>Type</div>
<div>org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:</div>
<div>Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: 'ˆ'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: 'ˆ' (Element ID:26138)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1237)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1216)</div>
<div>at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)</div>
<div>at org.eclipse.birt.report.engine.executor.GridItemExecutor.execute(GridItemExecutor.java:65)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)</div>
<div>at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:262)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)</div>
<div>at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1317)</div>
<div>at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)</div>
<div>at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)</div>
<div>at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)</div>
<div>at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:53)</div>
<div>at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)</div>
<div>at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)</div>
<div>at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)</div>
<div>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at java.lang.reflect.Method.invoke(Unknown Source)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)</div>
<div>at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)</div>
<div>at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)</div>
<div>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at java.lang.reflect.Method.invoke(Unknown Source)</div>
<div>at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)</div>
<div>at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)</div>
<div>at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)</div>
<div>at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)</div>
<div>at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)</div>
<div>at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)</div>
<div>at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)</div>
<div>at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)</div>
<div>at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)</div>
<div>at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)</div>
<div>at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</div>
<div>at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)</div>
<div>at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</div>
<div>at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)</div>
<div>at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)</div>
<div>at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)</div>
<div>at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)</div>
<div>at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)</div>
<div>at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)</div>
<div>at org.mortbay.jetty.Server.handle(Server.java:326)</div>
<div>at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)</div>
<div>at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)</div>
<div>at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)</div>
<div>at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)</div>
<div>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)</div>
<div>at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)</div>
<div>at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)</div>
<div>Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:</div>
<div>Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: 'ˆ'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: 'ˆ'</div>
<div>at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:644)</div>
<div>at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)</div>
<div>at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)</div>
<div>at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939)</div>
<div>at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)</div>
<div>... 62 more</div>
<div>Caused by: org.eclipse.birt.data.engine.core.DataException: Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: 'ˆ'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: 'ˆ'</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:345)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)</div>
<div>at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:624)</div>
<div>... 67 more</div>
<div>Caused by: org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: 'ˆ'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: 'ˆ'</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.newException(ExceptionHandler.java:52)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:108)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:84)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:414)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getProjectedColumns(PreparedStatement.java:377)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.declareCustomColumn(PreparedStatement.java:1223)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.addCustomFields(DataSourceQuery.java:650)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepareColumns(DataSourceQuery.java:374)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:323)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:442)</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:341)</div>
<div>... 72 more</div>
<div>Caused by: org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: 'ˆ'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: 'ˆ'</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:464)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaUsingPolicy1(Statement.java:403)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaData(Statement.java:303)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.bidi.BidiStatement.getMetaData(BidiStatement.java:56)</div>
<div>at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doGetMetaData(OdaQuery.java:412)</div>
<div>at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.getMetaData(OdaQuery.java:379)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:407)</div>
<div>... 79 more</div>
<div>Caused by: java.sql.SQLException: Invalid utf8 character string: 'ˆ'</div>
<div>at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)</div>
<div>at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)</div>
<div>at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)</div>
<div>at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)</div>
<div>at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)</div>
<div>at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2683)</div>
<div>at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2144)</div>
<div>at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2310)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:460)</div>
<div>... 85 more</div>
<div>Performance_Grid_SCORE_Natl_4_29.rptdesign<span> </span>/ScoreReporting/Reports<span> </span>line 4843<span> </span>BIRT Viewer Problem</div>
<div> </div>
Find more posts tagged with
Comments
Clement Wong
<p>In those 4 out of 10 failures, are you running with the same parameters? That is, is the .rptdocument generated the same each time?</p>
<p> </p>
<p>Or is there different data being returned from your result set?</p>
<p> </p>
<p>If it is a specific parameter, have you analyzed the values of the result set in another MySQL client tool such as HeidiSQL or DBVisualizaer?</p>
<p> </p>
<p>What are the locale settings for:</p>
<p> </p>
<p>1. The report design</p>
<p>2. The JDBC client driver</p>
<p>3. The table</p>
<p>4. The database</p>
<p>5. The server</p>
jkamaraj
<p>Clement,</p>
<p>I am running with the same parameters.</p>
<p> </p>
<p>Very weird.. In this report If I add a data field ( insert data and add an expression) then I get the below error:</p>
<div>Description<span> </span>Resource<span> </span>Path<span> </span>Location<span> </span>Type</div>
<div>org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:</div>
<div>Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: '˜'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: '˜' (Element ID:26138)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1237)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1216)</div>
<div>at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)</div>
<div>at org.eclipse.birt.report.engine.executor.GridItemExecutor.execute(GridItemExecutor.java:65)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)</div>
<div>at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)</div>
<div>at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)</div>
<div>at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:262)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)</div>
<div>at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1317)</div>
<div>at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)</div>
<div>at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)</div>
<div>at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)</div>
<div>at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:53)</div>
<div>at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)</div>
<div>at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)</div>
<div>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
<div>at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at java.lang.reflect.Method.invoke(Unknown Source)</div>
<div>at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)</div>
<div>at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)</div>
<div>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
<div>at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</div>
<div>at java.lang.reflect.Method.invoke(Unknown Source)</div>
<div>at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)</div>
<div>at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)</div>
<div>at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)</div>
<div>at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)</div>
<div>at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)</div>
<div>at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)</div>
<div>at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)</div>
<div>at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)</div>
<div>at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)</div>
<div>at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)</div>
<div>at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</div>
<div>at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)</div>
<div>at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)</div>
<div>at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</div>
<div>at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)</div>
<div>at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)</div>
<div>at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)</div>
<div>at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)</div>
<div>at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)</div>
<div>at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)</div>
<div>at org.mortbay.jetty.Server.handle(Server.java:326)</div>
<div>at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)</div>
<div>at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)</div>
<div>at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)</div>
<div>at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)</div>
<div>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)</div>
<div>at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)</div>
<div>at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)</div>
<div>Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:</div>
<div>Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: '˜'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: '˜'</div>
<div>at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:644)</div>
<div>at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)</div>
<div>at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)</div>
<div>at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)</div>
<div>at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939)</div>
<div>at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)</div>
<div>... 64 more</div>
<div>Caused by: org.eclipse.birt.data.engine.core.DataException: Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance</div>
<div>Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: '˜'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: '˜'</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:345)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)</div>
<div>at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:624)</div>
<div>... 69 more</div>
<div>Caused by: org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot get the result set metadata.</div>
<div> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: '˜'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: '˜'</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.newException(ExceptionHandler.java:52)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:108)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:84)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:414)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getProjectedColumns(PreparedStatement.java:377)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.declareCustomColumn(PreparedStatement.java:1223)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.addCustomFields(DataSourceQuery.java:650)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepareColumns(DataSourceQuery.java:374)</div>
<div>at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:323)</div>
<div>at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:442)</div>
<div>at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:341)</div>
<div>... 74 more</div>
<div>Caused by: org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object.</div>
<div>SQL error #1:Invalid utf8 character string: '˜'</div>
<div> ;</div>
<div> java.sql.SQLException: Invalid utf8 character string: '˜'</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:464)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaUsingPolicy1(Statement.java:403)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaData(Statement.java:303)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.bidi.BidiStatement.getMetaData(BidiStatement.java:56)</div>
<div>at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doGetMetaData(OdaQuery.java:412)</div>
<div>at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.getMetaData(OdaQuery.java:379)</div>
<div>at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:407)</div>
<div>... 81 more</div>
<div>Caused by: java.sql.SQLException: Invalid utf8 character string: '˜'</div>
<div>at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)</div>
<div>at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)</div>
<div>at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)</div>
<div>at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)</div>
<div>at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)</div>
<div>at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2683)</div>
<div>at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2144)</div>
<div>at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2310)</div>
<div>at org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:460)</div>
<div>... 87 more</div>
<div>Performance_Grid_SCORE_Natl_6_7.rptdesign<span> </span>/ScoreReporting/Reports<span> </span>line 3756<span> </span>BIRT Viewer Problem</div>
<div> </div>
<div>If I remove the field and the report runs fine. </div>
<div> </div>
<div>When looked in XML Source the following error is seen in Element 26318</div>
<div> </div>
<div>
<div>Multiple annotations found at this line:</div>
<div>- org.eclipse.birt.report.engine.api.EngineException: Can not load the report query: 26138. Errors occurred when generating the report </div>
<div>document for the report element with ID 26,138. (Element ID:26138) at </div>
<div>org.eclipse.birt.report.engine.data.dte.DataPresentationEngine.doExecuteQuery(DataPresentationEngine.java:164) at </div>
<div>org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267) at </div>
<div>org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939) at </div>
<div>org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.executeQuery(ReportItemExecutor.java:412) at </div>
<div>org.eclipse.birt.report.engine.internal.document.v4.GridItemExecutor.doExecute(GridItemExecutor.java:49) at </div>
<div>org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.execute(ReportItemExecutor.java:294) at </div>
<div>org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.prepareChildExecutor(ContainerExecutor.java:226) at </div>
<div>org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.hasNextChild(ContainerExecutor.java:110) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86) at </div>
<div>org.eclipse.birt.report.engine.api.impl.RenderTask$ReportExecutorWrapper.hasNextChild(RenderTask.java:780) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLPageLM$1.hasNextChild(HTMLPageLM.java:68) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:62) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100) at </div>
<div>org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:661) at </div>
<div>org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294) at </div>
<div>org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1547) at </div>
<div>org.eclipse.birt.report.service.BirtViewerReportService.getPage(BirtViewerReportService.java:204) at </div>
<div>org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.doRenderPage(BirtChangeParameterActionHandler.java:82) at </div>
<div>org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:</div>
<div>103) at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143) at </div>
<div>org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100) at </div>
<div>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at </div>
<div>sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112) at </div>
<div>org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66) at </div>
<div>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at </div>
<div>sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at </div>
<div>org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) at </div>
<div>org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) at </div>
<div>org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at </div>
<div>org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) </div>
<div>at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454) at </div>
<div>org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) at </div>
<div>org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265) at </div>
<div>javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at </div>
<div>javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at </div>
<div>org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122) at </div>
<div>org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at </div>
<div>org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317) at </div>
<div>org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:</div>
<div>390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at </div>
<div>org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at </div>
<div>org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at </div>
<div>org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection</div>
<div>$RequestHandler.content(HttpConnection.java:939) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at </div>
<div>org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at </div>
<div>org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool</div>
<div>$PoolThread.run(QueuedThreadPool.java:582)</div>
<div>- org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for </div>
<div>details: Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance Cannot get the result set metadata. </div>
<div>org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object. SQL error #1:Invalid utf8 character string: </div>
<div>'˜' ; java.sql.SQLException: Invalid utf8 character string: '˜' (Element ID:26138) at </div>
<div>org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1237) at </div>
<div>org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1216) at </div>
<div>org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96) at </div>
<div>org.eclipse.birt.report.engine.executor.GridItemExecutor.execute(GridItemExecutor.java:65) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46) at </div>
<div>org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92) at </div>
<div>org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100) at </div>
<div>org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249) at </div>
<div>org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:262) at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86) </div>
<div>at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1317) at </div>
<div>org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158) at </div>
<div>org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81) at </div>
<div>org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58) at </div>
<div>org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:</div>
<div>53) at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143) at </div>
<div>org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100) at </div>
<div>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at </div>
<div>sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at </div>
<div>org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112) at </div>
<div>org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66) at </div>
<div>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at </div>
<div>sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at </div>
<div>org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) at </div>
<div>org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) at </div>
<div>org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at </div>
<div>org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) </div>
<div>at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454) at </div>
<div>org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) at </div>
<div>org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265) at </div>
<div>javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at </div>
<div>javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at </div>
<div>org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122) at </div>
<div>org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) at </div>
<div>org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at </div>
<div>org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317) at </div>
<div>org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:</div>
<div>390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at </div>
<div>org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at </div>
<div>org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at </div>
<div>org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection</div>
<div>$RequestHandler.content(HttpConnection.java:939) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at </div>
<div>org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at </div>
<div>org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool</div>
<div>$PoolThread.run(QueuedThreadPool.java:582) Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred </div>
<div>during processing. Please see the following message for details: Failed to prepare the query execution for the data set: 01-</div>
<div>tbl_score_natl_performance Cannot get the result set metadata. org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not </div>
<div>return a ResultSet object. SQL error #1:Invalid utf8 character string: '˜' ; java.sql.SQLException: Invalid utf8 character string: '˜' at </div>
<div>org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:644) at </div>
<div>org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152) at </div>
<div>org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83) at </div>
<div>org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267) at </div>
<div>org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939) at </div>
<div>org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80) ... 64 more Caused by: </div>
<div>org.eclipse.birt.data.engine.core.DataException: Failed to prepare the query execution for the data set: 01-tbl_score_natl_performance Cannot </div>
<div>get the result set metadata. org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object. SQL error </div>
<div>#1:Invalid utf8 character string: '˜' ; java.sql.SQLException: Invalid utf8 character string: '˜' at </div>
<div>org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:345) at </div>
<div>org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455) at </div>
<div>org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190) at </div>
<div>org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178) at </div>
<div>org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145) at </div>
<div>org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:624) ... 69 more Caused by: </div>
<div>org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot get the result set metadata. </div>
<div>org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object. SQL error #1:Invalid utf8 character string: </div>
<div>'˜' ; java.sql.SQLException: Invalid utf8 character string: '˜' at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.newException(ExceptionHandler.java:52) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:108) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:84) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:414) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getProjectedColumns(PreparedStatement.java:377) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.declareCustomColumn(PreparedStatement.java:1223) at </div>
<div>org.eclipse.birt.data.engine.executor.DataSourceQuery.addCustomFields(DataSourceQuery.java:650) at </div>
<div>org.eclipse.birt.data.engine.executor.DataSourceQuery.prepareColumns(DataSourceQuery.java:374) at </div>
<div>org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:323) at </div>
<div>org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:442) at </div>
<div>org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:341) ... 74 more Caused by: </div>
<div>org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement does not return a ResultSet object. SQL error #1:Invalid utf8 character string: </div>
<div>'˜' ; java.sql.SQLException: Invalid utf8 character string: '˜' at org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:464) at </div>
<div>org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaUsingPolicy1(Statement.java:403) at </div>
<div>org.eclipse.birt.report.data.oda.jdbc.Statement.getMetaData(Statement.java:303) at </div>
<div>org.eclipse.birt.report.data.oda.jdbc.bidi.BidiStatement.getMetaData(BidiStatement.java:56) at </div>
<div>org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doGetMetaData(OdaQuery.java:412) at </div>
<div>org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.getMetaData(OdaQuery.java:379) at </div>
<div>org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getRuntimeMetaData(PreparedStatement.java:407) ... 81 more Caused by: </div>
<div>java.sql.SQLException: Invalid utf8 character string: '˜' at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at </div>
<div>com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028) at </div>
<div>com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651) at </div>
<div>com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2683) at </div>
<div>com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2144) at </div>
<div>com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2310) at </div>
<div>org.eclipse.birt.report.data.oda.jdbc.Statement.executeQuery(Statement.java:460) ... 87 more</div>
<div> </div>
<div> </div>
<div>I am started to thinking this is some thing in BIRT that is causing this failure but do not know what is it..</div>
<div> </div>
<div>I have uploaded two desings</div>
<div> </div>
<div>1. With the data field which I added recently ( element ID: 27835)</div>
<div> </div>
<div>If I remove this field it works fine.</div>
<div> </div>
<div>Any pointers , will be helpful</div>
<div> </div>
<div>Thank you</div>
<div>Raj</div>
<div> </div>
</div>
Clement Wong
<p>To troubleshoot further, will you be able to PM me a sample MySQL dump so that I can run the design in my environment?</p>
<p> </p>
<p>On your end, if you create a new report with that same field, does it fail?</p>