Is Java accessibility broken?

Bill Cox waywardgeek at gmail.com
Mon Apr 18 14:39:54 UTC 2011


I see that people seem to be using Java to play media in Ubuntu, but
with at-spi running in Ubuntu 10.10 x64, I can't get a simple Java
example off the web to run.  The example I'm trying is attached.

I compile it with 'javac SoundTest.java', and run it with 'java
SoundTest'.  The error dump follows:

src> java SoundTest
Apr 18, 2011 10:37:40 AM 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.iorMustHaveIiopProfile(IORSystemException.java:473)
	at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:495)
	at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
	at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:787)
	at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:761)
	at com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:231)
	at com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperationImpl.java:120)
	at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:130)
	at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:836)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
	at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1154)
	at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:405)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:875)
	at java.awt.Window.getToolkit(Window.java:1170)
	at java.awt.Window.init(Window.java:400)
	at java.awt.Window.<init>(Window.java:438)
	at java.awt.Frame.<init>(Frame.java:419)
	at java.awt.Frame.<init>(Frame.java:384)
	at javax.swing.JFrame.<init>(JFrame.java:174)
	at SoundTest.main(SoundTest.java:19)
java.io.FileNotFoundException: x.wav (No such file or directory)

I see that it's dying in the Java accessibility bridge.  Does any of
this work in Ubuntu today?  Should I file a bug report?

Thanks,
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SoundTest.java
Type: text/x-java
Size: 1104 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-accessibility/attachments/20110418/9d74c738/attachment.java>


More information about the Ubuntu-accessibility mailing list