Hi,
Apologies in advance for the vague nature of this question... here goes...
I have inherited an Applet which uses BasicOfficeBean.java to create Writer
Documents in the browser.
(Next Generation Java Plugin from JDK 1.6.0.26 in Firefox 4.0)
This same code is used for both StarOffice in Windows XP SP3 and LibreOffice
in Ubuntu 10.4
(Sorry I don't have the versions to hand)
* Q1) Is it a good idea to use BasicOfficeBean.java for both StarOffice and
LibreOffice or does LibreOffice have an alternative?
After a while we get a ThreadDeath exception!
The code where the Debugger(Eclipse) shows the ThreadDeath in
BasicOfficeBean.java is below:
synchronized (mQueue) {
if (mQueue.isEmpty() == true) {
mQueue.wait();
}
command =
(OfficeCommand)mQueue.remove(0);
}
It's BasicOfficeBean.java 1.4 seen here: (search for 00465)
http://openoffice.org-sdk.sourcearchive.com/documentation/1.1.0-2/BasicOfficeBean_8java-source.html
When I press l in the Java Console I have a Zombie thread and another Java
Console is created with another separate JVM.
* Q2) Should I ever get a ThreadDeath or Zombie thread or is it a normal
occurrence?
I would love any feedback from experienced users if they ever get a
ThreadDeath and if they use BasicOfficeBean.java with LibreOffice?
Thanks in advance for any replies...
--
View this message in context:
http://nabble.documentfoundation.org/ThreadDeath-using-BasicOfficeBean-java-in-LibreOffice-tp3984632.html
Sent from the Users mailing list archive at Nabble.com.
--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted