AnsweredAssumed Answered

Very Ugly Errors

Question asked by comozoi on Mar 23, 2006
Latest reply on Mar 23, 2006 by kevinr
Hi!
I wonder if someone can help me out with these errors:

Configuration
Server: Fedora Core 2
DB: MySQL
JDK: 1_5_0_3
Alfresco Distribution: Tomcat Pack, Version 1.2.0

Error 1
Description: Internal server error after pasting an item into a folder through Webclient Interface
Context
- Action 1:  Cut a pdf. file
- Action 2: Paste file in subfolder
Result:
Ugly exception, server crashes.

Error Message:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Filter execution threw an exception

root cause

java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;
   org.hibernate.proxy.HibernateProxy$$EnhancerByCGLIB$$5d79f255.getHibernateLazyInitializer(<generated>)
   org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274)
   org.hibernate.type.EntityType.resolve(EntityType.java:303)
   org.hibernate.type.OneToOneType.assemble(OneToOneType.java:141)
   org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82)
   org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520)
   org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474)
   org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
   org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
   org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
   org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
   org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
   org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:859)
   org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
   org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177)
   org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82)
   org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520)
   org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474)
   org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
   org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
   org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
   org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
   org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
   org.hibernate.impl.SessionImpl.get(SessionImpl.java:828)
   org.hibernate.impl.SessionImpl.get(SessionImpl.java:821)
   org.springframework.orm.hibernate3.HibernateTemplate$1.doInHibernate(HibernateTemplate.java:451)
   org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:365)
   org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:445)
   org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:439)
   org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getStore(HibernateNodeDaoServiceImpl.java:171)
   sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.alfresco.repo.transaction.NodeDaoServiceTransactionInterceptor.invoke(NodeDaoServiceTransactionInterceptor.java:61)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy1.getStore(Unknown Source)
   org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:107)
   sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
   $Proxy2.exists(Unknown Source)
   sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
   $Proxy3.exists(Unknown Source)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.getUserStoreRef(RepositoryAuthenticationDao.java:257)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.getUserOrNull(RepositoryAuthenticationDao.java:135)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.loadUserByUsername(RepositoryAuthenticationDao.java:111)
   sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy9.loadUserByUsername(Unknown Source)
   org.alfresco.repo.security.authentication.AuthenticationComponentImpl.getUserDetails(AuthenticationComponentImpl.java:79)
   org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.setCurrentUser(AbstractAuthenticationComponent.java:89)
   org.alfresco.repo.security.authentication.AuthenticationServiceImpl.validate(AuthenticationServiceImpl.java:112)
   sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy22.validate(Unknown Source)
   org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:201)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:67)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.


Error 2
Same configuration
Description: Internal server error after uploading folders through webdav (using Novell Netdrive)
Folders are empty. (Folder structure with 3 levels)
Context
- Action 1:  upload folders
Result:
Transfer stopped. Webdav error message - Subfolder can not be copied.
Upon refreshing webclient, server crashes.

Actions taken: Restarting server. Result: error.
Clean install needed.

NOTE: (same upload worked on a Windows machine XP SP2, Alfresco jboss bundle 1.2.0, MySQL, JDK: 1_5_0_5)

Outcomes