looks like spring aop is processing the proxy wicket generates? weird. -igor
On Tue, Jan 4, 2011 at 10:20 AM, Roman Ilin <roman.i...@gmail.com> wrote: > @Martin: UserDao is an Interface. > > @Igor: thank you for good advice, I will use it ofter from now :) > but I know that problem is the classes I mentioned erlier, because if > I copy them into my project and add Serializable interface to them, > exception desappears. > > But anyway here is error dump: > > Hibernate: select count(*) as col_0_0_ from User user0_ limit ? > Hibernate: select user0_.id as id0_, user0_.is_admin as is2_0_, > user0_.full_name as full3_0_, user0_.organization_id as organiza6_0_, > user0_.password as password0_, user0_.username as username0_ from User > user0_ > WARN - AutoLinkResolver - Did not find corresponding java > class: net.smart4life.school.web.page.user.IndexPage > INFO - RequestLogger - > time=253,event=BookmarkablePage[net.smart4life.school.web.page.user.SuUserListPage()],response=BookmarkablePage[net.smart4life.school.web.page.user.SuUserListPage()],sessioninfo=user=n/a,sessionsize=5603,sessionstart=Tue > Jan 04 19:10:55 CET > 2011,requests=3,totaltime=798,activerequests=0,maxmem=467M,total=133M,used=113M > ERROR - Objects - Error serializing object class > net.smart4life.school.web.page.user.SuUserListPage [object=[Page class > = net.smart4life.school.web.page.user.SuUserListPage, id = 1, version > = 0]] > java.io.NotSerializableException: > org.springframework.dao.support.PersistenceExceptionTranslationInterceptor > - field (class > "org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor", > name: "advice", type: "class > org.springframework.dao.support.PersistenceExceptionTranslationInterceptor") > - object (class > "org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor", > org.springframework.dao.annotation.persistenceexceptiontranslationadvi...@11d221e) > - element of array (index: 1) > - array (class "[Lorg.springframework.aop.Advisor;", size: 2) > - field (class "org.springframework.aop.framework.AdvisedSupport", > name: "advisorArray", type: "class > [Lorg.springframework.aop.Advisor;") > - object (class "org.springframework.aop.framework.ProxyFactory", > org.springframework.aop.framework.ProxyFactory: 2 interfaces > [net.smart4life.school.dao.Dao, java.io.Serializable]; 2 advisors > [org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor: > advice bean > 'org.springframework.transaction.interceptor.TransactionInterceptor#0', > org.springframework.dao.annotation.persistenceexceptiontranslationadvi...@11d221e]; > targetSource [SingletonTargetSource for target object > [net.smart4life.school.dao.jpa.generichibernate...@6382a6]]; > proxyTargetClass=false; optimize=false; opaque=false; > exposeProxy=false; frozen=false) > - field (class > "org.springframework.aop.framework.JdkDynamicAopProxy", name: > "advised", type: "class > org.springframework.aop.framework.AdvisedSupport") > - object (class > "org.springframework.aop.framework.JdkDynamicAopProxy", > org.springframework.aop.framework.jdkdynamicaoppr...@1202965a) > - field (class "java.lang.reflect.Proxy", name: "h", type: "interface > java.lang.reflect.InvocationHandler") > - object (class "$Proxy23", > net.smart4life.school.dao.jpa.generichibernate...@6382a6) > - field (class "net.smart4life.school.web.model.DomainObjectModel", > name: "service", type: "interface net.smart4life.school.dao.Dao") > - object (class "net.smart4life.school.web.model.DomainObjectModel", > net.smart4life.school.web.model.domainobjectmo...@1e2e8cc:attached=false:tempModelObject=[null]) > - field (class "org.apache.wicket.Component", name: "data", type: > "class java.lang.Object") > - custom writeObject data (class "org.apache.wicket.Component") > - object (class "org.apache.wicket.markup.repeater.OddEvenItem", > [MarkupContainer [Component id = 1]]) > - element of array (index: 0) > - array (class "[Ljava.lang.Object;", size: 2) > - field (class "org.apache.wicket.MarkupContainer", name: "children", > type: "class java.lang.Object") > - object (class > "org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable$1", > [MarkupContainer [Component id = rows]]) > - field (class "org.apache.wicket.MarkupContainer", name: "children", > type: "class java.lang.Object") > - object (class "org.apache.wicket.markup.html.WebMarkupContainer", > [MarkupContainer [Component id = body]]) > - element of array (index: 0) > - array (class "[Ljava.lang.Object;", size: 3) > - field (class "org.apache.wicket.MarkupContainer", name: "children", > type: "class java.lang.Object") > - object (class "net.smart4life.school.web.component.BetterTable", > [MarkupContainer [Component id = table]]) > - element of array (index: 1) > - array (class "[Ljava.lang.Object;", size: 2) > - field (class "org.apache.wicket.MarkupContainer", name: "children", > type: "class java.lang.Object") > - root object (class > "net.smart4life.school.web.page.user.SuUserListPage", [Page class = > net.smart4life.school.web.page.user.SuUserListPage, id = 1, version = > 0]) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org