[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-12-15 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from arie...@openoffice.org Wed Dec 15 14:33:52 
+ 2010 ---
arielch->mattraffic: sorry, I know nothing about C#. But OOo API is basically
the same in all the language bindings it supports. It should be easy for you to
translate the Java example to C#.
Also you could attach your code to this issue, so that someone in the know of C#
stuff can take a closer look.

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-12-15 Thread mattraffic
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from mattraf...@openoffice.org Wed Dec 15 14:28:12 
+ 2010 ---
OK, it seems your sample is working... 
We should have mentioned in the first place that we are doing all this using the
C# API. Sorry for the misunderstanding. Maybe you can have another look?

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-12-01 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from arie...@openoffice.org Wed Dec  1 18:51:02 
+ 2010 ---
arielch->mattraffic: please 
http://www.openoffice.org/nonav/issues/showattachment.cgi/75209/TableSample.zip

Using pure API calls, it works with a 3000 row text table, in less than one 
minute 
when the document is HIDDEN. When the document is visible, it takes longer, but 
it 
does not crash.

Using the Dispatch API here is a no-go.

arielch->os: I think this can be closed as invalid. 


-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-12-01 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from arie...@openoffice.org Wed Dec  1 18:44:52 
+ 2010 ---
Created an attachment (id=75209)
NetBeans project showing how it works


-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-12-01 Thread mattraffic
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from mattraf...@openoffice.org Wed Dec  1 15:34:42 
+ 2010 ---
arielch: Yes, we tried using only the API before, but had the same problem. 
This 
code will crash OO Writer as well:

 for (int i = 2; i < 3000; i++)
 {
 {
 String sCellName = "A" + (i - 1);
 XText cellText = (XText)xTextTable.getCellByName(sCellName);
 cellText.setString("value" + i);
 }
 {
 String sCellName = "B" + (i - 1);
 XText cellText = (XText)xTextTable.getCellByName(sCellName);
 cellText.setString("value" + i);
 }
 {
 String sCellName = "C" + (i - 1);
 XText cellText = (XText)xTextTable.getCellByName(sCellName);
 cellText.setString("value" + i);
 }
 {
 String sCellName = "D" + (i - 1);
 XText cellText = (XText)xTextTable.getCellByName(sCellName);
 cellText.setString("value" + i);
 }
 if (i % 100 == 0)
 {
 Console.WriteLine("Row: " + i);
 }
 }


-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745





--- Additional comments from arie...@openoffice.org Wed Nov 24 06:30:04 
+ 2010 ---
mattraffic: why do you use the dispatch? did you try using only API calls?
I think this is more for d...@api.openoffice.org than for an issue.

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745


User arielch changed the following:

What|Old value |New value

  CC|''|'arielch'





--- Additional comments from arie...@openoffice.org Wed Nov 24 06:26:35 
+ 2010 ---
.

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread nn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745


User nn changed the following:

What|Old value |New value

 Assigned to|nn|os





--- Additional comments from n...@openoffice.org Tue Nov 23 17:35:49 + 
2010 ---
It's about Writer tables, not Calc.

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745


User jsc changed the following:

What|Old value |New value

Priority|P1|P3





--- Additional comments from j...@openoffice.org Tue Nov 23 17:13:52 + 
2010 ---
change prio to P3

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745


User jsc changed the following:

What|Old value |New value

 Assigned to|jsc   |nn





--- Additional comments from j...@openoffice.org Tue Nov 23 17:13:30 + 
2010 ---
jsc -> nn: seems to be one for calc

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 115745] OO crashes when repeatedl y triggering API commands

2010-11-23 Thread mattraffic
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115745
 Issue #|115745
 Summary|OO crashes when repeatedly triggering API commands
   Component|api
 Version|OOo 3.2.1
Platform|PC
 URL|
  OS/Version|Windows Vista
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P1
Subcomponent|code
 Assigned to|jsc
 Reported by|mattraffic





--- Additional comments from mattraf...@openoffice.org Tue Nov 23 16:29:03 
+ 2010 ---
When creating a document programmatically using the open office API, we need to 
insert occasional sleep statements to make it work halfway stable. Removing the 
these statements in code such as the following, makes OO crash.

 for (int i = 2; i < 3000; i++) {
String sCellName = "A" + (i-1);
XText cellText = (XText)xTextTable.getCellByName (sCellName);
XTextCursor cursor = cellText.createTextCursor();

XTextViewCursor viewCursor = cursorSup.getViewCursor();
viewCursor.gotoRange(cursor, false);
XDispatchHelper xDispatchHelper = 
(XDispatchHelper)multiServiceFactory.createInstance( 
"com.sun.star.frame.DispatchHelper");
PropertyValue[] tableArgs = new 
unoidl.com.sun.star.beans.PropertyValue[0];
xDispatchHelper.executeDispatch((XDispatchProvider)frame, 
".uno:InsertRows", "", 0, tableArgs);

xTextTable.getCellByName ("A" + i).setValue (22.5);
   System.Threading.Thread.Sleep(5);
xTextTable.getCellByName ("B" + i).setValue (5615.3);
   System.Threading.Thread.Sleep(5);
xTextTable.getCellByName ("C" + i).setValue (-2315.7);
   System.Threading.Thread.Sleep(5);
xTextTable.getCellByName ("D" + i).setValue (-315.7);
   System.Threading.Thread.Sleep(5);
if (i%100==0) {
   Console.WriteLine("Row: " + i);
   System.Threading.Thread.Sleep(50);
}
 }
Is this a known issue? Please fix it!!!

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org