Issue 111200 - xmloff/qa/unoapi xmloff.Draw.XMLMetaImporter failure
Summary: xmloff/qa/unoapi xmloff.Draw.XMLMetaImporter failure
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: DEV300m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.1
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 16:06 UTC by Stephan Bergmann
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2010-04-27 16:06:43 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing the xmloff/qa/unoapi tests at least under wntmsci12.pro
once failed at

24: Creating: xmloff.Draw.XMLMetaImporter
24: LOG> Log started 27.03.2010 - 11:57:09
24: LOG> creating a drawdocument
24: LOG> creating a test environment
24: LOG> creating a new environment for Paragraph object
24: Environment created
24: LOG> Log started 27.03.2010 - 11:57:10
24: checking:
[xmloff.Draw.XMLMetaImporter::com::sun::star::lang::XInitialization] is iface:
[com.sun.star.lang.XInitialization] testcode: [ifc.lang._XInitialization]
24: LOG> Execute: initialize()
24: LOG> calling method with valid arguments...
24: Using new Object[0] as Argument
24: Method initialize() finished with state OK
24: LOG> initialize(): PASSED.OK
24: LOG>     disposing document 
24: ***** State for
xmloff.Draw.XMLMetaImporter::com::sun::star::lang::XInitialization ******
24: Whole interface: PASSED.OK
24:
*****************************************************************************************
24: LOG> Log started 27.03.2010 - 11:57:10
24: Creating: xmloff.Draw.XK
[...]
24: LOG> Log started 27.03.2010 - 11:57:10
24: LOG> creating a drawdocument
24: LOG> creating a test environment
24: LOG> creating a new environment for Paragraph object
24: Environment created
24: checking: [xmloff.Draw.XMLMetaImporter::com::sun::star::document::XFilter]
is iface: [com.sun.star.document.XFilter] testcode: [ifc.document._XFilter]
24: LOG> XMLMetaImporter contains only a dummy implementation
24: LOG> therefore all methods are skipped
24: LOG> Execute: filter()
24: Method filter() finished with state OK
24: LOG> filter(): PASSED.OK
24: 
24: LOG> Execute: cancel()
24: Method cancel() finished with state OK
24: LOG> cancel(): PASSED.OK
24: ***** State for
xmloff.Draw.XMLMetaImporter::com::sun::star::document::XFilter ******
24: Whole interface: PASSED.OK
24:
*************************************************************************************
24: LOG> Log started 27.03.2010 - 11:57:11
24: checking: [xmloff.Draw.XMLMetaImporter::com::sun::star::container::XNamed]
is iface: [com.sun.star.container.XNamed] testcode: [ifc.container._XNamed]
24: ***** State for
xmloff.Draw.XMLMetaImporter::com::sun::star::container::XNamed ******
24: Whole interface: Not supported but optional.OK
24:
*************************************************************************************
24: LOG> Log started 27.03.2010 - 11:57:11
24: checking: [xmloff.Draw.XMLMetaImporter::com::sun::star::document::XImporter]
is iface: [com.sun.star.document.XImporter] testcode: [ifc.document._XImporter]
24: LOG> Execute: setTargetDocument()
24: com.sun.star.lang.DisposedException: java.io.EOFException
24: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:158)
24: LOG> setTargetDocument(): java.io.EOFException.FAILED
24: ***** State for
xmloff.Draw.XMLMetaImporter::com::sun::star::document::XImporter ******
24:
[xmloff.Draw.XMLMetaImporter::com::sun::star::document::XImporter::setTargetDocument()]
is testcode: [setTargetDocument()] - java.io.EOFException.FAILED
24: 
24: Whole interface: PASSED.FAILED
24:
***************************************************************************************
24: LOG>     disposing document 
24: couldn't cleanup:com.sun.star.lang.DisposedException: java_remote_bridge
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@76ab2f is disposed
24: ***** State for xmloff.Draw.XMLMetaImporter ******
24: [xmloff.Draw.XMLMetaImporter::com::sun::star::document::XImporter] is
testcode: [ifc.document._XImporter] - PASSED.FAILED
24: 
24: Whole component: PASSED.FAILED
24: **************************************************
24: Creating: xmloff.Draw.XMLSettingsExporter
24: LOG> Log started 27.03.2010 - 11:57:14
24: LOG> creating a drawdocument
24: EE
24: Time: 99,313
24: There were 2 failures:
24: 1) test(org.openoffice.xmloff.qa.unoapi.Test)
24: com.sun.star.lang.DisposedException: java_remote_bridge
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@76ab2f is disposed
24: 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:702)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:621)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
24: 	at $Proxy9.loadComponentFromURL(Unknown Source)
24: 	at util.SOfficeFactory.openDoc(SOfficeFactory.java:594)
24: 	at util.SOfficeFactory.createDrawDoc(SOfficeFactory.java:171)
24: 	at mod._xmloff.Draw.XMLSettingsExporter.initialize(XMLSettingsExporter.java:87)
24: 	at lib.TestCase.initializeTestCase(TestCase.java:79)
24: 	at base.java_fat.executeTest(java_fat.java:179)
24: 	at org.openoffice.Runner.run(Runner.java:239)
24: 	at org.openoffice.xmloff.qa.unoapi.Test.test(Test.java:44)
24: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
24: 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
24: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
24: 	at java.lang.reflect.Method.invoke(Method.java:585)
24: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
24: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
24: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
24: 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
24: 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
24: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
24: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
24: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
24: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
24: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
24: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
24: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
24: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
24: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
24: 	at org.junit.runners.Suite.runChild(Suite.java:128)
24: 	at org.junit.runners.Suite.runChild(Suite.java:24)
24: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
24: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
24: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
24: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
24: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
24: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
24: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
24: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
24: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
24: 2) test(org.openoffice.xmloff.qa.unoapi.Test)
24: com.sun.star.lang.DisposedException: java_remote_bridge
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@76ab2f is disposed
24: 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:702)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:621)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
24: 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
24: 	at $Proxy7.createInstance(Unknown Source)
24: 	at org.openoffice.test.OfficeConnection.tearDown(OfficeConnection.java:96)
24: 	at org.openoffice.xmloff.qa.unoapi.Test.tearDown(Test.java:40)
24: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
24: 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
24: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
24: 	at java.lang.reflect.Method.invoke(Method.java:585)
24: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
24: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
24: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
24: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
24: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
24: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
24: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
24: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
24: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
24: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
24: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
24: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
24: 	at org.junit.runners.Suite.runChild(Suite.java:128)
24: 	at org.junit.runners.Suite.runChild(Suite.java:24)
24: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
24: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
24: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
24: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
24: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
24: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
24: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
24: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
24: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
24: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
24: 
24: FAILURES!!!
24: Tests run: 1,  Failures: 2
24: 
24: dmake:  Error code 1, while making 'javatest'
Comment 1 Stephan Bergmann 2010-04-27 16:09:29 UTC
worked around for now by disabling the affected tests in
xmloff/qa/unoapi/xmloff.sce, see
<http://hg.services.openoffice.org/cws/sb120/rev/cd27e1d51932>; please revert
when fixing this issue
Comment 2 Rob Weir 2013-03-11 15:00:42 UTC
I'm adding this comment to all open issues with Issue Type == PATCH.  We have 220 such issues, many of them quite old.  I apologize for that.  

We need your help in prioritizing which patches should be integrated into our next release, Apache OpenOffice 4.0.

If you have submitted a patch and think it is applicable for AOO 4.0, please respond with a comment to let us know.

On the other hand, if the patch is no longer relevant, please let us know that as well.

If you have any general questions or want to discuss this further, please send a note to our dev mailing list:  dev@openoffice.apache.org

Thanks!

-Rob
Comment 3 Marcus 2017-05-20 11:27:41 UTC
Reset assigne to the default "issues@openoffice.apache.org".