Issue 111197

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

Description Stephan Bergmann 2010-04-27 15:08:04 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing the sw/qa/unoapi tests at least under unxlngi6 non-pro
once failed at

19: Creating: sw.SwAccessibleDocumentPageView
19: LOG> Log started 27.03.2010 - 13:38:06
19: LOG> creating a text document
19: LOG> inserting some lines
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 339
19: ERROR :  "proposed start page not existing - no prepare of preview paint"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 339
19: ERROR :  "proposed start page not existing - no prepare of preview paint"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 1461
19: ERROR :  "PagePreviewLayout not valid"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 1461
19: ERROR :  "PagePreviewLayout not valid"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 1461
19: ERROR :  "PagePreviewLayout not valid"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 1461
19: ERROR :  "PagePreviewLayout not valid"
19: Error: Assertion failed
19: ==================
19: FILE      : 
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/sw/source/core/view/pagepreviewlayout.cxx
at line 1064
19: ERROR :  "invalid preview settings - no paint of preview"
19: LOG> ImplementationName Error getting Implementation name (
java.lang.NullPointerException )
19: Exception while getting Environment Couldn't create a test object
19: java.lang.IllegalArgumentException: Couldn't create a test object
19: 	at lib.TestEnvironment.<init>(TestEnvironment.java:74)
19: 	at
mod._sw.SwAccessibleDocumentPageView.createTestEnvironment(SwAccessibleDocumentPageView.java:142)
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:239)
19: 	at org.openoffice.sw.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: 	athm :alphanumeric
[...]
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> dispose text document
19: Error: Assertion failed
19: ==================
19: FILE      :  ../../../inc/swrect.hxx at line 309
19: ERROR :  "SVRect() without Width or Height"
19: ***** State for sw.SwAccessibleDocumentPageView ******
19: Whole component: Couldn't create SwAccessibleDocumentPageView
19: ******************************************************
19: Error: ASSERT:
19: 	TransactionManager...
19: 	"Owner instance already closed. Call was rejected!"
19:  From File
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/framework/source/threadhelp/transactionmanager.cxx
at Line 396
Comment 1 Stephan Bergmann 2010-04-27 15:17:19 UTC
worked around for now by disabling the affected tests in sw/qa/unoapi/sw.sce,
see <http://hg.services.openoffice.org/cws/sb120/rev/0b5163c704a3>; please
revert when fixing this issue
Comment 2 Marcus 2017-05-20 11:33:47 UTC
Reset assigne to the default "issues@openoffice.apache.org".