[api-issues] [Issue 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

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





--- Additional comments from jmar...@openoffice.org Sun Aug  1 17:35:53 
+ 2010 ---
Created an attachment (id=70913)
new ScannerTest Java program


-
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 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

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


User jmarton changed the following:

What|Old value |New value

  Status|CLOSED|UNCONFIRMED

  Resolution|WORKSFORME|

 Version|OOo 2.0.4 |OOo 3.2.1





--- Additional comments from jmar...@openoffice.org Sun Aug  1 17:41:25 
+ 2010 ---
jmarton-ka: the problem still persist using OpenOffice.org 3.2.1 (OOO320m19,
Build: 9505).

I've attached a somewhat polished ScannerTest.java source to this issue which
supersedes previous test programs.

The scanner (webcam) GUI pops up upon the startScan call, but it disappears and
XEventListener.disposing() never gets called, so o.wait() never returns.

after killing the ScannerTest process, soffice.bin need also to be killed
through process explorer as it seems to hang up.

-
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 48369] OOoBean: documents cannot be loaded after stopOOoConnection

2007-08-21 Thread jmarton
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48369





--- Additional comments from [EMAIL PROTECTED] Tue Aug 21 23:53:38 + 
2007 ---
Let's consider the following sequence in OOoBean:

OOoBean.loadFromURL(...)
[** document is closed using File/Close in the OOoBean]
OOoBean.loadFromURL(...)

If the closed document (at **) was the last one, the sequence suceeds and the
2nd doc is opened.

If there remains documents after closing the doc at ** (eg. in non-OOoBean OOo
Frames), the sequence fails:
produces a DisposedException with the stack trace quoted below.

This can be reproduced using the OOoBeanViewer applet shipped with the sdk using
officebean.jar 680m5 build 9073).



com.sun.star.lang.DisposedException: TransactionManager...
Owner instance already closed. Call was rejected!

at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java)
at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java)
at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java)
at $Proxy22.close(Unknown Source)
at com.sun.star.comp.beans.OOoBean.clear(OOoBean.java)
at com.sun.star.comp.beans.OOoBean.stopOOoConnection(OOoBean.java)
at com.sun.star.comp.beans.OOoBean.loadFromURL(OOoBean.java)


-
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]



[api-issues] [Issue 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

2007-01-16 Thread jmarton
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71439


User jmarton changed the following:

What|Old value |New value

 Attachment data|  |Created an attachment (id=
|  |42202)
Java program trying
|  | to utilize the scanner AP
|  |I






--- Additional comments from [EMAIL PROTECTED] Tue Jan 16 10:44:46 -0800 
2007 ---
Created an attachment (id=42202)
Java program trying to utilize the scanner API


-
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]



[api-issues] [Issue 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

2007-01-16 Thread jmarton
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71439





--- Additional comments from [EMAIL PROTECTED] Tue Jan 16 10:49:47 -0800 
2007 ---
The attached PatronCard.java produces the same effect as the previously
submitted BeanShell script: makes OOo to hang up at the startScan call.

Additionally, when I try to wait for the scan to finish with the
o.wait() call at line 127, IllegalMonitorStateException is thrown.

It seems for me that the scanning thread dies (the scanner GUI disappears) and
the provided disposing method never gets called.

stack trace as follows:

java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at hu.bute.vzqixx.PatronCard.PatronCard.main(PatronCard.java:127)




-
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]



[api-issues] [Issue 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

2006-11-10 Thread jmarton
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71439
 Issue #|71439
 Summary|com.sun.star.scanner.ScannerManager makes OOo to hang 
|up from a BeanShell script
   Component|api
 Version|OOo 2.0.4
Platform|PC
 URL|
  OS/Version|Windows XP
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|jmarton





--- Additional comments from [EMAIL PROTECTED] Fri Nov 10 16:01:40 -0800 
2006 ---
I'm facing some serious problems when trying to use the ScannerManager
service from a BeanShell script (inside OOo Draw). Maybe a reproducible deadlock
situation.

OOo version: stable, 2.0.4 (english version OOo, WinXP Prof SP2 Hun)
OOo SDK: stable, 2.0.4

I have a Logitech QuickCam Sphere webcam (driver version 9.5). As I
acquire an image from Insert/Picture/Scan/Request, the image is taken
and inserted into the drawing.

As I try to achieve the same result from a BeanShell script (attached), OOo
hangs up upon ScannerManager.startScan(...) call. Details follows:

What I want is to replace an image object (having name prefix of
photofield_) in my OOo draw document in script-runtime.

The script I wrote is attached, but it does not work.

As I open a draw that have an image object named like photofield_ and
try to run the script, I can select the source
(xScannerManager.configureScanner(...)). After the selection is made,
the startScan(...) call makes OOo to hang up.

It can be killed using the task manager, but after restarting OOo (but
not the OS), the menu-path (Insert/Picture/Scan/Request) also does not work.

Upgrading the Logitech webcam driver to v10 did not solve the problem. The same
behavior holds using a Canyon CNCAM21 webcam.

-
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]



[api-issues] [Issue 71439] com.sun.star.scanner.Scann erManager makes OOo to hang up from a BeanShel l script

2006-11-10 Thread jmarton
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71439


User jmarton changed the following:

What|Old value |New value

 Attachment data|  |Created an attachment (id=
|  |40508)
the referenced scri
|  |pt that makes OOo to hang 
|  |up deterministic upon Scan
|  |nerManager.startScan(...) 
|  |call






--- Additional comments from [EMAIL PROTECTED] Fri Nov 10 16:04:57 -0800 
2006 ---
Created an attachment (id=40508)
the referenced script that makes OOo to hang up deterministic upon 
ScannerManager.startScan(...) call


-
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]