Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Try Run birt report by genReport.bat
February 21, 2018
12:48 am
Avatar
dimalar
New Member
Members
Forum Posts: 1
Member Since:
May 30, 2016
sp_UserOfflineSmall Offline

I use Birt reports in the MAXIMO (7.5) environment, And they work perfectly. I would like to run the report separately from Maxim as it does the eclipse development environment.

I try to use genReport.bat from birt runtime.

genReport.bat -f HTML -o outp.html C:\MaxRep\ListCommod.rptdesig

(report without any paraments) but got error 

Їхт 21, 2018 8:42:30 AM org.eclipse.birt.report.engine.script.internal.ScriptExecutor addException
WARNING: There are errors evaluating script “importPackage(Packages.com.ibm.tivoli.maximo.report.script);

mxReportScriptContext = MXReportScriptContext.initialize(reportContext);
i = 0;”:
ReferenceError: “MXReportScriptContext” is not defined. (/report/method[@name=”initialize”]#3)
org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script “importPackage(Packages.com.ibm.tivoli.maximo.report.script);

mxReportScriptContext = MXReportScriptContext.initialize(reportContext);
i = 0;”:
ReferenceError: “MXReportScriptContext” is not defined. (/report/method[@name=”initialize”]#3)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.addException(ScriptExecutor.java:249)
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:93)
at org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesign(EngineTask.java:1975)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:99)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:245)
at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:168)
at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:127)
Caused by: org.eclipse.birt.core.exception.CoreException: There are errors evaluating script “importPackage(Packages.com.ibm.tivoli.maximo.report.script);

mxReportScriptContext = MXReportScriptContext.initialize(reportContext);
i = 0;”:
ReferenceError: “MXReportScriptContext” is not defined. (/report/method[@name=”initialize”]#3)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.evaluate(JavascriptEngine.java:295)
at org.eclipse.birt.core.script.ScriptContext.evaluate(ScriptContext.java:159)
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:791)
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:720)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleScriptInternal(ScriptExecutor.java:118)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleScript(ScriptExecutor.java:105)
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:84)
… 6 more
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: “MXReportScriptContext” is not defined. (/report/method[@name=”initialize”]#3)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3750)
at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1794)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1733)
at org.mozilla.javascript.gen._report_method__name__initialize___5._c_script_0(/report/method[@name=”initialize”]:3)
at org.mozilla.javascript.gen._report_method__name__initialize___5.call(/report/method[@name=”initialize”])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.gen._report_method__name__initialize___5.call(/report/method[@name=”initialize”])
at org.mozilla.javascript.gen._report_method__name__initialize___5.exec(/report/method[@name=”initialize”])
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.evaluate(JavascriptEngine.java:290)
… 12 more

 

Is there a way to run the Maximo-Birt report separately from Maximо?

Forum Timezone: America/New_York

Most Users Ever Online: 54

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

sun kim: 60

madd0g17: 59

v.barsamov: 51

cgregory: 45

Maximofresher: 45

matta0990: 33

Member Stats:

Guest Posters: 0

Members: 14366

Moderators: 0

Admins: 4

Forum Stats:

Groups: 1

Forums: 8

Topics: 1580

Posts: 4295

Newest Members:

Megan Morgan, Devendra Verma, stephen stephens, maxexpertise Hilal, Jeroen van Proosdij, Neeraja N

Administrators: Chon: 1118, kristensibilia: 0, Joe Grassia: 0, bpaik: 0