Apache OpenOffice (AOO) Bugzilla – Issue 111190
sw/qa/unoapi sw.SwXShape failure
Last modified: 2017-05-20 11:33:40 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 19: Creating: sw.SwXShape 19: LOG> Log started 27.03.2010 - 12:43:28 19: LOG> creating a textdocument 19: LOG> creating a test environment 19: LOG> getting Drawpage 19: LOG> getting Shape 19: LOG> creating a new environment for XShape object 19: Environment created 19: LOG> Log started 27.03.2010 - 12:43:28 19: checking: [sw.SwXShape::com::sun::star::drawing::Shape] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.drawing._Shape] 19: LOG> Execute: ZOrder 19: LOG> try to set: 19: LOG> old = 0 19: LOG> new = 1 19: LOG> Property 'ZOrder' OK 19: LOG> result = 1 19: Method ZOrder finished with state OK 19: LOG> ZOrder: PASSED.OK 19: 19: LOG> Execute: LayerID 19: LOG> Testing with custom Property tester 19: LOG> try to set: 19: LOG> old = 0 19: LOG> new = 1 19: LOG> Property 'LayerID' OK 19: LOG> result = 1 19: Method LayerID finished with state OK 19: LOG> LayerID: PASSED.OK 19: 19: LOG> Execute: LayerName 19: LOG> There is only one Layer for SwXShape 19: LOG> Therefore this property can't be changed 19: Method LayerName finished with state OK 19: LOG> LayerName: PASSED.OK 19: 19: LOG> Execute: Printable 19: LOG> try to set: 19: LOG> old = true 19: LOG> new = false 19: LOG> Property 'Printable' OK 19: LOG> result = false 19: Method Printable finished with state OK 19: LOG> Printable: PASSED.OK 19: 19: LOG> Execute: MoveProtect 19: LOG> try to set: 19: LOG> old = false 19: LOG> new = true 19: LOG> Property 'MoveProtect' OK 19: LOG> result = true 19: Method MoveProtect finished with state OK 19: LOG> MoveProtect: PASSED.OK 19: 19: LOG> Execute: Name 19: LOG> try to set: 19: LOG> old = 19: LOG> new = New 19: LOG> Property 'Name' OK 19: LOG> result = New 19: Method Name finished with state OK 19: LOG> Name: PASSED.OK 19: 19: LOG> Execute: SizeProtect 19: LOG> try to set: 19: LOG> old = false 19: LOG> new = true 19: LOG> Property 'SizeProtect' OK 19: LOG> result = true 19: Method SizeProtect finished with state OK 19: LOG> SizeProtect: PASSED.OK 19: 19: LOG> Execute: Style 19: LOG> Testing with custom Property tester 19: LOG> Property 'Style' is optional and not supported 19: Method Style finished with state OK 19: LOG> Style: PASSED.OK 19: 19: LOG> Execute: Transformation 19: LOG> try to set: 19: LOG> old = com.sun.star.drawing.HomogenMatrix3@12412e7 19: LOG> new = com.sun.star.drawing.HomogenMatrix3@1552b76 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: LOG> Value for 'Transformation' hasn't changed as expected 19: LOG> result = com.sun.star.drawing.HomogenMatrix3@988707 19: LOG> But it has changed. 19: Method Transformation finished with state OK 19: LOG> Transformation: PASSED.OK 19: 19: LOG> Execute: ShapeUserDefinedAttributes 19: LOG> Property 'ShapeUserDefinedAttributes' is optional and not supported 19: Method ShapeUserDefinedAttributes finished with state OK 19: LOG> ShapeUserDefinedAttributes: PASSED.OK 19: ***** State for sw.SwXShape::com::sun::star::drawing::Shape ****** 19: Whole service: PASSED.OK 19: ****************************************************************** 19: LOG> Log started 27.03.2010 - 12:43:28 19: checking: [sw.SwXShape::com::sun::star::drawing::XShapeDescriptor] is iface: [com.sun.star.drawing.XShapeDescriptor] testcode: [ifc.drawing._XShapeDescriptor] 19: LOG> Execute: getShapeType() 19: LOG> Current Shape Type is com.sun.star.drawing.RectangleShape 19: LOG> Supported services : 19: LOG> com.sun.star.drawing.RectangleShape 19: LOG> com.sun.star.drawing.Shape 19: LOG> com.sun.star.drawing.FillProperties 19: LOG> com.sun.star.drawing.LineProperties 19: LOG> com.sun.star.drawing.Text 19: LOG> com.sun.star.drawing.TextProperties 19: LOG> com.sun.star.style.ParagraphProperties 19: LOG> com.sun.star.style.ParagraphPropertiesComplex 19: LOG> com.sun.star.style.ParagraphPropertiesAsian 19: LOG> com.sun.star.style.CharacterProperties 19: LOG> com.sun.star.style.CharacterPropertiesComplex 19: LOG> com.sun.star.style.CharacterPropertiesAsian 19: LOG> com.sun.star.drawing.ShadowProperties 19: LOG> com.sun.star.drawing.RotationDescriptor 19: Method getShapeType() finished with state OK 19: LOG> getShapeType(): PASSED.OK 19: ***** State for sw.SwXShape::com::sun::star::drawing::XShapeDescriptor ****** 19: Whole interface: PASSED.OK 19: ***************************************************************************** 19: LOG> Log started 27.03.2010 - 12:43:28 19: checking: [sw.SwXShape::com::sun::star::drawing::XGluePointsSupplier] is iface: [com.sun.star.drawing.XGluePointsSupplier] testcode: [ifc.drawing._XGluePointsSupplier] 19: LOG> Execute: getGluePoints() 19: LOG> testing getDrawPages() ... 19: Method getGluePoints() finished with state OK 19: LOG> getGluePoints(): PASSED.OK 19: ***** State for sw.SwXShape::com::sun::star::drawing::XGluePointsSupplier ****** 19: Whole interface: PASSED.OK 19: ******************************************************************************** 19: LOG> Log started 27.03.2010 - 12:43:28 19: checking: [sw.SwXShape::com::sun::star::beans::XPropertySet] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.beans._XPropertySet] 19: LOG> Execute: getPropertySetInfo() 19: Method getPropertySetInfo() finished with state OK 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Property 'IsFontwork' is READONLY 19: LOG> Getting: [Lcom.sun.star.style.TabStop;@27982 19: LOG> Setting to :[Lcom.sun.star.style.TabStop;@27982 19: LOG> Property 'LinkDisplayName' is READONLY 19: LOG> Getting: 6 19: LOG> Setting to :7 19: LOG> Getting: 12.0 19: LOG> Setting to :28.7 19: LOG> Getting: com.sun.star.drawing.TextFitToSizeType@da90c 19: LOG> Setting to :com.sun.star.drawing.TextFitToSizeType@d58939 19: LOG> Getting: 76 19: LOG> Setting to :77 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: 0 19: LOG> Setting to :5 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: LOG> Getting: 19: LOG> Setting to :New 19: LOG> Property 'BoundRect' is READONLY 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: 2 19: LOG> Setting to :3 19: Error: Assertion failed 19: ================== 19: FILE : /export/home/sb93797/sb120/DEV300/ooo/sw/source/core/layout/atrfrm.cxx at line 3181 19: ERROR : "<SwDrawFrmFmt::SetPositionLayoutDir(..)> - invalid attribute value." 19: LOG> Getting: com.sun.star.lang.Locale@124111a 19: LOG> Setting to :com.sun.star.lang.Locale@dec8b3 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: 2 19: LOG> Setting to :3 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> skipping 'CharRelief' 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 300 19: LOG> Setting to :305 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: com.sun.star.drawing.TextVerticalAdjust@4a7df6 19: LOG> Setting to :com.sun.star.drawing.TextVerticalAdjust@20f443 19: LOG> Getting: com.sun.star.lang.Locale@18488ef 19: LOG> Setting to :com.sun.star.lang.Locale@3a1834 19: LOG> Getting: 300 19: LOG> Setting to :305 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: New 19: LOG> Setting to :NewNew 19: LOG> Getting: com.sun.star.drawing.TextAnimationDirection@b1cd0 19: LOG> Setting to :com.sun.star.drawing.TextAnimationDirection@190a0d6 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 2 19: LOG> Setting to :3 19: LOG> Getting: 100.0 19: LOG> Setting to :116.7 19: LOG> Getting: com.sun.star.awt.FontSlant@3ef810 19: LOG> Setting to :com.sun.star.awt.FontSlant@2f729e 19: LOG> Getting: 2 19: LOG> Setting to :3 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: -1 19: LOG> Setting to :4 19: LOG> Getting: 3 19: LOG> Setting to :4 19: LOG> Getting: Any[Type[com.sun.star.container.XNameContainer], [Proxy:17689439,ef009f34;sunpro5[0];655b63dcc34d456380735eb6ddc42c2b,Type[com.sun.star.container.XNameContainer]]] 19: ValueChanger don't know type class $Proxy20 19: LOG> Couldn't change Property 'ParaUserDefinedAttributes' 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 19: LOG> Setting to :New 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Property 'LinkDisplayBitmap' is READONLY 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Property 'MetaFile' is READONLY 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: Times New Roman 19: LOG> Setting to :Times New RomanNew 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 76 19: LOG> Setting to :77 19: LOG> Getting: 100.0 19: LOG> Setting to :116.7 19: LOG> Property 'Bitmap' is READONLY 19: LOG> Getting: -1 19: LOG> Setting to :4 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 12.0 19: LOG> Setting to :28.7 19: LOG> Getting: 2 19: LOG> Setting to :3 19: LOG> Getting: com.sun.star.awt.Rectangle@d7b7d9 19: LOG> Setting to :com.sun.star.awt.Rectangle@671f95 19: LOG> Property 'UINamePlural' is READONLY 19: LOG> Getting: Any[Type[com.sun.star.text.XTextRange], [Proxy:4889213,ef008dd0;sunpro5[0];655b63dcc34d456380735eb6ddc42c2b,Type[com.sun.star.text.XTextRange]]] 19: ValueChanger don't know type class $Proxy52 19: LOG> Couldn't change Property 'TextRange' 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Property 'AnchorPosition' is READONLY 19: LOG> Getting: com.sun.star.drawing.TextHorizontalAdjust@1e4a47e 19: LOG> Setting to :com.sun.star.drawing.TextHorizontalAdjust@1eb5666 19: LOG> Property 'EndPositionInHor [...] 19: LOG> Property 'TransformationInHoriL2R' is READONLY 19: LOG> Getting: LucidaSans 19: LOG> Setting to :LucidaSansNew 19: LOG> Getting: [I@1754699 19: LOG> Setting to :[I@6e1dec 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: com.sun.star.style.LineSpacing@68cb6b 19: LOG> Setting to :com.sun.star.style.LineSpacing@2e323 19: LOG> Getting: Any[Type[com.sun.star.container.XNameContainer], [Proxy:26100519,eeff8480;sunpro5[0];655b63dcc34d456380735eb6ddc42c2b,Type[com.sun.star.container.XNameContainer]]] 19: ValueChanger don't know type class $Proxy20 19: LOG> Couldn't change Property 'UserDefinedAttributes' 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: com.sun.star.lang.Locale@dada24 19: LOG> Setting to :com.sun.star.lang.Locale@2798e7 19: LOG> Getting: com.sun.star.awt.FontSlant@3ef810 19: LOG> Setting to :com.sun.star.awt.FontSlant@2f729e 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: com.sun.star.text.WrapTextMode@1ce669e 19: LOG> Setting to :com.sun.star.text.WrapTextMode@1a78071 19: LOG> Getting: 76 19: LOG> Setting to :77 19: LOG> Getting: 100 19: LOG> Setting to :101 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 6 19: LOG> Setting to :7 19: LOG> Getting: 100.0 19: LOG> Setting to :116.7 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: com.sun.star.awt.FontSlant@3ef810 19: LOG> Setting to :com.sun.star.awt.FontSlant@2f729e 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Property 'StartPositionInHoriL2R' is READONLY 19: LOG> Getting: Any[Type[com.sun.star.container.XIndexReplace], [Proxy:31556811,eeff37b8;sunpro5[0];655b63dcc34d456380735eb6ddc42c2b,Type[com.sun.star.container.XIndexReplace]]] 19: ValueChanger don't know type class $Proxy63 19: LOG> Couldn't change Property 'NumberingRules' 19: LOG> Getting: 16777215 19: LOG> Setting to :16777220 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Property 'UINameSingular' is READONLY 19: LOG> Getting: 1 19: LOG> Setting to :2 19: LOG> Getting: 12.0 19: LOG> Setting to :28.7 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: 19: LOG> Setting to :New 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: com.sun.star.drawing.TextAnimationKind@d55986 19: LOG> Setting to :com.sun.star.drawing.TextAnimationKind@e8a021 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: 100 19: LOG> Setting to :101 19: LOG> Getting: com.sun.star.drawing.HomogenMatrix3@691177 19: LOG> Setting to :com.sun.star.drawing.HomogenMatrix3@1f99eea 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 0 19: LOG> Setting to :1 19: LOG> Getting: 19: LOG> Setting to :New 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 0 19: LOG> Setting to :5 19: Error: Assertion failed 19: ================== 19: FILE : /export/home/sb93797/sb120/DEV300/ooo/sw/source/core/layout/anchoredobject.cxx at line 694 19: ERROR : "<SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Please inform OD." 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion fa: LOG> Algorythm :alphanumeric [...] 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: Error: Assertion failed 19: ================== 19: FILE : ../../../inc/swrect.hxx at line 309 19: ERROR : "SVRect() without Width or Height" 19: LOG> Getting: 0 19: LOG> Setting to :5 19: LOG> Getting: 1 19: LOG> Setting to :6 19: LOG> Getting: FZSongTi 19: LOG> Setting to :FZSongTiNew 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: 19: LOG> Setting to :New 19: LOG> Getting: 3 19: LOG> Setting to :4 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Getting: true 19: LOG> Setting to :false 19: LOG> Getting: false 19: LOG> Setting to :true 19: LOG> Bound: none 19: LOG> Constrained: none 19: LOG> getPropertySetInfo(): PASSED.OK 19: 19: LOG> Execute: setPropertyValue() 19: LOG> starting required method: getPropertySetInfo() 19: LOG> try to cheange value of property 'ZOrder' 19: Error: assertion failed! From File /export/home/sb93797/sb120/DEV300/ooo/svx/source/svdraw/svdpage.cxx at Line 633 19: Error: GetOrdNum() failed! From File /export/home/sb93797/sb120/DEV300/ooo/svx/source/unodraw/unoshape.cxx at Line 2436 19: Method setPropertyValue() finished with state FAILED 19: LOG> setPropertyValue(): PASSED.FAILED 19: 19: LOG> Execute: getPropertyValue() 19: LOG> starting required method: getPropertySetInfo() 19: Method getPropertyValue() finished with state OK 19: LOG> getPropertyValue(): PASSED.OK 19: 19: LOG> Execute: addPropertyChangeListener() 19: LOG> starting required method: getPropertySetInfo() 19: LOG> *** No bound properties found *** 19: Method addPropertyChangeListener() finished with state OK 19: LOG> addPropertyChangeListener(): PASSED.OK 19: 19: LOG> Execute: removePropertyChangeListener() 19: LOG> starting required method: addPropertyChangeListener() 19: LOG> *** No bound properties found *** 19: Method removePropertyChangeListener() finished with state OK 19: LOG> removePropertyChangeListener(): PASSED.OK 19: 19: LOG> Execute: addVetoableChangeListener() 19: LOG> starting required method: getPropertySetInfo() 19: LOG> *** No constrained properties found *** 19: Method addVetoableChangeListener() finished with state OK 19: LOG> addVetoableChangeListener(): PASSED.OK 19: 19: LOG> Execute: removeVetoableChangeListener() 19: LOG> starting required method: addVetoableChangeListener() 19: LOG> *** No constrained properties found *** 19: Method removeVetoableChangeListener() finished with state OK 19: LOG> removeVetoableChangeListener(): PASSED.OK 19: LOG> disposing xTextDoc 19: ***** State for sw.SwXShape::com::sun::star::beans::XPropertySet ****** 19: [sw.SwXShape::com::sun::star::beans::XPropertySet::setPropertyValue()] is testcode: [setPropertyValue()] - PASSED.FAILED 19: 19: Whole interface: PASSED.FAILED 19: ***********************************************************************
worked around for now by disabling the affected tests in sw/qa/unoapi/sw.sce, see <http://hg.services.openoffice.org/cws/sb120/rev/1c22cd369a9a>; please revert when fixing this issue
Reset assigne to the default "issues@openoffice.apache.org".