[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-news] Exception on URI


Hi there,
I am newbie on Birt and I am trying to use it to print some images for our web page. While I was playing with the image, I got an weird error. I am not sure it is a bug or I did something wrong. Here are more details.

From the report desing, I selected insert image. Then I selected URI for "Select picture from".  Then , I entered "http://www.behr.com/behrx/PalettePNGServlet?mcc=310D-5&ac1=790F-5&ac2=200D-7&wcc=W-B-310" for "enter URI". When I run the preview, it rendered the image properly but with following error: When I pasted the URI to the regular browser, it rendered the image without any error. Does someone know why I got this error from the report? Thank you very  uch.

Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "http://www.behr.com/behrx/PalettePNGServlet?mcc=310D-5&ac1=790F-5&ac2=200D-7&wcc=W-B-310".
 at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:572)
 at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:534)
 at org.eclipse.birt.report.engine.executor.ReportItemExecutor.evaluate(ReportItemExecutor.java:225)
 at org.eclipse.birt.report.engine.executor.ImageItemExecutor.handleURIImage(ImageItemExecutor.java:192)
 at org.eclipse.birt.report.engine.executor.ImageItemExecutor.handleImage(ImageItemExecutor.java:145)
 at org.eclipse.birt.report.engine.executor.ImageItemExecutor.execute(ImageItemExecutor.java:109)
 at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:35)
 at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layoutChildren(HTMLPageLM.java:123)
 at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:81)
 at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:80)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:187)
 at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
 at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
 at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown Source)
 at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown Source)
 at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
 at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(Unknown Source)
 at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(Unknown Source)
 at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Unknown Source)
 at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(Unknown Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(EclipseErrorReportValve.java:153)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Unknown Source)
Caused by: org.mozilla._javascript_.EvaluatorException: Unexpected end of file (<inline>#1)
 at org.mozilla._javascript_.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95)
 at org.mozilla._javascript_.DefaultErrorReporter.error(DefaultErrorReporter.java:82)
 at org.mozilla._javascript_.Parser.addError(Parser.java:120)
 at org.mozilla._javascript_.Parser.reportError(Parser.java:126)
 at org.mozilla._javascript_.Parser.primaryExpr(Parser.java:2005)
 at org.mozilla._javascript_.Parser.memberExpr(Parser.java:1637)
 at org.mozilla._javascript_.Parser.unaryExpr(Parser.java:1500)
 at org.mozilla._javascript_.Parser.mulExpr(Parser.java:1429)
 at org.mozilla._javascript_.Parser.addExpr(Parser.java:1410)
 at org.mozilla._javascript_.Parser.shiftExpr(Parser.java:1390)
 at org.mozilla._javascript_.Parser.relExpr(Parser.java:1364)
 at org.mozilla._javascript_.Parser.eqExpr(Parser.java:1320)
 at org.mozilla._javascript_.Parser.bitAndExpr(Parser.java:1309)
 at org.mozilla._javascript_.Parser.bitXorExpr(Parser.java:1298)
 at org.mozilla._javascript_.Parser.bitOrExpr(Parser.java:1287)
 at org.mozilla._javascript_.Parser.andExpr(Parser.java:1275)
 at org.mozilla._javascript_.Parser.orExpr(Parser.java:1263)
 at org.mozilla._javascript_.Parser.condExpr(Parser.java:1246)
 at org.mozilla._javascript_.Parser.assignExpr(Parser.java:1228)
 at org.mozilla._javascript_.Parser.expr(Parser.java:1217)
 at org.mozilla._javascript_.Parser.statementHelper(Parser.java:1148)
 at org.mozilla._javascript_.Parser.statementHelper(Parser.java:1134)
 at org.mozilla._javascript_.Parser.statement(Parser.java:616)
 at org.mozilla._javascript_.Parser.parse(Parser.java:347)
 at org.mozilla._javascript_.Parser.parse(Parser.java:287)
 at org.mozilla._javascript_.Context.compileImpl(Context.java:2349)
 at org.mozilla._javascript_.Context.compileString(Context.java:1372)
 at org.mozilla._javascript_.Context.compileString(Context.java:1361)
 at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContext.java:221)
 at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:565)
 ... 53 more


Brian Ko
Information Technology
Behr Process Corporation
714-545-7101 ext 2365

-------------------------------------------------------
The information contained in this e-mail message may be proprietary, privileged, confidential or protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender.