List Info

Thread: Java access bridge with Orca




Java access bridge with Orca
user name
2006-05-09 11:36:08
    Hello,

I am having problems running Java jfc/swing applications
under Gnome.
The output Orca is providing consists of randomly looking
characters.
The following software components are used:

Debian testing, Gnome 2.14, orca 2.3, jdk 1.5.0 Java access
bridge for gnome 1.5.0.

The access bridge has been installed as follows:
1. Compiling of sources.
2. make install
the resulting files (gnome-access-bridge.jar, JNav.jar
accessibility.properties) are installed in to the directory
/usr/local/share/jar/. I've created symlinks from the
gnome-access-bridge.jar and JNav.jar  to
$JAVA_HOME/jre/lib/ext and
from accessibility.property to $JAVA_HOME/jre/lib

With symlinks created, JRE seems to be able to load the
access bridge.

Thanks in advance for your suggestions!


Vladyslav

_______________________________________________
Orca-list mailing list
Orca-listgnome.org
http
://mail.gnome.org/mailman/listinfo/orca-list
Java access bridge with Orca
user name
2006-05-09 14:46:08
Vladyslav wrote:
>     Hello,
>   

Hello Vladyslav,

I looks like the Java Access Bridge is installed correctly. 
What Java 
applications are you testing with?  Also, what output are
you 
describing?  Is it debug output or output in the Braille
monitor?

Thanks,
Lynn

> I am having problems running Java jfc/swing
applications under Gnome.
> The output Orca is providing consists of randomly
looking characters.
> The following software components are used:
>
> Debian testing, Gnome 2.14, orca 2.3, jdk 1.5.0 Java
access bridge for gnome 1.5.0.
>
> The access bridge has been installed as follows:
> 1. Compiling of sources.
> 2. make install
> the resulting files (gnome-access-bridge.jar, JNav.jar
> accessibility.properties) are installed in to the
directory
> /usr/local/share/jar/. I've created symlinks from the
> gnome-access-bridge.jar and JNav.jar  to
$JAVA_HOME/jre/lib/ext and
> from accessibility.property to $JAVA_HOME/jre/lib
>
> With symlinks created, JRE seems to be able to load the
access bridge.
>
> Thanks in advance for your suggestions!
>
>
> Vladyslav
>
> _______________________________________________
> Orca-list mailing list
> Orca-listgnome.org
> http
://mail.gnome.org/mailman/listinfo/orca-list
>   

_______________________________________________
Orca-list mailing list
Orca-listgnome.org
http
://mail.gnome.org/mailman/listinfo/orca-list
Java access bridge with Orca
user name
2006-05-10 20:01:43
    Hello Lynn,

* Lynn Monsanto <Lynn.MonsantoSun.COM> wrote:

> I looks like the Java Access Bridge is installed
correctly.  What Java
> applications are you testing with?

I've been testing access bridge with the sample
applications
distributed with the Sun JDK package. especially with the
Java
implementation of Notepad found in
$JAVA_HOME/demo/jfc/Notepad.

> Also, what output are you 
> describing?  Is it debug output or output in the
Braille monitor?

I am describing the speech synthesizer output. If invoked,
Notepad.jar
starts throwing an exception stack trace. I'm attaching it
at the end
of the message.

Regards
Vladyslav

------
Java Accessibility Bridge for GNOME loaded.

Registering Application.
IOR:000000000000002249444c3a4163636573736962696c6974792f4170
706c69636174696f6e3a312e300000000000000100000000000000860001
02000000000e3139322e3136382e3137382e33009bc900000031afabcb00
000000201fd2ead700000001000000000000000100000008526f6f74504f
410000000008000000010000000014000000000000020000000100000020
000000000001000100000002050100010001002000010109000000010001
010000000026000000020002
May 10, 2006 9:43:05 PM com.sun.corba.se.impl.ior.IORImpl
getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at
least one IIOP profile"
org.omg.CORBA.INV_OBJREF:   vmcid: SUN  minor code: 1201 
completed: No
        at
com.sun.corba.se.impl.logging.IORSystemException.iorMustHave
IiopProfile(IORSystemException.java:473)
        at
com.sun.corba.se.impl.logging.IORSystemException.iorMustHave
IiopProfile(IORSystemException.java:495)
        at
com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:31
6)
        at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Objec
t(CDRInputStream_1_0.java:771)
        at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Objec
t(CDRInputStream_1_0.java:745)
        at
com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CD
RInputStream.java:213)
        at
com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFro
mString(INSURLOperationImpl.java:98)
        at
com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(I
NSURLOperationImpl.java:108)
        at
com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.j
ava:819)
        at
org.GNOME.Accessibility.AccessUtil.activationObjectReference
(AccessUtil.java:165)
        at
org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessU
til.java:125)
        at
org.GNOME.Accessibility.JavaBridge.registerApplication(JavaB
ridge.java:1057)
        at
org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.j
ava:343)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ
e Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:4
94)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:753)
        at
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:847)
        at java.awt.Window.getToolkit(Window.java:759)
        at java.awt.Window.init(Window.java:285)
        at java.awt.Window.<init>(Window.java:318)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.JFrame.<init>(JFrame.java:150)
        at Notepad.main(Notepad.java:143)
Could not obtain object reference for
IDL:Accessibility/Registry:1.0
Unable to contact registry
Java Application:0
Just registered Application
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1112)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1137)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1141)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1112)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1141)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
        at
org.GNOME.Accessibility.JavaBridge.dispatchDeviceEvent(JavaB
ridge.java:443)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.filterKeyEven
t(JavaBridge.java:1112)
        at
org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent
(JavaBridge.java:1085)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD
ispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
patchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
java:149)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:11
0)


_______________________________________________
Orca-list mailing list
Orca-listgnome.org
http
://mail.gnome.org/mailman/listinfo/orca-list
Java access bridge with Orca
user name
2006-05-10 20:10:46
In addition to my last message:

I've wrote:

> The output Orca is providing consists of randomly
looking characters.

The characters I've mentioned are just console output of
java VM
preceding the exceptions stack trace:
----
Java Accessibility Bridge for GNOME loaded.

Registering Application.
IOR:000000000000002249444c3a4163636573736962696c6974792f4170
706c69636174696f6e3a312e300000000000000100000000000000860001
02000000000e3139322e3136382e3137382e33009bc900000031afabcb00
000000201fd2ead700000001000000000000000100000008526f6f74504f
410000000008000000010000000014000000000000020000000100000020
000000000001000100000002050100010001002000010109000000010001
010000000026000000020002
-----

Sorry for creating  confusion.

Vladyslav

_______________________________________________
Orca-list mailing list
Orca-listgnome.org
http
://mail.gnome.org/mailman/listinfo/orca-list
Java access bridge with Orca
user name
2006-05-11 15:09:11
Vladyslav wrote:
>> I looks like the Java Access Bridge is installed
correctly.  What Java
>> applications are you testing with?
>>     
>
> I've been testing access bridge with the sample
applications
> distributed with the Sun JDK package. especially with
the Java
> implementation of Notepad found in
$JAVA_HOME/demo/jfc/Notepad.
>   

I see similar problems trying to run Notepad against the
version of Orca in
CVS HEAD. I've just filed bug #341423 on this. See:

  http
://bugzilla.gnome.org/show_bug.cgi?id=341423

for more details. Thanks for reporting this.

_______________________________________________
Orca-list mailing list
Orca-listgnome.org
http
://mail.gnome.org/mailman/listinfo/orca-list
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )