continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Janes (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1949) Error ocurred during execution
Date Fri, 16 Jan 2009 19:20:19 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161262#action_161262
] 

Peter Janes commented on CONTINUUM-1949:
----------------------------------------

I've just had this happen when trying to delete a project.  I believe what happened is that
the project delete operation was interrupted (maybe while it was deleting the 400+ build results)
and now it's in an inconsistent state.

Possibly related is that when I try to remove build results for that project I now get an
immediate javax.jdo.JDODataStoreException caused by a database deadlock.  The underlying trace
is included below, as far as the first place Continuum code is involved.

com.mysql.jdbc.exceptions.MySQLTransactionRollbackException: Deadlock found when trying to
get lock; try restarting transaction
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:941)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
        at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
        at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
        at org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(RDBMSManager.java:575)
        at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:284)
        at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:2573)
        at org.jpox.store.StoreManager.update(StoreManager.java:998)
        at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4928)
        at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:3233)
        at org.jpox.AbstractPersistenceManager.markDirty(AbstractPersistenceManager.java:3192)
        at org.jpox.state.StateManagerImpl.postWriteField(StateManagerImpl.java:4683)
        at org.jpox.state.StateManagerImpl.makeDirty(StateManagerImpl.java:1157)
        at org.jpox.sco.List.makeDirty(List.java:290)
        at org.jpox.sco.List.remove(List.java:965)
        at org.jpox.sco.SCOListIterator.remove(SCOListIterator.java:147)
        at org.jpox.sco.SCOUtils.updateListWithListElements(SCOUtils.java:672)
        at org.jpox.sco.List.attachCopy(List.java:426)
        at org.jpox.state.AttachFieldManager.storeObjectField(AttachFieldManager.java:157)
        at org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2771)
        at org.apache.maven.continuum.model.project.Project.jdoProvideField(Project.java)
        at org.apache.maven.continuum.model.project.Project.jdoProvideFields(Project.java)
        at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
        at org.jpox.state.StateManagerImpl.internalAttachCopy(StateManagerImpl.java:4389)
        at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:4331)
        at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1431)
        at org.jpox.state.AttachFieldManager.storeObjectField(AttachFieldManager.java:175)
        at org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2771)
        at org.apache.maven.continuum.model.project.BuildResult.jdoProvideField(BuildResult.java)
        at org.apache.maven.continuum.model.project.BuildResult.jdoProvideFields(BuildResult.java)
        at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
        at org.jpox.state.StateManagerImpl.internalAttachCopy(StateManagerImpl.java:4389)
        at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:4331)
        at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1431)
        at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1161)
        at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1277)
        at org.apache.continuum.dao.BuildResultDaoImpl.updateBuildResult(BuildResultDaoImpl.java:63)
        at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:898)
        at org.apache.maven.continuum.web.action.DeleteProjectAction.execute(DeleteProjectAction.java:54)
        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:597)
        at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
        at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
        at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)
        at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
        at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72)

> Error ocurred during execution
> ------------------------------
>
>                 Key: CONTINUUM-1949
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1949
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3.x
>         Environment: Linux, MySQL, LDAP, 1.3-SNAPSHOT, rev. 708424
>            Reporter: Jimmy Conway
>            Priority: Minor
>
> This is what I get in continuum.log:
> (is it a defect?)
> 2008-10-30 01:07:41,102 [btpool0-4] INFO  interceptor#exceptionLogging  - Error ocurred
during execution
> org.apache.maven.continuum.ContinuumException: No such object.
> 	at org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:3018)
> 	at org.apache.maven.continuum.DefaultContinuum.getProject(DefaultContinuum.java:944)
> 	at org.apache.maven.continuum.web.action.BuildResultsListAction.getProjectGroupName(BuildResultsListAction.java:168)
> 	at org.apache.maven.continuum.web.action.BuildResultsListAction.execute(BuildResultsListAction.java:61)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:623)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
> 	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)
> 	at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
> 	at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:105)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:178)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:58)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)
> 	at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
> 	at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:169)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:156)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:76)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.intercept(EnvironmentCheckInterceptor.java:122)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
> 	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
> 	at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)
> 	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
> 	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> 	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
> 	at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> Caused by: org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could not
find object. Type 'org.apache.maven.continuum.model.project.Project'. Id: '0'.
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:114)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.DefaultContinuum.getProject(DefaultContinuum.java:940)
> 	... 84 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message