Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,

I just had this (I'm certainly not the only one). I'm gonna try to debug but I thought it might interest users who compile with less verbose information.
LOG> Execute: removeResetListener()
LOG> starting required method: reset()
LOG> Testing removeResetListener ...
com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@98ce7e is disposed LOG> at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:703) LOG> at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:624) LOG> at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:150) LOG> at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:132)
LOG>     at $Proxy68.removeResetListener(Unknown Source)
LOG>     at ifc.form._XReset._removeResetListener(_XReset.java:169)
LOG>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
LOG> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) LOG> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
LOG>     at java.lang.reflect.Method.invoke(Method.java:616)
LOG>     at lib.MultiMethodTest.invokeTestMethod(MultiMethodTest.java:406)
LOG>     at lib.MultiMethodTest.callMethod(MultiMethodTest.java:384)
LOG>     at lib.MultiMethodTest.executeMethod(MultiMethodTest.java:372)
LOG>     at lib.MultiMethodTest.run(MultiMethodTest.java:236)
LOG>     at base.java_fat.executeInterfaceTest(java_fat.java:573)
LOG>     at base.java_fat.executeTest(java_fat.java:237)
LOG>     at org.openoffice.Runner.run(Runner.java:240)
LOG>     at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:45)
LOG>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
LOG> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) LOG> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
LOG>     at java.lang.reflect.Method.invoke(Method.java:616)
LOG> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) LOG> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) LOG> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) LOG> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) LOG> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) LOG> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) LOG> at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) LOG> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) LOG> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
LOG>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
LOG>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
LOG> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
LOG>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
LOG>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
LOG>     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
LOG>     at org.junit.runners.Suite.runChild(Suite.java:128)
LOG>     at org.junit.runners.Suite.runChild(Suite.java:24)
LOG>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
LOG>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
LOG> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
LOG>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
LOG>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
LOG>     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
LOG>     at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
LOG>     at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
LOG>     at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
LOG>     at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
LOG>     at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
LOG>     at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
LOG> removeResetListener(): java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@98ce7e is disposed.FAILED
***** State for forms.OEditModel::com::sun::star::form::XReset ******
[forms.OEditModel::com::sun::star::form::XReset::removeResetListener()] is testcode: [removeResetListener()] - java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@98ce7e is disposed.FAILED

Whole interface: PASSED.FAILED
*********************************************************************
LOG> Log started 04.07.2011 - 22:28:19
checking: [forms.OEditModel::com::sun::star::beans::XPropertyContainer] is iface: [com.sun.star.beans.XPropertyContainer] testcode: [ifc.beans._XPropertyContainer]
Creating: forms.OEditModel
LOG> Log started 04.07.2011 - 22:28:19
LOG> creating a textdocument
Office disposed
EE
Time: 177,228
There were 2 failures:
1) test(org.openoffice.test.UnoApiTest)
com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@98ce7e is disposed at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:703) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:624) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:150) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:132)
    at $Proxy8.createInstance(Unknown Source)
    at util.DesktopTools.createDesktop(DesktopTools.java:91)
    at util.DesktopTools.getCLoader(DesktopTools.java:70)
    at util.DesktopTools.openNewDoc(DesktopTools.java:247)
    at util.WriterTools.createTextDoc(WriterTools.java:51)
    at mod._forms.GenericModelTest.initialize(GenericModelTest.java:232)
    at mod._forms.OEditModel.initialize(OEditModel.java:135)
    at lib.TestCase.initializeTestCase(TestCase.java:79)
    at base.java_fat.getEnv(java_fat.java:465)
    at base.java_fat.executeTest(java_fat.java:254)
    at org.openoffice.Runner.run(Runner.java:240)
    at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runners.Suite.runChild(Suite.java:128)
    at org.junit.runners.Suite.runChild(Suite.java:24)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
    at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
    at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
    at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
2) test(org.openoffice.test.UnoApiTest)
com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@98ce7e is disposed at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:703) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:624) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:150) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:132)
    at $Proxy7.getServiceManager(Unknown Source)
at org.openoffice.test.OfficeConnection.tearDown(OfficeConnection.java:123)
    at org.openoffice.test.UnoApiTest.tearDown(UnoApiTest.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runners.Suite.runChild(Suite.java:128)
    at org.junit.runners.Suite.runChild(Suite.java:24)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
    at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
    at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
    at org.junit.runner.JUnitCore.main(JUnitCore.java:45)

FAILURES!!!
Tests run: 1,  Failures: 2

make[1]: *** [/home/maryline/compile-libreoffice/libo/workdir/unxlngi6/JunitTest/forms_unoapi/done] Erreur 1
make: *** [check] Erreur 2

Still with gcc (Debian 4.6.1-4) on x86 32 bits.
autogen.lastrun :
--enable-symbols
--enable-ext-barcode
--enable-ext-diagram
--enable-ext-google-docs
--enable-ext-hunart
--enable-ext-lightproof
--enable-ext-nlpsolver
--enable-ext-ct2n
--enable-ext-numbertext
--enable-ext-oooblogger
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-presenter-minimizer
--enable-ext-report-builder
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-typo
--enable-ext-validator
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-dbus
--enable-graphite
--enable-evolution2
--enable-werror
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-kde4
--enable-dependency-tracking

Julien.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.