Issue 111186 - sw/qa/unoapi sw.PageStyle::com::sun::star::beans::XPropertySet::setPropertyValue() failure
Summary: sw/qa/unoapi sw.PageStyle::com::sun::star::beans::XPropertySet::setPropertyVa...
Status: REOPENED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: DEV300m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 11:24 UTC by Stephan Bergmann
Modified: 2020-11-11 17:09 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
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 11:24:12 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing sw/qa/unoapi at least under unxsoli4 non-pro once failed at

21: checking: [sw.PageStyle::com::sun::star::beans::XPropertySet] is iface:
[com.sun.star.beans.XPropertySet] testcode: [ifc.beans._XPropertySet]
21: LOG> Execute: getPropertySetInfo()
21: Method getPropertySetInfo() finished with state OK
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Property 'HeaderText' is READONLY
21: LOG> Getting: Any[Type[unsigned short], 20]
21: LOG> Setting to :21
21: LOG> Getting: com.sun.star.table.BorderLine@992bae
21: LOG> Setting to :com.sun.star.table.BorderLine@992bae
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Getting: 25
21: LOG> Setting to :26
21: LOG> Getting: 21590
21: LOG> Setting to :21595
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'FooterRightMargin' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'FooterRightMargin'
21: LOG> Getting: com.sun.star.table.ShadowFormat@81b1fb
21: LOG> Setting to :com.sun.star.table.ShadowFormat@cbdb20
21: LOG> Property 'DisplayName' is READONLY
21: LOG> Getting: com.sun.star.table.BorderLine@19f3736
21: LOG> Setting to :com.sun.star.table.BorderLine@19f3736
21: LOG> Getting: com.sun.star.style.GraphicLocation@1e1dadb
21: LOG> Setting to :com.sun.star.style.GraphicLocation@e79839
21: LOG> Getting: 5
21: LOG> Setting to :10
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderRightMargin' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderRightMargin'
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderHeight' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderHeight'
21: LOG> Getting: 101
21: LOG> Setting to :106
21: LOG> Getting: Envelope
21: LOG> Setting to :EnvelopeNew
21: Error: StyleSheet-Follow nicht gefunden
21: LOG> Getting: 2540
21: LOG> Setting to :2545
21: LOG> Getting: 5
21: LOG> Setting to :10
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderIsShared' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderIsShared'
21: LOG> Getting: 706
21: LOG> Setting to :711
21: LOG> Property 'FooterTextRight' is READONLY
21: LOG> Getting: 27940
21: LOG> Setting to :27945
21: LOG> Getting: [From printer settings]
21: LOG> Setting to :[From printer settings]New
21: LOG> 'PrinterPaperTray' throws exception
'com.sun.star.lang.IllegalArgumentException: '
21: com.sun.star.lang.IllegalArgumentException: 
21: LOG> 	at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
21: LOG> 	at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
21: LOG> 	at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
21: LOG> 	at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
21: LOG> 	at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
21: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
21: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
21: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
21: LOG> 	at $Proxy24.setPropertyValue(Unknown Source)
21: LOG> 	at ifc.beans._XPropertySet.isChangeable(_XPropertySet.java:587)
21: LOG> 	at ifc.beans._XPropertySet.getPropsToTest(_XPropertySet.java:522)
21: LOG> 	at ifc.beans._XPropertySet._getPropertySetInfo(_XPropertySet.java:141)
21: LOG> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21: LOG> 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21: LOG> 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21: LOG> 	at java.lang.reflect.Method.invoke(Method.java:585)
21: LOG> 	at lib.MultiMethodTest.invokeTestMethod(MultiMethodTest.java:406)
21: LOG> 	at lib.MultiMethodTest.callMethod(MultiMethodTest.java:384)
21: LOG> 	at lib.MultiMethodTest.executeMethod(MultiMethodTest.java:372)
21: LOG> 	at lib.MultiMethodTest.run(MultiMethodTest.java:236)
21: LOG> 	at base.java_fat.executeInterfaceTest(java_fat.java:573)
21: LOG> 	at base.java_fat.executeTest(java_fat.java:237)
21: LOG> 	at org.openoffice.Runner.run(Runner.java:239)
21: LOG> 	at org.openoffice.sw.qa.unoapi.Test.test(Test.java:44)
21: LOG> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21: LOG> 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21: LOG> 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21: LOG> 	at java.lang.reflect.Method.invoke(Method.java:585)
21: LOG> 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
21: LOG> 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
21: LOG> 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
21: LOG> 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
21: LOG> 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
21: LOG> 	at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
21: LOG> 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
21: LOG> 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
21: LOG> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
21: LOG> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
21: LOG> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
21: LOG> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
21: LOG> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
21: LOG> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
21: LOG> 	at org.junit.runners.Suite.runChild(Suite.java:128)
21: LOG> 	at org.junit.runners.Suite.runChild(Suite.java:24)
21: LOG> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
21: LOG> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
21: LOG> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
21: LOG> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
21: LOG> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
21: LOG> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
21: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
21: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
21: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
21: LOG> 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
21: LOG> 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
21: LOG> 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderBackGraphicFilter' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderBackGraphicFilter'
21: LOG> Getting: 
21: LOG> Setting to :New
21: LOG> Getting: Any[Type[unsigned long], 12632256]
21: LOG> Setting to :12632261
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderLeftBorderDistance' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderLeftBorderDistance'
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderRightBorder' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderRightBorder'
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderBottomBorder' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderBottomBorder'
21: LOG> Getting: 4
21: LOG> Setting to :5
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderBackColor' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderBackColor'
21: LOG> Gradical
[...]
21: LOG> Property 'HeaderIsDynamicHeight' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderIsDynamicHeight'
21: LOG> Getting: com.sun.star.style.GraphicLocation@1e1dadb
21: LOG> Setting to :com.sun.star.style.GraphicLocation@e79839
21: LOG> Getting: Any[Type[void], null]
21: LOG> Property 'HeaderShadowFormat' is void but MAYBEVOID isn't set
21: LOG> Couldn't change Property 'HeaderShadowFormat'
21: LOG> Getting: 0
21: LOG> Setting to :1
21: LOG> Getting: com.sun.star.table.BorderLine@8ceeea
21: LOG> Setting to :com.sun.star.table.BorderLine@8ceeea
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: Any[Type[com.sun.star.text.XTextColumns],
[Proxy:10050169,ef5dcbb4;sunpro5[0];78eaeac6e74327b5c7a0e0593a67da,Type[com.sun.star.text.XTextColumns]]]
21: LOG> Setting to
:[Proxy:10050169,ef5dcbb4;sunpro5[0];78eaeac6e74327b5c7a0e0593a67da,Type[com.sun.star.text.XTextColumns]]
21: LOG> Getting: -1
21: LOG> Setting to :4
21: LOG> Getting: com.sun.star.table.ShadowFormat@1cffeb4
21: LOG> Setting to :com.sun.star.table.ShadowFormat@5b0668
21: LOG> Property 'IsPhysical' is READONLY
21: LOG> Getting: 353
21: LOG> Setting to :358
21: LOG> Getting: 0
21: LOG> Setting to :1
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: 3175
21: LOG> Setting to :3180
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: -1
21: LOG> Setting to :4
21: LOG> Getting: 
21: LOG> Setting to :New
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: com.sun.star.table.BorderLine@1d5a0
21: LOG> Setting to :com.sun.star.table.BorderLine@1d5a0
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: 101
21: LOG> Setting to :106
21: LOG> Getting: 
21: LOG> Setting to :New
21: LOG> Getting: com.sun.star.style.GraphicLocation@1e1dadb
21: LOG> Setting to :com.sun.star.style.GraphicLocation@e79839
21: LOG> Property 'HeaderTextLeft' is READONLY
21: LOG> Getting: 0
21: LOG> Setting to :1
21: LOG> Property 'FooterText' is READONLY
21: LOG> Getting: 5
21: LOG> Setting to :10
21: LOG> Getting: 499
21: LOG> Setting to :504
21: LOG> Getting: 706
21: LOG> Setting to :711
21: LOG> Property 'FooterTextLeft' is READONLY
21: LOG> Getting: com.sun.star.table.BorderLine@701a27
21: LOG> Setting to :com.sun.star.table.BorderLine@701a27
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Property 'HeaderTextRight' is READONLY
21: LOG> Getting: com.sun.star.table.BorderLine@1c50507
21: LOG> Setting to :com.sun.star.table.BorderLine@1c50507
21: LOG> Getting: true
21: LOG> Setting to :false
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: 2540
21: LOG> Setting to :2545
21: LOG> Getting: com.sun.star.awt.Size@3cc262
21: LOG> Setting to :com.sun.star.awt.Size@fdb00d
21: LOG> Getting: com.sun.star.table.BorderLine@131303f
21: LOG> Setting to :com.sun.star.table.BorderLine@131303f
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: 3175
21: LOG> Setting to :3180
21: LOG> Getting: 18
21: LOG> Setting to :19
21: LOG> Getting: com.sun.star.table.BorderLine@56860b
21: LOG> Setting to :com.sun.star.table.BorderLine@56860b
21: LOG> Getting: com.sun.star.table.BorderLine@7a5a19
21: LOG> Setting to :com.sun.star.table.BorderLine@7a5a19
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Getting: false
21: LOG> Setting to :true
21: LOG> Getting: com.sun.star.table.BorderLine@b122a1
21: LOG> Setting to :com.sun.star.table.BorderLine@b122a1
21: LOG> Getting: com.sun.star.style.PageStyleLayout@1589e56
21: LOG> Setting to :com.sun.star.style.PageStyleLayout@1dc423f
21: LOG> Getting: 5
21: LOG> Setting to :10
21: LOG> Getting: 0
21: LOG> Setting to :5
21: LOG> Bound: none
21: LOG> Constrained: none
21: LOG> getPropertySetInfo(): PASSED.OK
21: 
21: LOG> Execute: setPropertyValue()
21: LOG> starting required method: getPropertySetInfo()
21: LOG> try to cheange value of property 'FootnoteLineWeight'
21: Method setPropertyValue() finished with state FAILED
21: LOG> setPropertyValue(): PASSED.FAILED
21: 
21: LOG> Execute: getPropertyValue()
21: LOG> starting required method: getPropertySetInfo()
21: Method getPropertyValue() finished with state OK
21: LOG> getPropertyValue(): PASSED.OK
21: 
21: LOG> Execute: addPropertyChangeListener()
21: LOG> starting required method: getPropertySetInfo()
21: LOG> *** No bound properties found ***
21: Method addPropertyChangeListener() finished with state OK
21: LOG> addPropertyChangeListener(): PASSED.OK
21: 
21: LOG> Execute: removePropertyChangeListener()
21: LOG> starting required method: addPropertyChangeListener()
21: LOG> *** No bound properties found ***
21: Method removePropertyChangeListener() finished with state OK
21: LOG> removePropertyChangeListener(): PASSED.OK
21: 
21: LOG> Execute: addVetoableChangeListener()
21: LOG> starting required method: getPropertySetInfo()
21: LOG> *** No constrained properties foued()
[...]
21: Method addVetoableChangeListener() finished with state OK
21: LOG> addVetoableChangeListener(): PASSED.OK
21: 
21: LOG> Execute: removeVetoableChangeListener()
21: LOG> starting required method: addVetoableChangeListener()
21: LOG> *** No constrained properties found ***
21: Method removeVetoableChangeListener() finished with state OK
21: LOG> removeVetoableChangeListener(): PASSED.OK
21: LOG>     disposing xTextDoc 
21: ***** State for sw.PageStyle::com::sun::star::beans::XPropertySet ******
21: [sw.PageStyle::com::sun::star::beans::XPropertySet::setPropertyValue()] is
testcode: [setPropertyValue()] - PASSED.FAILED
Comment 1 Stephan Bergmann 2010-04-27 11:28:01 UTC
worked around for now by disabling the affected tests in
sw/qa/unoapi/knownissues.xcl, see
<http://hg.services.openoffice.org/cws/sb120/rev/7a0816764fd8>; please revert
when fixing this issue
Comment 2 Marcus 2017-05-20 11:35:24 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 3 oooforum (fr) 2020-11-11 14:58:21 UTC
These QA tests don't work anymore
Comment 4 damjan 2020-11-11 17:09:23 UTC
(In reply to oooforum (fr) from comment #3)
> These QA tests don't work anymore

Yes they do work. Please stop closing bugs before fully investigating them.