Community
Participate
Working Groups
Input stream not used when generating a report. When generating a TPTP test report (see 210955), the resulting test report does not contain any data from the XML stream. The TPTP code is using the org.eclipse.birt.report.data.oda.xml.Constants.APPCONTEXT_INPUTSTREAM contstant to store the XML input steam context map. Has this constant changed? BIRT driver: http://download.eclipse.org/birt/downloads/build.php?build=M-R1-2.3M3-200711161657 TPTP Driver: http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.5.0-200711050917
(In reply to comment #0) This may be a problem with the deprecated org.eclipse.birt.report.data.oda.xml.Constants.APPCONTEXT_INPUTSTREAM constant, which we have experience before: https://bugs.eclipse.org/bugs/show_bug.cgi?id=202947 What is the replacement for the deprecated constant:
(In reply to comment #1) > (In reply to comment #0) > > This may be a problem with the deprecated > org.eclipse.birt.report.data.oda.xml.Constants.APPCONTEXT_INPUTSTREAM constant, > which we have experience before: > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=202947 > > What is the replacement for the deprecated constant: > We confirmed that the XML inputstream is correct. We also tried the org.eclipse.datatools.enablement.oda.xml.Constants.APPCONTEXT_INPUTSTREAM constant with no success.
Hi Mingxia, what is target date for this fix? Our test automation initiative is blocked by this defect. Also, TPTP starts our M4 test pass on Dec. 10, which requires this defect to be resolved.
Hi Paul, I've fixed this bug on 11/29(China) in source code. Since it is belongs to DTP project, I guess the birt version containing this fix might be availabe till 12/1(China). So please verify this issue until then. Thanks Mingxia
Thanks Mingxia. Can you attach a patch to get our test automation up before Dec 1?
Hi Paul, Birt Build team has build v20071130-0800 using the latest DTP project. You can directly access the birt build on http://download.eclipse.org/birt/downloads/build.php?build=N-R1-2_3_0-N20071129-200711290800. Thanks Mingxia
(In reply to comment #6) > Hi Paul, > > Birt Build team has build v20071130-0800 using the latest DTP project. You can > directly access the birt build on > http://download.eclipse.org/birt/downloads/build.php?build=N-R1-2_3_0-N20071129-200711290800. > > Thanks > Mingxia > Thanks Mingxia. We will try this now.
Using the 'Report Designer Full Eclipse Install' from the N-R1-2_3_0-N20071129-200711290800, the problem still exists. Also, the following exception was in the <Eclipse installation directory>/eclipse/meta.log: 2007-11-30 09:06:53 Message [Extension loading error] Exception [org.eclipse.birt.report.model.metadata.MetaDataException: Message:Duplicate property names [pageBreakBefore] when adding the property to element [LevelView]. Error code:DUPLICATE_PROPERTY at org.eclipse.birt.report.model.metadata.ElementDefn.addProperty(ElementDefn.java:1578) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.loadElement(PeerExtensionLoader.java:246) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.loadExtension(PeerExtensionLoader.java:110) at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoad(ExtensionLoader.java:137) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.doLoad(PeerExtensionLoader.java:63) at org.eclipse.birt.report.model.metadata.ExtensionLoader.load(ExtensionLoader.java:71) at org.eclipse.birt.report.model.metadata.ExtensionManager.initialize(ExtensionManager.java:44) at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.initialize(DesignEngineImpl.java:106) at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newSessionHandle(DesignEngineImpl.java:149) at org.eclipse.birt.report.model.api.DesignEngine.newSessionHandle(DesignEngine.java:108) at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:143) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:243) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:179) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:156) at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:278) at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTReportGenerator.generateHTMLReportFragment(BIRTReportGenerator.java:271) at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTReportGenerator.generateHTMLReport(BIRTReportGenerator.java:190) at org.eclipse.tptp.test.report.birt.internal.TabularTPFTestSuiteReportElement.generate(TabularTPFTestSuiteReportElement.java:151) at org.eclipse.tptp.platform.report.birt.ui.internal.BIRTReportsWizard.generate(BIRTReportsWizard.java:60) at org.eclipse.hyades.test.ui.internal.wizard.ReportWizard$FinishOperation.execute(ReportWizard.java:193) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1798) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934) at org.eclipse.hyades.test.ui.internal.wizard.ReportWizard.performFinish(ReportWizard.java:148) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:746) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:623) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.hyades.test.ui.internal.navigator.action.OpenReportAction.run(OpenReportAction.java:49) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) ] 2007-11-30 09:06:53 Message [Extension loading error] Exception [org.eclipse.birt.report.model.metadata.MetaDataException: Message:Duplicate property names [pageBreakAfter] when adding the property to element [LevelView]. Error code:DUPLICATE_PROPERTY at org.eclipse.birt.report.model.metadata.ElementDefn.addProperty(ElementDefn.java:1578) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.loadElement(PeerExtensionLoader.java:246) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.loadExtension(PeerExtensionLoader.java:110) at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoad(ExtensionLoader.java:137) at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.doLoad(PeerExtensionLoader.java:63) at org.eclipse.birt.report.model.metadata.ExtensionLoader.load(ExtensionLoader.java:71) at org.eclipse.birt.report.model.metadata.ExtensionManager.initialize(ExtensionManager.java:44) at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.initialize(DesignEngineImpl.java:106) at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newSessionHandle(DesignEngineImpl.java:149) at org.eclipse.birt.report.model.api.DesignEngine.newSessionHandle(DesignEngine.java:108) at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:143) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:243) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:179) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:156) at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:278) at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTReportGenerator.generateHTMLReportFragment(BIRTReportGenerator.java:271) at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTReportGenerator.generateHTMLReport(BIRTReportGenerator.java:190) at org.eclipse.tptp.test.report.birt.internal.TabularTPFTestSuiteReportElement.generate(TabularTPFTestSuiteReportElement.java:151) at org.eclipse.tptp.platform.report.birt.ui.internal.BIRTReportsWizard.generate(BIRTReportsWizard.java:60) at org.eclipse.hyades.test.ui.internal.wizard.ReportWizard$FinishOperation.execute(ReportWizard.java:193) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1798) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934) at org.eclipse.hyades.test.ui.internal.wizard.ReportWizard.performFinish(ReportWizard.java:148) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:746) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:623) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.hyades.test.ui.internal.navigator.action.OpenReportAction.run(OpenReportAction.java:49) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) ]
Hi Mingxia, When possible, please try to use the most specific target milestone available when working on a bug. This makes it easier for the PMC to track defect metrics. Here I've changed 1.6 -> 1.6M4.
Hi Paul, The Exception issue is a known bug, see regression bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=211381. Model team has fixed this bug on 11/29. So could you please try the latest version to verify it. Sorry for any inconvinience. Thanks Mingxia
(In reply to comment #10) > Hi Paul, > > The Exception issue is a known bug, see regression bug > https://bugs.eclipse.org/bugs/show_bug.cgi?id=211381. Model team has fixed this > bug on 11/29. So could you please try the latest version to verify it. Sorry > for any inconvinience. > > Thanks > Mingxia > Using the BIRT 11/30 build and DTP 12/03 build, everything works fine. Thanks.
Verified.