'make check' failure

John Smith lbalbalba at gmail.com
Sun Aug 26 12:00:45 PDT 2012


Well,


I commented out 'sc.ScAccessiblePageHeaderArea' from
'sc/qa/unoapi/sc.sce', but then the following error occurs:



Regards,



John Smith.




********************************************************************************************************
LOG> Log started 26.07.2012 - 20:57:32
Creating: sc.ScAccessiblePreviewHeaderCell
LOG> Log started 26.07.2012 - 20:57:32
LOG> creating a Spreadsheet document
LOG> Getting spreadsheet
LOG> Getting a cell from sheet
Exception while getting Environment
com.sun.star.lang.DisposedException:
        at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:162)
        at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:128)
        at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:327)
        at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:296)
        at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:81)
        at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:628)
        at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:141)
        at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:123)
        at $Proxy26.getAccessibleChild(Unknown Source)
        at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:258)
        at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:258)
        at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:258)
        at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:258)
        at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:180)
        at mod._sc.ScAccessiblePreviewHeaderCell.createTestEnvironment(ScAccessiblePreviewHeaderCell.java:251)
        at lib.TestCase.getTestEnvironment(TestCase.java:123)
        at base.java_fat.getEnv(java_fat.java:453)
        at base.java_fat.executeTest(java_fat.java:208)
        at org.openoffice.Runner.run(Runner.java:234)
        at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:38)
        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:601)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        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:30)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        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:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        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)
LOG>     disposing xSheetDoc

No core dump at
/usr/local/src/libreoffice/workdir/unxlngi6.pro/JunitTest/sc_unoapi/user,
to create core dumps (and stack traces)
for crashed soffice instances, enable core dumps with:

   ulimit -c unlimited

E
Time: 112.776
There was 1 failure:
1) test(org.openoffice.test.UnoApiTest)
java.lang.NullPointerException
        at base.java_fat.executeTest(java_fat.java:209)
        at org.openoffice.Runner.run(Runner.java:234)
        at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:38)
        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:601)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        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:30)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        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:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        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: 1

to rerun just this failed test without all others, run:

    make /usr/local/src/libreoffice/workdir/unxlngi6.pro/JunitTest/sc_unoapi/done

cd into the module dir to run the tests faster
Or to do interactive debugging, run two shells with (Linux only):

    make debugrun
    make gb_JunitTest_DEBUGRUN=T
/usr/local/src/libreoffice/workdir/unxlngi6.pro/JunitTest/sc_unoapi/done

make[2]: *** [/usr/local/src/libreoffice/workdir/unxlngi6.pro/JunitTest/sc_unoapi/done]
Error 1
make[2]: *** Waiting for unfinished jobs....


More information about the LibreOffice mailing list