rich:tree getting exception after migration 3.1.4 to 3.3.2 G
ashishsg Nov 27, 2009 4:29 AMHello Friends,
I am using richfaces 3.1.4 GA version for long time and used rich:tree in my application.
Now I am upgrading richfaces 3.1.4 GA to 3.3.2 GA.
I am getting this exception when my jsf page contains rich:tree and any event happens in page like onchange of list box with a4j:support.
This exception does not break my functionality but we can not live with exception also. Below is the exception -
java.lang.IllegalStateException: No tree element available or row key not set!
at org.richfaces.model.TreeDataModel.getRowData(TreeDataModel.java:284)
at org.ajax4jsf.component.UIDataAdaptor.getRowData(UIDataAdaptor.java:257)
at caf.opm.preclosing.os.view.DealTreeBean.getActualNode(DealTreeBean.java:796)
at caf.opm.preclosing.os.view.DealTreeBean.isInSameDeal(DealTreeBean.java:822)
at caf.opm.preclosing.os.view.DealTreeBean$$FastClassByCGLIB$$f794618d.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:695)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
at caf.opm.preclosing.common.exception.handler.ExceptionHandlerAdvice.manageExceptionAround(ExceptionHandlerAdvice.java:31)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:576)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:562)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:630)
Please let me know if more details needed.
Thanks in advance.
Cheers,
Ashish