Issue 113306

Summary: sfx2/qa/unoapi sfx.DocumentTemplates failure
Product: General Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m84   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2010-07-21 08:36:16 UTC
At least on DEV300_m84 based CWS sb127 under unxsoli4 non-pro, sfx2/qa/unoapi
once failed at

[...]
19: Creating: sfx.DocumentTemplates
19: LOG> Log started 20.06.2010 - 19:19:32
19:
docpth:/net/so-cwsserv02/export/cws/sb127/DEV300/ooo/sfx2/qa/unoapi/testdocuments
19: Error: caught an exception!
19: in function:(unknown)
19: type: com.sun.star.task.ErrorCodeIOException
19:  From File
/net/so-cwsserv02/export/cws/sb127/DEV300/ooo/sfx2/source/view/frmload.cxx at
Line 441
19: LOG> Implementation Name: com.sun.star.comp.sfx2.DocumentTemplates
19: Exception while getting Environment java.lang.NullPointerException
19: java.lang.NullPointerException
19: 	at java.util.Hashtable.put(Hashtable.java:396)
19: 	at lib.TestEnvironment.addObjRelation(TestEnvironment.java:95)
19: 	at mod._sfx.DocumentTemplates.createTestEnvironment(DocumentTemplates.java:92)
19: 	at lib.TestCase.getTestEnvironment(TestCase.java:132)
19: 	at base.java_fat.getTestEnvironment(java_fat.java:334)
19: 	at base.java_fat.executeTest(java_fat.java:181)
19: 	at org.openoffice.Runner.run(Runner.java:240)
19: 	at org.openoffice.sfx2.qa.unoapi.Test.test(Test.java:44)
19: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19: 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
19: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
19: 	at java.lang.reflect.Method.invoke(Method.java:585)
19: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
19: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
19: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
19: 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
19: 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
19: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
19: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
19: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
19: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
19: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
19: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
19: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
19: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
19: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
19: 	at org.junit.runners.Suite.runChild(Suite.java:128)
19: 	at org.junit.runners.Suite.runChild(Suite.java:24)
19: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
19: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
19: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
19: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
19: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
19: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
19: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
19: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
19: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
19: LOG>     disposing xTextDoc 
19: Exception while creating DocumentTemplates
19: Message null
19: java.lang.NullPointerException
19: 	at mod._sfx.DocumentTemplates.cleanup(DocumentTemplates.java:64)
19: 	at lib.TestCase.getTestEnvironment(TestCase.java:143)
19: 	at base.java_fat.getTestEnvironment(java_fat.java:334)
19: 	at base.java_fat.executeTest(java_fat.java:181)
19: 	at org.openoffice.Runner.run(Runner.java:240)
19: 	at org.openoffice.sfx2.qa.unoapi.Test.test(Test.java:44)
19: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19: 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
19: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
19: 	at java.lang.reflect.Method.invoke(Method.java:585)
19: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
19: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
19: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
19: 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
19: 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
19: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
19: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
19: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
19: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
19: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
19: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
19: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
19: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
19: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
19: 	at org.junit.runners.Suite.runChild(Suite.java:128)
19: 	at org.junit.runners.Suite.runChild(Suite.java:24)
19: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
19: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
19: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
19: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
19: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
19: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
19: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
19: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
19: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
19: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
19: ***** State for sfx.DocumentTemplates ******
19: Whole component: Couldn't create DocumentTemplates
[...]
Comment 1 Stephan Bergmann 2010-09-17 10:50:31 UTC
worked around for now by disabling affected tests as
<http://hg.services.openoffice.org/cws/sb126/rev/909058ca1061>; please revert
when fixing this issue
Comment 2 Martin Hollmichel 2011-03-15 21:02:17 UTC
set target to 3.x since not release relevant for 3.4 release.
Comment 3 Marcus 2017-05-20 10:48:01 UTC
Reset assigne to the default "issues@openoffice.apache.org".