Hi
Gordon,
It seems that you
are adding a "null" listener.
In 6.0.3, a
"null" listener was ignored.
In 6.1, which uses
refelection based method invocation, the "null" listener is becomes the target
of method invocation which obviously fails.
I have created
an entry in our issues database for better error handling: https://www.canoo.com/jira/browse/UBA-6936
This will be fixed
in a future release.
For now, please
check that you are not adding a "null" listener.
Thanks and
regards,
Janak
-----Original Message-----I upgraded to ULC Developer 6.1 from 6.0.3. Now I'm getting a problem in my ULCTable with it crashing after the valueChanged method fires implenting the IListSelectionListener.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Gordon Gridley
Sent: Wednesday, June 07, 2006 10:53 PM
To: [email protected]
Subject: [ULC-developer] com.ulcjava.base.shared.internal.IllegalStateException encountered after ListSelectionListener.valueChanged fires
I've debugged through the code and it happens after the valueChanged method is completed and is somewhere in the ULC code.
Here is the stack:
1 07.06.2006 09:02:19.384 1,000 SEVERE Thread[ULC Communication Controller Thread,6,main] com.ulcjava.base.server.ULCSession processRequests got exception while processing [ com.ulcjava.base.shared.internal.IllegalStateException: reflective call on method 'public abstract void com.ulcjava.base.application.event.IListSelectionListener.valueChanged(com.ulcjava.base.application.event.ListSelectionEvent )' and arguments '[EMAIL PROTECTED]' (argument types: '[class com.ulcjava.base.application.event.ListSelectionEvent]') on proxy 'null' failed, proxy OID is 7185
at com.ulcjava.base.shared.internal.ReflectionUtilities.createExceptionForInvocationFailure(ReflectionUtilities.java:46)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod(ReflectionUtilities.java :17)
at com.ulcjava.base.application.ULCProxy.dispatchEvent(ULCProxy.java:20)
at com.ulcjava.base.application.ULCListSelectionModel.processListSelectionEvent(ULCListSelectionModel.java:7)
at com.ulcjava.base.application.ULCListSelectionModel$ULCListSelectionModelDispatcher.processListSelectionEvent (ULCListSelectionModel.java:4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod(ReflectionUtilities.java:41)
at com.ulcjava.base.application.ULCProxy.a (ULCProxy.java:277)
at com.ulcjava.base.application.ULCProxy.handleEvent(ULCProxy.java:318)
at com.ulcjava.base.application.ULCProxy$ULCProxyDispatcher.handleEvent(ULCProxy.java:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:324)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod(ReflectionUtilities.java:41)
at com.ulcjava.base.application.ULCProxy.d(ULCProxy.java:100)
at com.ulcjava.base.application.ULCProxy.handleRequest (ULCProxy.java:69)
at com.ulcjava.base.server.ULCSession.a(ULCSession.java:160)
at com.ulcjava.base.server.ULCSession.processRequests(ULCSession.java:281)
at com.ulcjava.base.development.DevelopmentContainerAdapter.processRequests (DevelopmentContainerAdapter.java:21)
at com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentConnector.java:24)
at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:107)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod (ReflectionUtilities.java:41)
at com.ulcjava.base.application.ULCProxy.dispatchEvent(ULCProxy.java:20)
at com.ulcjava.base.application.ULCListSelectionModel.processListSelectionEvent(ULCListSelectionModel.java :7)
at com.ulcjava.base.application.ULCListSelectionModel$ULCListSelectionModelDispatcher.processListSelectionEvent(ULCListSelectionModel.java:4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:324)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod(ReflectionUtilities.java:41)
at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:277)
at com.ulcjava.base.application.ULCProxy.handleEvent (ULCProxy.java:318)
at com.ulcjava.base.application.ULCProxy$ULCProxyDispatcher.handleEvent(ULCProxy.java:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ulcjava.base.shared.internal.ReflectionUtilities.invokeMethod (ReflectionUtilities.java:41)
at com.ulcjava.base.application.ULCProxy.d(ULCProxy.java:100)
at com.ulcjava.base.application.ULCProxy.handleRequest(ULCProxy.java:69)
at com.ulcjava.base.server.ULCSession.a (ULCSession.java:160)
at com.ulcjava.base.server.ULCSession.processRequests(ULCSession.java:281)
at com.ulcjava.base.development.DevelopmentContainerAdapter.processRequests(DevelopmentContainerAdapter.java:21)
at com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentConnector.java:24)
at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:107)
at java.lang.Thread.run(Thread.java:534)
Any ideas?
Again - this isn't a problem in 6.0.3.
Thanks
Gords
