AnsweredAssumed Answered

Echec bulk import pour Windows sur lecteur réseau

Question asked by nancygaillard on Dec 14, 2015
Latest reply on Dec 16, 2015 by nancygaillard
Bonjour,

Infos Système:
J'utilise Alfresco 4.2.e sur Windows Server 2008 R2.
J'ai installé Alfresco avec l'installeur, avec les paramètres par défaut.
J'ai configurer l'authentification LDAP
J'ai configurer le Webdav et l'IMAP
J'ai ajouté un module pour la prévisualisation des fichier eml
J'ai déinstallé Solr pour Lucene.

Problème rencontré
Je souhaite récupérer un gros dossier partagé et le mettre sur Alfresco.
J'ai donc tout transféré en FTP (certains fichiers sont situés dans des dossiers dont l'ensemble dépasse la taille limite dans Windows). Les informations sur le documents étant perdus (timestamps, auteur, dernier modificateurs…), j'ai essayé en robocopy en Webdav: aucun fichier n'est passé.
J'ai vu qu'il y avait le webscript bulksfimport qui pouvait être utiliser pour cela, mais je n'arrive pas à effectuer l'opération car j'ai toujours des retours d'erreurs différents (en fonction du dossier pour l'essai).
-> J'aimerais que l'on m'aiguille sur les raisons qui provoque l'échec d'importation et que l'on m'aide à résoudre ce problème si possible. Merci d'avance.

[EDIT]
Grâce à https://groups.google.com/forum/#!topic/alfresco-bulk-filesystem-import/dveGHnPSu3I
J'ai vu qu'en fait sur Windows, avec tomcat en service, non seulement il faut pas utiliser la lettre du lecteur réseau mais en plus le fonctionnement n'est quand même avec le path. Je cherche quand même une réponse de comment résoudre mon problème.
J'ai pensé à :
- donner plus de droit au service (mais comment??)
- installer Alfresco comme autre chose qu'un service??
En gros, je ne sais pas ou je vais merci d'avance pour votre aide :)
[/EDIT]

* J'ai vérifié mes droits dans le dossier partagé: c'est OK
* J'ai essayé d'accéder au dossier partagé et d'ajouter du contenu : OK
* J'ai vérifié mes droits sur le site ou je veux placer le dossier : OK
* J'ai vérifié l'accès en Webdav, et l'ajout de contenu : OK
* J'ai copié un sous-dossier du dossier partagé en local - test bulk import : OK
* J'ai copié le même sous-dossier sur un autre serveur où j'ai accès - test bulk import : NOK

Erreur
Dans alfresco-global.properties, j'ai ajouté :
<blockcode>log4j.logger.org.alfresco.repo.bulkimport=DEBUG
log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=info
log4j.logger.org.alfresco.repo.batch.BatchProcessor=info</blockcode>

J'ai redémarré, et essayé de nouveau l'importation de l'ensemble de mon dossier partagé :
1) Je me connecte à alfresco-serveur/alfresco
2) je vais à l'url alfresco-serveur/alfresco/service/bulkfsimport
infos : Bulk Filesystem Import Tool - Alfresco Community v4.2.0 (r56674-b4848)
3) je remplis les champs :
Import directory : \\dossier-partage\dossier_a_importer
Target space :
Path:
or NodeRef : workspace://SpacesStore/16a1d368-a08a-4df1-9415-c435caa39526
Disable rules : décoché
Replace existing files : coché
Batch Size :
Number of Threads :

Résultat :
Successful : No
Source Directory: \\dossier-partage\dossier_a_importer
Target Space:   /Espace racine/Sites/nom-site/documentLibrary
Duration:   0d 0h 0m 0s 124.371ms
Error Information From Last Run
File that failed:   n/a

Erreur complète récupérée depuis le fichier alfrescotomcat-stderr
<blockquote>
INFO: Server startup in 123273 ms
jectInputStream.java:1989)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.HashMap.readObject(HashMap.java:1155)
   at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1595)
   at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1060)
   at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:284)
   at org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
   at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5443)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.NotSerializableException: org.alfresco.service.cmr.workflow.LazyActivitiWorkflowTask
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.HashMap.writeObject(HashMap.java:1100)
   at sun.reflect.GeneratedMethodAccessor1220.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671)
   at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077)
   at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)
   at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
   at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5622)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
   … 5 more

déc. 14, 2015 9:17:33 AM org.apache.catalina.session.StandardManager startInternal
SEVERE: Exception au chargement des sessions depuis le stockage persistant (persistent storage)
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.alfresco.service.cmr.workflow.LazyActivitiWorkflowTask
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1352)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.ArrayList.readObject(ArrayList.java:733)
   at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at java.util.HashMap.readObject(HashMap.java:1155)
   at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1595)
   at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1060)
   at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:284)
   at org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
   at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5443)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.NotSerializableException: org.alfresco.service.cmr.workflow.LazyActivitiWorkflowTask
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.ArrayList.writeObject(ArrayList.java:710)
   at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1375)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1171)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at java.util.HashMap.writeObject(HashMap.java:1100)
   at sun.reflect.GeneratedMethodAccessor1220.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
   at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671)
   at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077)
   at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)
   at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
   at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5622)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
   at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
   … 5 more

Exception in thread "BulkFilesystemImport-BackgroundThread" java.lang.NullPointerException
   at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
   at java.util.Arrays.asList(Arrays.java:2828)
   at org.alfresco.repo.bulkimport.AnalysedDirectory.<init>(AnalysedDirectory.java:50)
   at org.alfresco.repo.bulkimport.impl.DirectoryAnalyserImpl.analyseDirectory(DirectoryAnalyserImpl.java:124)
   at org.alfresco.repo.bulkimport.impl.AbstractFilesystemTracker.getImportableItemsInDirectory(AbstractFilesystemTracker.java:60)
   at org.alfresco.repo.bulkimport.impl.StripingFilesystemTracker.getImportableItems(StripingFilesystemTracker.java:146)
   at org.alfresco.repo.bulkimport.impl.StripingFilesystemTracker$1.getNextWork(StripingFilesystemTracker.java:202)
   at org.alfresco.repo.batch.BatchProcessor$WorkProviderIterator.hasNext(BatchProcessor.java:579)
   at org.alfresco.repo.batch.BatchProcessor.process(BatchProcessor.java:384)
   at org.alfresco.repo.bulkimport.impl.StripingBulkFilesystemImporter.bulkImportImpl(StripingBulkFilesystemImporter.java:64)
   at org.alfresco.repo.bulkimport.impl.AbstractBulkFilesystemImporter$3.execute(AbstractBulkFilesystemImporter.java:395)
   at org.alfresco.repo.bulkimport.impl.AbstractBulkFilesystemImporter$3.execute(AbstractBulkFilesystemImporter.java:371)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
   at org.alfresco.repo.bulkimport.impl.AbstractBulkFilesystemImporter.bulkImport(AbstractBulkFilesystemImporter.java:370)
   at org.alfresco.repo.bulkimport.impl.AbstractBulkFilesystemImporter$2$1.doWork(AbstractBulkFilesystemImporter.java:351)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.bulkimport.impl.AbstractBulkFilesystemImporter$2.run(AbstractBulkFilesystemImporter.java:347)
   at java.lang.Thread.run(Thread.java:724)

</blockquote>

Outcomes