[g-a-devel]java-access-bridge
- From: gnome-accessibility-devel bernard-hugueney org
- To: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]java-access-bridge
- Date: Thu, 25 Sep 2003 15:50:04 +0200
Bonjour,
I was getting some exceptions [1] when tracing OO.org with at-spi.
Did notknow whowas at fault : at-spi, java-access-bridge, OO.org, me ?
Looking into TextImpl.java I saw this knid of code.
"
public int getCharacterAtOffset (int offset) {
try {
if (accText != null) {
return (int) accText.getAtIndex(
javax.accessibility.AccessibleText.CHARACTER,
offset).charAt(0);
}
}
catch ( Exception e ) {
e.printStackTrace();
}
return 0;
}
"
So many exceptions are to be expected, after all.
Any thought on the subject ?
Bernard, on Mandrake with OO.org 1.1RC4 and java-access-bridge from
CVS.
[1]
com.sun.star.lang.DisposedException:
at
com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(NativeMethod)
at
com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:204)
at $Proxy22.getTextAtIndex(Unknown Source)
at
org.openoffice.java.accessibility.AccessibleTextImpl.getAtIndex(AccessibleTextImpl.java:499)
at org.GNOME.Accessibility.TextImpl.getText(TextImpl.java:124)
at
org.GNOME.Accessibility.TextPOATie.getText(TextPOATie.java:49)
at org.GNOME.Accessibility.TextPOA._invoke(TextPOA.java:81)
at
com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:517)
at
com.sun.corba.se.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:207)
at
com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:109)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:252)
at
com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at
com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]