cancel
Showing results for 
Search instead for 
Did you mean: 

Error running rules after crash

jargus
Champ in-the-making
Champ in-the-making
Hey, I am running Alfresco 2.0 with Tomcat 5.5.  The server had a RAID 5 and recently dropped a hard drive.  Alfresco was working fine up to this point.  The server went down, but when it was rebooted, the array rebuilt on the spare and everything appeared ok.  We use Alfresco to import PDF files and sort them based on content.  However, since the crash, when a file is imported, I get errors in the Tomcat window.  Hopefully someone has some insight into what I can do about this:

17:56:50,812 ERROR [util.transaction.SpringAwareUserTransaction] Transaction did
n't commit
org.alfresco.service.cmr.repository.ScriptException: Failed to execute script 'w
orkspace://SpacesStore/4fb56ca1-3e39-11dc-bad2-3f7898cbdb37': Wrapped java.lang.
IllegalArgumentException: Destination Node is a mandatory parameter (AlfrescoScr
ipt#15)
        at org.alfresco.repo.jscript.RhinoScriptService.executeScript(RhinoScrip
tService.java:168)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:148)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterc
eptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.j
ava:204)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInte
rceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy55.executeScript(Unknown Source)
        at org.alfresco.repo.action.executer.ScriptActionExecuter.executeImpl(Sc
riptActionExecuter.java:148)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(
ActionExecuterAbstractBase.java:120)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(Acti
onServiceImpl.java:537)
        at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl
(CompositeActionExecuter.java:72)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(
ActionExecuterAbstractBase.java:120)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(Acti
onServiceImpl.java:537)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionSe
rviceImpl.java:472)
        at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServic
eImpl.java:399)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:148)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterc
eptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentIm
pl.java:219)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.j
ava:165)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInte
rceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy16.executeAction(Unknown Source)
        at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.ja
va:915)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleService
Impl.java:883)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleSe
rviceImpl.java:854)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServic
eImpl.java:827)
        at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTrans
actionListener.java:69)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:591)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.processCommit(AbstractPlatformTransactionManager.java:482)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.commit(AbstractPlatformTransactionManager.java:469)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.
doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(Sprin
gAwareUserTransaction.java:405)
        at org.alfresco.filesys.server.SrvSession.endTransaction(SrvSession.java
:627)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1362)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.error.AlfrescoRuntimeException: Wrapped java.lang.Illega
lArgumentException: Destination Node is a mandatory parameter (AlfrescoScript#15
)
        at org.alfresco.repo.jscript.RhinoScriptService.executeScriptImpl(RhinoS
criptService.java:311)
        at org.alfresco.repo.jscript.RhinoScriptService.executeScript(RhinoScrip
tService.java:164)
        … 63 more
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArg
umentException: Destination Node is a mandatory parameter (AlfrescoScript#15)
        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:17
05)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:20
1)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:308
2)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2248)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:158)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
37)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:275
5)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:169)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1175)
        at org.alfresco.repo.jscript.RhinoScriptService.executeScriptImpl(RhinoS
criptService.java:299)
        … 64 more
Caused by: java.lang.IllegalArgumentException: Destination Node is a mandatory p
arameter
        at org.alfresco.util.ParameterCheck.mandatory(ParameterCheck.java:53)
        at org.alfresco.repo.jscript.Node.move(Node.java:1125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)
        … 73 more
1 REPLY 1

jargus
Champ in-the-making
Champ in-the-making
Also, if I try to set the rule back up (by specifying a new one for example), I get this:

javax.faces.FacesException: Error calling action method of component with id script-action:_id18
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{WizardManager.bean.addAction}
caused by:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/none


Something is seriously wrong here, and I'm not quite sure where to start.