Skip to main content



      Home
Home » Archived » BIRT » Using try-catch in expression
Using try-catch in expression [message #181508] Tue, 01 August 2006 06:40 Go to next message
Eclipse UserFriend
Originally posted by: teemu.turkia.propentus.fi

Hi.

I am using Total.sum(dataSetRow["amount"]) in footer of a table. Normally it
works fine, but if there isn't any row (DB returns 0 rows), then I get error
in my report. So I wonder is it possible to use something like try-catch in
expression, like:

try {
Total.sum(dataSetRow["amount"])
} catch(Exception e) {
"0"
}

Like this it didn't seem to work.
Re: Using try-catch in expression [message #181543 is a reply to message #181508] Tue, 01 August 2006 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeromevergereau.hotmail.com

it's seems to me it's Rhino javascript and not java so you should try

try
{
Total.sum(dataSetRow["amount"])
} catch(e)
{
"0"
//or return "0"
}

ps: I didn't try it
Re: Using try-catch in expression [message #181563 is a reply to message #181543] Tue, 01 August 2006 08:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: teemu.turkia.propentus.fi

Nope. That doesn't work either.
Re: Using try-catch in expression [message #181606 is a reply to message #181508] Tue, 01 August 2006 14:50 Go to previous messageGo to next message
Eclipse UserFriend
What error do you get when the result set is empty? The Total.sum() function
should work with an empty table (the sum will be 0). Can you please attach a
report design that demonstrates this problem?

Due the the way that aggregate expressions are evaluated in BIRT, The try...
catch construct may not work if the error happens during the calculation of
the aggregate (which happens before the actual Javascript expression is
evaluated).

--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer

"Teemu Turkia" <teemu.turkia@propentus.fi> wrote in message
news:eanb8r$ue7$1@utils.eclipse.org...
> Hi.
>
> I am using Total.sum(dataSetRow["amount"]) in footer of a table. Normally
it
> works fine, but if there isn't any row (DB returns 0 rows), then I get
error
> in my report. So I wonder is it possible to use something like try-catch
in
> expression, like:
>
> try {
> Total.sum(dataSetRow["amount"])
> } catch(Exception e) {
> "0"
> }
>
> Like this it didn't seem to work.
>
>
Re: Using try-catch in expression [message #181654 is a reply to message #181606] Wed, 02 August 2006 01:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: teemu.turkia.propentus.fi

Hi Gary!

Report file is attached. I got following error:

________________________________________

The following items have errors:


Data (id = 952):
- There are errors evaluating script "row["TOTAL_ACCOUNTS"]".
Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are
errors evaluating script "row["TOTAL_ACCOUNTS"]".
at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:572)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:534)
at
org.eclipse.birt.report.engine.internal.executor.doc.Abstrac tReportReader$1.visitData(AbstractReportReader.java:320)
at
org.eclipse.birt.report.engine.content.impl.DataContent.acce pt(DataContent.java(Compiled
Code))
at
org.eclipse.birt.report.engine.content.ContentVisitorAdapter .visit(ContentVisitorAdapter.java:9)
at
org.eclipse.birt.report.engine.internal.executor.doc.ReportI temReader.initializeContent(ReportItemReader.java:237)
at
org.eclipse.birt.report.engine.internal.executor.doc.ReportI temReader.execute(ReportItemReader.java:57)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:90)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:98)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecutor.execute(LocalizedReportExecutor.java:77)
at
org.eclipse.birt.report.engine.internal.document.v3.ReportCo ntentLoaderV3.loadPage(ReportContentLoaderV3.java:50)
at
org.eclipse.birt.report.engine.internal.document.ReportConte ntLoader.loadPage(ReportContentLoader.java:56)
at
org.eclipse.birt.report.engine.api.impl.RenderTask.doRender( RenderTask.java:223)
at
org.eclipse.birt.report.engine.api.impl.RenderTask$PageRende r.render(RenderTask.java:593)
at
org.eclipse.birt.report.engine.api.impl.RenderTask.render(Re nderTask.java:524)
at org.eclipse.birt.report.service.ReportEngineService.renderRe port(Unknown
Source)
at org.eclipse.birt.report.service.ReportEngineService.renderRe port(Unknown
Source)
at org.eclipse.birt.report.service.BirtViewerReportService.getP age(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.doExecution(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:85)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(Unknown
Source)
at
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:85)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doServ ice(StrictServletInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._serv ice(StrictLifecycleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(Str ictLifecycleServlet.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.servi ce(StrictLifecycleServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(Serv letInstance.java:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.d ispatch(ValidServletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dis patch(ServletInstanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handl eWebAppDispatch(WebAppRequestDispatcher.java:1019)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispa tch(WebAppRequestDispatcher.java:592)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forwa rd(WebAppRequestDispatcher.java:204)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppIn voker.java:125)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHo ok(WebAppInvoker.java:286)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.ha ndleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocation Context.invoke(CacheableInvocationContext.java:116)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatch ByURI(ServletRequestProcessor.java:186)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.se rvice(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Ht tpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConn ection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
Caused by: java.lang.NullPointerException
at
org.eclipse.birt.data.engine.impl.document.util.ExprResultSe t.getValue(ExprResultSet.java:131)
at
org.eclipse.birt.data.engine.impl.document.ResultIterator.ge tValue(ResultIterator.java:151)
at
org.eclipse.birt.report.engine.data.dte.DteResultSet.getValu e(DteResultSet.java:266)
at
org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowObject.java:90)
at
org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.java(Compiled
Code))
at
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1301)
at
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1283)
at org.mozilla.javascript.gen.c62._c0(<inline>:1)
at org.mozilla.javascript.gen.c62.call(<inline>)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:304)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769)
at org.mozilla.javascript.gen.c62.call(<inline>)
at org.mozilla.javascript.gen.c62.exec(<inline>)
at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:565)
... 76 more


Re: Using try-catch in expression [message #181656 is a reply to message #181654] Wed, 02 August 2006 01:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: teemu.turkia.propentus.fi

Oh, I attached other report which is using Total.count() function instead of
Total.sum, but it has same problem with empty result set.
Re: Using try-catch in expression [message #182108 is a reply to message #181654] Wed, 02 August 2006 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Thanks. One more question: which BIRT build are you using?

--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer
"Teemu Turkia" <teemu.turkia@propentus.fi> wrote in message
news:eapd2r$21a$1@utils.eclipse.org...
> Hi Gary!
>
> Report file is attached. I got following error:
>
> ________________________________________
>
> The following items have errors:
>
>
> Data (id = 952):
> - There are errors evaluating script "row["TOTAL_ACCOUNTS"]".
> Error.ScriptEvaluationError ( 1 time(s) )
> detail : org.eclipse.birt.report.engine.api.EngineException: There are
> errors evaluating script "row["TOTAL_ACCOUNTS"]".
> at
>
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionC
ontext.java:572)
> at
>
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionC
ontext.java:534)
> at
>
org.eclipse.birt.report.engine.internal.executor.doc.Abstrac tReportReader$1.
visitData(AbstractReportReader.java:320)
> at
>
org.eclipse.birt.report.engine.content.impl.DataContent.acce pt(DataContent.j
ava(Compiled
> Code))
> at
>
org.eclipse.birt.report.engine.content.ContentVisitorAdapter .visit(ContentVi
sitorAdapter.java:9)
> at
>
org.eclipse.birt.report.engine.internal.executor.doc.ReportI temReader.initia
lizeContent(ReportItemReader.java:237)
> at
>
org.eclipse.birt.report.engine.internal.executor.doc.ReportI temReader.execut
e(ReportItemReader.java:57)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExe
cutor.execute(LocalizedReportItemExecutor.java:35)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:90)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:98)
> at
>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportExecuto
r.execute(LocalizedReportExecutor.java:77)
> at
>
org.eclipse.birt.report.engine.internal.document.v3.ReportCo ntentLoaderV3.lo
adPage(ReportContentLoaderV3.java:50)
> at
>
org.eclipse.birt.report.engine.internal.document.ReportConte ntLoader.loadPag
e(ReportContentLoader.java:56)
> at
>
org.eclipse.birt.report.engine.api.impl.RenderTask.doRender( RenderTask.java:
223)
> at
>
org.eclipse.birt.report.engine.api.impl.RenderTask$PageRende r.render(RenderT
ask.java:593)
> at
>
org.eclipse.birt.report.engine.api.impl.RenderTask.render(Re nderTask.java:52
4)
> at
org.eclipse.birt.report.service.ReportEngineService.renderRe port(Unknown
> Source)
> at
org.eclipse.birt.report.service.ReportEngineService.renderRe port(Unknown
> Source)
> at
org.eclipse.birt.report.service.BirtViewerReportService.getP age(Unknown
> Source)
> at
>
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.d
oExecution(Unknown
> Source)
> at
>
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler._
_execute(Unknown
> Source)
> at
>
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.exec
ute(Unknown
> Source)
> at
>
org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor._
_executeAction(Unknown
> Source)
> at
>
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.
executeAction(Unknown
> Source)
> at
>
org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGet
Page(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:85
)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:58
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java(Compiled
> Code))
> at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
> at
>
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.
process(Unknown
> Source)
> at
>
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedOb
jects(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:85
)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:58
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java(Compiled
> Code))
> at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
> at
>
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397
)
> at
>
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:1
86)
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
> at
>
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:
32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
> at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
> at
>
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(Unkn
own
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
>
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:
327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doServ ice(StrictServle
tInstance.java:110)
> at
>
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._serv ice(StrictLifecy
cleServlet.java:174)
> at
>
com.ibm.ws.webcontainer.servlet.IdleServletState.service(Str ictLifecycleServ
let.java:313)
> at
>
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.servi ce(StrictLifecyc
leServlet.java:116)
> at
>
com.ibm.ws.webcontainer.servlet.ServletInstance.service(Serv letInstance.java
:283)
> at
>
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.d ispatch(ValidSer
vletReferenceState.java:42)
> at
>
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dis patch(ServletIns
tanceReference.java:40)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handl eWebAppDispatch(
WebAppRequestDispatcher.java:1019)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispa tch(WebAppReques
tDispatcher.java:592)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forwa rd(WebAppRequest
Dispatcher.java:204)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppIn voker.java:125)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHo ok(WebAppInvoker
..java:286)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.ha ndleInvocation(C
achedInvocation.java:71)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocation Context.invoke(C
acheableInvocationContext.java:116)
> at
>
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatch ByURI(ServletReq
uestProcessor.java:186)
> at
>
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.se rvice(OSEListene
r.java:334)
> at
>
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Ht tpConnection.jav
a:56)
> at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConn ection.java:615)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
> Caused by: java.lang.NullPointerException
> at
>
org.eclipse.birt.data.engine.impl.document.util.ExprResultSe t.getValue(ExprR
esultSet.java:131)
> at
>
org.eclipse.birt.data.engine.impl.document.ResultIterator.ge tValue(ResultIte
rator.java:151)
> at
>
org.eclipse.birt.report.engine.data.dte.DteResultSet.getValu e(DteResultSet.j
ava:266)
> at
>
org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowObject.
java:90)
> at
>
org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.java(Co
mpiled
> Code))
> at
>
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1301)
> at
>
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1283)
> at org.mozilla.javascript.gen.c62._c0(<inline>:1)
> at org.mozilla.javascript.gen.c62.call(<inline>)
> at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:304)
> at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769)
> at org.mozilla.javascript.gen.c62.call(<inline>)
> at org.mozilla.javascript.gen.c62.exec(<inline>)
> at
org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224)
> at
>
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionC
ontext.java:565)
> ... 76 more
>
>
>
Re: Using try-catch in expression [message #182247 is a reply to message #182108] Thu, 03 August 2006 01:14 Go to previous message
Eclipse UserFriend
Originally posted by: teemu.turkia.propentus.fi

2.1.0

"Gary Xue" <gxue@actuate.com> kirjoitti
viestiss
Previous Topic:Custom HTML tag in report
Next Topic:Print as pdf not working for Bar chart having Y-Series interactivity.
Goto Forum:
  


Current Time: Fri Aug 29 06:32:41 EDT 2025

Powered by FUDForum. Page generated in 0.32133 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top