manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piergiorgio Lucidi (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-426) Alfresco test exception
Date Thu, 15 Mar 2012 08:45:39 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229991#comment-13229991
] 

Piergiorgio Lucidi commented on CONNECTORS-426:
-----------------------------------------------

I tried to reproduce the issue running all the Maven lifecycle process.

I updated the code from SVN and I have executed the following command line from the root of
the project:
{code}mvn clean install{code}

This because you have to update all the dependencies in your local Maven repository to be
sure that the integration tests will use all the latest changes done in the trunk.

All the unit and integration tests are executed successfully.

So I think that it could be a problem with the Ant build script.

I'm going forward...
                
> Alfresco test exception
> -----------------------
>
>                 Key: CONNECTORS-426
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-426
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Alfresco connector
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Karl Wright
>            Assignee: Piergiorgio Lucidi
>            Priority: Minor
>             Fix For: ManifoldCF 0.5
>
>
> The Alfresco tests spit out this exception, which looks like it is the result of a bug
in the test itself:
> {code}
>     [junit] 2012-03-14 14:36:08.423:WARN::/alfresco/download/direct/workspace/Sp
> acesStore/c262b38f-1e7d-4319-bb39-f0128188b9c8/testdata1.txt
>     [junit] java.lang.UnsupportedOperationException: Entity deletion by key is n
> ot supported
>     [junit]     at org.alfresco.repo.cache.lookup.EntityLookupCache$EntityLookup
> CallbackDAOAdaptor.deleteByKey(EntityLookupCache.java:202)
>     [junit]     at org.alfresco.repo.cache.lookup.EntityLookupCache.deleteByKey(
> EntityLookupCache.java:639)
>     [junit]     at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.addNodeAspe
> cts(AbstractNodeDAOImpl.java:1987)
>     [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProp
> erties(DbNodeServiceImpl.java:526)
>     [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProp
> erties(DbNodeServiceImpl.java:439)
>     [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeS
> erviceImpl.java:736)
>     [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
>     [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
> Reflection(AopUtils.java:307)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:150)
>     [junit]     at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(
> MultiTNodeServiceInterceptor.java:104)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
> dkDynamicAopProxy.java:202)
>     [junit]     at $Proxy10.addAspect(Unknown Source)
>     [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
>     [junit]     at org.alfresco.repo.service.StoreRedirectorProxyFactory$Redirec
> torInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
>     [junit]     at $Proxy11.addAspect(Unknown Source)
>     [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
>     [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
> Reflection(AopUtils.java:307)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:150)
>     [junit]     at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropert
> yInterceptor.java:303)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropert
> yInterceptor.java:303)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invok
> e(NodeRefPropertyMethodInterceptor.java:135)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invok
> e(NodeRefPropertyMethodInterceptor.java:135)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
> dkDynamicAopProxy.java:202)
>     [junit]     at $Proxy10.addAspect(Unknown Source)
>     [junit]     at org.alfresco.repo.configuration.ConfigurableServiceImpl.makeC
> onfigurable(ConfigurableServiceImpl.java:51)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
>     [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
> Reflection(AopUtils.java:307)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:150)
>     [junit]     at org.springframework.transaction.interceptor.TransactionInterc
> eptor.invoke(TransactionInterceptor.java:107)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
> dkDynamicAopProxy.java:202)
>     [junit]     at $Proxy212.makeConfigurable(Unknown Source)
>     [junit]     at org.alfresco.web.bean.repository.User$1.execute(User.java:228
> )
>     [junit]     at org.alfresco.web.bean.repository.User$1.execute(User.java:219
> )
>     [junit]     at org.alfresco.repo.transaction.RetryingTransactionHelper.doInT
> ransaction(RetryingTransactionHelper.java:325)
>     [junit]     at org.alfresco.repo.transaction.RetryingTransactionHelper.doInT
> ransaction(RetryingTransactionHelper.java:232)
>     [junit]     at org.alfresco.web.bean.repository.User.getUserPreferencesRef(U
> ser.java:218)
>     [junit]     at org.alfresco.web.bean.repository.User.getPreferences(User.jav
> a:200)
>     [junit]     at org.alfresco.web.bean.repository.PreferencesService.getPrefer
> ences(PreferencesService.java:65)
>     [junit]     at org.alfresco.web.app.Application.getLanguage(Application.java
> :761)
>     [junit]     at org.alfresco.web.app.servlet.AuthenticationHelper.setupThread
> (AuthenticationHelper.java:115)
>     [junit]     at org.alfresco.web.app.servlet.AuthenticationHelper.authenticat
> e(AuthenticationHelper.java:316)
>     [junit]     at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(
> BaseServlet.java:142)
>     [junit]     at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(
> BaseServlet.java:122)
>     [junit]     at org.alfresco.web.app.servlet.DownloadContentServlet.doGet(Dow
> nloadContentServlet.java:129)
>     [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>     [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>     [junit]     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.
> java:511)
>     [junit]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1221)
>     [junit]     at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFi
> lter.java:68)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
>     [junit]     at org.alfresco.repo.management.subsystems.ChainingSubsystemProx
> yFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
>     [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
>     [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
> dkDynamicAopProxy.java:202)
>     [junit]     at $Proxy211.doFilter(Unknown Source)
>     [junit]     at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(B
> eanProxyFilter.java:82)
>     [junit]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1212)
>     [junit]     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandle
> r.java:399)
>     [junit]     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHan
> dler.java:216)
>     [junit]     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandle
> r.java:182)
>     [junit]     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandle
> r.java:766)
>     [junit]     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.j
> ava:450)
>     [junit]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrappe
> r.java:152)
>     [junit]     at org.mortbay.jetty.Server.handle(Server.java:326)
>     [junit]     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection
> .java:542)
>     [junit]     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplet
> e(HttpConnection.java:928)
>     [junit]     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>     [junit]     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:2
> 12)
>     [junit]     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:4
> 04)
>     [junit]     at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketCo
> nnector.java:228)
>     [junit]     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThre
> adPool.java:582)
> {code}
> This doesn't seem to keep the test from passing, but it is definitely disconcerting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message