Re: gnome and the accessbridge



Le Lundi 7 Juillet 2003 15:21, Padraig O'Briain a écrit :
> It looks like the attached patch works with libbonobo from CVS HEAD
> but I have figured out yet why.

Thank you very much for your fast answer !

I have changed my local source accordingto the CVS patch that you've 
commited.

It is indeed better. But it then faults later on :-(

 java -jar /usr/java/j2sdk1.4.2/demo/jfc/SampleTree/SampleTree.jar 
&>errors.log ; head errors.log :
"
Warning: Cannot convert string "MetaCtrl<Key>Insert" to type 
VirtualBinding
Java Accessibility Bridge for GNOME loaded.

Registering Application.
org.GNOME.Accessibility._ApplicationStub:IOR:000000000000002249444c3a4163636573736962696c6974792f4170706c69636174696f6e3a312e3000000000000001000000000000007000010200000000103133322e3232372e3230312e313430008e30000000000021afabcb00000000203ded0b5a00000001000000000000000000000004000000000a0000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: 
No
        at 
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
        at 
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
        at 
com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
        at 
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
"
complete file attached.

Thanks again for your timely help !

Bernard
Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding
Java Accessibility Bridge for GNOME loaded.

Registering Application.
org.GNOME.Accessibility._ApplicationStub:IOR:000000000000002249444c3a4163636573736962696c6974792f4170706c69636174696f6e3a312e3000000000000001000000000000007000010200000000103133322e3232372e3230312e313430008e30000000000021afabcb00000000203ded0b5a00000001000000000000000000000004000000000a0000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
	at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
	at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
	at org.GNOME.Accessibility._RegistryStub.ref(_RegistryStub.java:483)
	at org.GNOME.Accessibility.EventQueueRegistry.<init>(EventQueueRegistry.java:38)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:128)
	at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:809)
	at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:279)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:688)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:774)
	at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
	at java.awt.EventQueue.setCurrentEventAndMostRecentTime(EventQueue.java:747)
	at java.awt.Component.dispatchEventImpl(Component.java:3486)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.Container.addImpl(Container.java:675)
	at java.awt.Container.add(Container.java:307)
	at javax.swing.JMenuBar.add(JMenuBar.java:174)
	at SampleTree.constructMenuBar(SampleTree.java:246)
	at SampleTree.<init>(SampleTree.java:98)
	at SampleTree.main(SampleTree.java:607)
java.lang.NullPointerException
	at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:809)
	at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:279)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:688)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:774)
	at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
	at java.awt.EventQueue.setCurrentEventAndMostRecentTime(EventQueue.java:747)
	at java.awt.Component.dispatchEventImpl(Component.java:3486)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.Container.addImpl(Container.java:675)
	at java.awt.Container.add(Container.java:307)
	at javax.swing.JMenuBar.add(JMenuBar.java:174)
	at SampleTree.constructMenuBar(SampleTree.java:246)
	at SampleTree.<init>(SampleTree.java:98)
	at SampleTree.main(SampleTree.java:607)
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
	at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
	at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
	at org.GNOME.Accessibility._RegistryStub.ref(_RegistryStub.java:483)
	at org.GNOME.Accessibility.EventQueueRegistry.<init>(EventQueueRegistry.java:38)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:128)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:357)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:369)
	at org.GNOME.Accessibility.JavaBridge.dispatchWindowEvent(JavaBridge.java:312)
	at org.GNOME.Accessibility.ApplicationAccessible$1.windowOpened(ApplicationAccessible.java:107)
	at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:282)
	at java.awt.Window.processWindowEvent(Window.java:1118)
	at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
	at java.awt.Window.processEvent(Window.java:1079)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent(JavaBridge.java:839)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Error dispatching event window:create:javax swing JFrame$AccessibleJFrame 111b910; java.lang.NullPointerException
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
	at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
	at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
	at org.GNOME.Accessibility._RegistryStub.ref(_RegistryStub.java:483)
	at org.GNOME.Accessibility.EventQueueRegistry.<init>(EventQueueRegistry.java:38)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:128)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:357)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:369)
	at org.GNOME.Accessibility.ApplicationAccessible$1.windowOpened(ApplicationAccessible.java:113)
	at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:282)
	at java.awt.Window.processWindowEvent(Window.java:1118)
	at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
	at java.awt.Window.processEvent(Window.java:1079)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent(JavaBridge.java:839)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Error dispatching event object:children-changed:add:org GNOME Accessibility ApplicationAccessible$AccessibleAppContext 388993; java.lang.NullPointerException
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
	at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
	at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
	at org.GNOME.Accessibility._RegistryStub.ref(_RegistryStub.java:483)
	at org.GNOME.Accessibility.EventQueueRegistry.<init>(EventQueueRegistry.java:38)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:128)
	at org.GNOME.Accessibility.JavaBridge.dispatchFocusEvent(JavaBridge.java:429)
	at org.GNOME.Accessibility.ApplicationAccessible$2.eventDispatched(ApplicationAccessible.java:134)
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2136)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:1988)
	at java.awt.Component.dispatchEventImpl(Component.java:3530)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:768)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:453)
	at java.awt.Component.dispatchEventImpl(Component.java:3506)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent(JavaBridge.java:839)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Error dispatching focus event :javax.swing.JTree[,0,0,297x297,alignmentX=null,alignmentY=null,border=,flags=360,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=true,rowHeight=-1,scrollsOnExpand=true,showsRootHandles=false,toggleClickCount=2,visibleRowCount=20]:java.lang.NullPointerException
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
	at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
	at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
	at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
	at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
	at org.GNOME.Accessibility._RegistryStub.ref(_RegistryStub.java:483)
	at org.GNOME.Accessibility.EventQueueRegistry.<init>(EventQueueRegistry.java:38)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:128)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:357)
	at org.GNOME.Accessibility.JavaBridge.dispatchEvent(JavaBridge.java:369)
	at org.GNOME.Accessibility.JavaBridge.dispatchStateProperty(JavaBridge.java:705)
	at org.GNOME.Accessibility.JavaBridge$1.propertyChange(JavaBridge.java:249)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:252)
	at javax.accessibility.AccessibleContext.firePropertyChange(AccessibleContext.java:658)
	at javax.swing.JComponent$AccessibleJComponent$AccessibleFocusHandler.focusGained(JComponent.java:3109)
	at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:162)
	at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161)
	at java.awt.Component.processFocusEvent(Component.java:5003)
	at java.awt.Component.processEvent(Component.java:4888)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:768)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:453)
	at java.awt.Component.dispatchEventImpl(Component.java:3506)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent(JavaBridge.java:839)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Error dispatching event object:state-changed:focused:javax swing JTree$AccessibleJTree 979e8b; java.lang.NullPointerException


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]