04-04-2009 06:22 AM
04-06-2009 04:07 PM
20:00:34,984 WARN [org.alfresco.web.ui.repo.component.property.UIAssociation] Failed to find association definition for association 'bpm:assignee'
20:00:44,281 ERROR [org.alfresco.web.ui.common.Utils] Une erreur système s'est produite pendant l'opération : null
java.lang.NullPointerException
at org.jbpm.graph.def.Transition.fireSuperStateEnterEvents(Transition.java:157)
at org.jbpm.graph.def.Transition.take(Transition.java:141)
04-07-2009 12:46 AM
04-07-2009 03:51 AM
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="vdwf:validation du document">
<!–Definition des swimlanes–>
<swimlane name="initiator" />
<swimlane name="Employee">
<assignment pooled-actors="admin,autre"/>
</swimlane>
<swimlane name="invite">
<assignment actor-id="invite"/>
</swimlane>
<start-state name="vdwf:indexer un document">
<task name="indexerDocument" swimlane="initiator"/>
<transition name="submit" to="envoyer mail au validateur ">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Deplacement du fichier –>
<script>
var tes = bpm_package;
var doc = tes.children[0];
var invite = people.getPerson("invite");
doc.setInheritsPermissions(false);
doc.removePermission("Read",invite);
</script>
</action>
</transition>
</start-state>
<node name="envoyer mail au validateur ">
<transition name="Validor review" to="examiner document">
</transition>
</node>
<task-node name="vdwf:examiner document">
<task name="examiner document" swimlane="Employee">
</task>
<transition to="publier le document" name="valide"></transition>
<transition to="envoyer notification rejet" name="reject"></transition>
</task-node>
<task-node name="vdwf:publier le document">
<task name="publier document" swimlane="Employee"></task>
<transition to="envoyer notification favorable" name="approuver">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var tes = bpm_package;
var doc = tes.children[0];
</script>
</action>
</transition>
</task-node>
<node name="envoyer notification rejet">
<transition to="end" name="finir">
</transition>
</node>
<node name="envoyer notification favorable">
<transition to="end" name="sortir">
</transition>
</node>
<end-state name="end"></end-state>
</process-definition>
<?xml version="1.0" encoding="UTF-8"?>
<model name="wf:workflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
</imports>
<namespaces>
<namespace uri="http://www.alfresco.org/model/workflow/1.0" prefix="vdwf"/>
</namespaces>
<types>
<!– –>
<!– Basic Review & Approve Tasks –>
<!– –>
<type name="vdwf:indexerDocument">
<parent>bpm:startTask</parent>
</type>
<type name="vdwf:examiner document">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
<type name="vdwf:publier document">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
</model>
21:25:43,296 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
21:26:10,234 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
21:26:13,343 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
21:26:19,140 INFO [org.alfresco.repo.admin.ConfigurationChecker] Le répertoire racine de données d'Alfresco ('dir.root') est : C:\Alfresco\alf_data
21:26:19,187 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
21:26:19,515 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
21:26:19,578 INFO [org.alfresco.repo.module.ModuleServiceImpl] 1 module(s) trouvé(s).
21:26:19,640 INFO [org.alfresco.repo.module.ModuleServiceImpl] Démarrage du module 'org.alfresco.module.RecordsManagement' version 1.3.
21:26:21,703 WARN [org.alfresco.util.OpenOfficeConnectionTester] La connexion à OpenOffice n'a pu être établie.
21:26:22,062 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_12-b04; maximum heap size 493,063MB
21:26:22,062 WARN [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
21:26:22,062 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
21:26:55,578 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
21:27:00,671 INFO [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
21:27:02,109 INFO [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
21:27:02,109 INFO [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1225.3787ms)
21:28:04,093 INFO [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
21:28:04,093 INFO [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 61935.37ms)
21:28:04,296 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
21:28:47,171 WARN [org.alfresco.web.ui.repo.component.property.UIAssociation] Failed to find association definition for association 'bpm:assignee'
21:28:56,140 ERROR [org.alfresco.web.ui.common.Utils] Une erreur système s'est produite pendant l'opération : null
java.lang.NullPointerException
at org.jbpm.graph.def.Transition.fireSuperStateEnterEvents(Transition.java:157)
at org.jbpm.graph.def.Transition.take(Transition.java:141)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.def.Node.leave(Node.java:358)
at org.jbpm.graph.def.Node.execute(Node.java:350)
at org.jbpm.graph.def.Node.enter(Node.java:319)
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 org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$a794f40.enter(<generated>)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
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 org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$a794f40.leave(<generated>)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:485)
at org.alfresco.repo.workflow.jbpm.WorkflowTaskInstance.end(WorkflowTaskInstance.java:133)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:399)
at org.alfresco.repo.workflow.jbpm.JBPMEngine$26.doInJbpm(JBPMEngine.java:1693)
at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:338)
at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:1670)
at org.alfresco.repo.workflow.WorkflowServiceImpl.endTask(WorkflowServiceImpl.java:544)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy51.endTask(Unknown Source)
at org.alfresco.web.bean.workflow.StartWorkflowWizard.finishImpl(StartWorkflowWizard.java:227)
at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:121)
at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:118)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:127)
at org.alfresco.web.bean.wizard.WizardManager.finish(WizardManager.java:580)
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 org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
04-07-2009 02:43 PM
<node name="envoyer mail au validateur ">
<transition name="Validor review" to="examiner document">
</transition>
</node>
04-07-2009 06:05 PM
04-08-2009 04:40 PM
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Gestion des permissions –>
<script>
var tes = bpm_package;
var doc = tes.children[0];
var invite = people.getPerson("invite");
var valideur = people.getPerson("valideur");
doc.setInheritsPermissions(false);
doc.removePermission("Read",invite);
doc.setPermission("Read",valideur);
</script>
</action>
Caused by: org.hibernate.exception.DataException: could not insert: [org.alfresco.repo.domain.hibernate.DbAuthorityImpl]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2163)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2643)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:322)
——–
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3489)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
04-09-2009 01:02 AM
04-09-2009 04:10 AM
(…)
<start-state name="vdwf:indexer un document">
<task name="indexerDocument" swimlane="initiator"/>
<transition name="indexer" to="vdwf:examiner document">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Donner les permissions de lecture au valideur avant de couper l'heritage –>
<script>
var tes = bpm_package;
var doc = tes.children[0];
var valideur = people.getPerson("valideur");
doc.setPermission("Read",valideur);
</script>
</action>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Couper l'heritage et cacher le doc aux visiteurs –>
<script>
var tes = bpm_package;
var doc = tes.children[0];
var invite = people.getPerson("invite");
doc.setInheritsPermissions(false);
</script>
</action>
</transition>
</start-state>
….
<task-node name="vdwf:publier le document">
<task name="publier document" swimlane="valideur"></task>
<transition to="vdwf:envoyer notification favorable" name="Publier">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Redonner le droit de lecture aux visiteurs –>
<script>
var tes = bpm_package;
var doc = tes.children[0];
var invite = people.getPerson("invite");
doc.setPermission("Read",invite);
</script>
</action>
</transition>
</task-node>
04-09-2009 02:01 PM
04-10-2009 01:19 AM
<start-state name="vdwf:indexer un document">
<task name="indexerDocument" swimlane="initiator"/>
<transition name="indexer" to="vdwf:examiner document">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var tes = bpm_package;
var doc = tes.children[0];
/* Donner les permissions de lecture au valideur avant de couper l'heritage */
var valideur = people.getPerson("valideur");
doc.setPermission("Coordinator",valideur);
/* Couper l'heritage et cacher le doc aux visiteurs */
doc.setInheritsPermissions(false);
</script>
</action>
</transition>
</start-state>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.