To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=72429
User bc changed the following: What |Old value |New value ================================================================================ Assigned to|bc |fs -------------------------------------------------------------------------------- Status|STARTED |NEW -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Tue Dec 12 02:05:05 -0800 2006 ------- bc: error was due to a NullPointerException that was thrown when the control was queried with "getControl()". I tried to reproduce the bug with the following Basic Code that describes how it occured: Sub Main oShape = ThisComponent.createInstance("com.sun.star.drawing.ControlShape") oController = ThisComponent.getCurrentController oControlModel = ThisComponent.createInstance("com.sun.star.form.component.FixedText") oShape.setControl(oControlModel) ThisComponent.getDrawpage.add(oShape) oControl = oController.getControl(oControlModel) msgbox "Control is Empty: " & IsEmpty(oControl) End Sub However the Basic Script did not fail ("oControl" is not empty). According to fs there is a timing problem that is not bound to occur in Basic. bc->fs: As we discussed: to You --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]