Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 05/08/2011 11:07:31

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Ametys 3.2.1

Je vous annonce la sortie de la nouvelle version 3.2.1 d'Ametys, disponible à l'adresse

Parmi les nouveautés, outre la correction de plus de 250 bugs :

Ergonomie coté back-office:

    * Page de connexion avec formulaire
    * Splash screen pendant le chargement de l'application
    * Gestion des raccourcis clavier : touches ECHAP et Entrée sur les boites de dialogues
    * En édition, possibilité d'enregistrer sans quitter (Enregistrer / Enregistrer et fermer)
    * Les onglets (choix dans les préférences utilisateurs) :
          o Possibilité de fermer tous les onglets ouverts ou de conserver uniquement celui sélectionné
          o Regroupement des onglets par type (pages, outils, contenus)
          o Choix d'avoir un onglet par couleur, un onglet par outils ou tous
    * Outils plan du site :
          o Boutons pour plier tout le site et rafraichir une page et ses sous-pages
          o Filtre sur le nom des pages
          o Icônes et décorateurs reflétant la nature de la page (rubrique, invisible, accès directs, ...) et son état (en ligne)
    * Outils explorateur de ressources
          o Boutons pour plier et rafraichir un répertoire
          o Filtres sur le nom des fichiers/répertoires
    * Ré-ordonnancement des alias
    * Regroupement des services et contenus par catégorie dans les menu Ajouter un contenu et Ajouter un service
    * Icônes et décorateurs dans le plan du site
          o Doc intégrateurs :
          o Doc utilisateurs :
    * Panneaux de droite (plan du site, explorateur de ressources, ...) rétractables


Performances :

    * Minification et concaténation des fichiers CSS et JS
    * Améliorations des performances côté FO (amélioration du cache, alias de nom de domaine, entête HTTP)
    * Améliorations des performances entre le FO et le BO (diminution du nombre de requêtes, gestion du cache)


... et aussi :

    * Compatibilité FF4 et FF5
    * Possibilité de surcharger les types de contenus pour ajouter des champs
    * Choix de la vue pour le service "Afficher un contenu" (8 votes sur ce ticket

Offline

#2 09/09/2011 14:51:46

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Bonjour,

Après quelques déboires avec le plugin news lors d'une migration en 3.1.2, nous tentons à present de migrer vers la 3.2.1.
Nous suivons la doc de migration du wiki : 

Lors du lancement du script dans la console repository, nous obtenons l'erreur suivante à l'excution :

sun.org.mozilla.javascript.internal.WrappedException: Wrapped javax.jcr.ItemNotFoundException: failed to build path of 08aefec8-0ae4-4948-b0ce-a52e42382734: c5306769-7282-4849-b1d8-14c151171f60: c5306769-7282-4849-b1d8-14c151171f60 (<Unknown source>#11) in <Unknown source> at line number 11

javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped javax.jcr.ItemNotFoundException: failed to build path of 08aefec8-0ae4-4948-b0ce-a52e42382734: c5306769-7282-4849-b1d8-14c151171f60: c5306769-7282-4849-b1d8-14c151171f60 (<Unknown source>#11) in <Unknown source> at line number 11
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:216)
    at org.ametys.workspaces.repository.ExecuteScriptGenerator.generate(ExecuteScriptGenerator.java:112)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
    at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:267)
    at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:129)
    at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
    at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
    at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    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:127)
    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:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)

Si vous aviez une piste sur ce problème, nous sommes preneurs.
Merci

Offline

#3 09/09/2011 16:08:19

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Re: Ametys 3.2.1

Il semble qu'un de vos contenus soit corrompu...
pour finir d'exécuter le script pour pouvez essayer de le protéger par des try/catch :

importClass(org.ametys.workspaces.repository.ConsoleHelper); 
var query = session.getWorkspace().getQueryManager().createQuery("//element(*, ametys:content)[not(@ametys-internal:currentStepId)]", javax.jcr.query.Query.XPATH); 
var nodes = query.execute().getNodes();
var count = 0; 
while (nodes.hasNext())
{
    try
    {
        node = nodes.next();
        ConsoleHelper.setProperty(node, "ametys-internal:currentStepId", new java.lang.Long(1));
        node.save();
        count++;
    }
    catch (e)
    {
        println("exception occurred while setting stepId");
    }
} 
println(count + " nodes modified");

Sinon, ce script n'est pas non plus obligatoire, le bug ne concernait que les contenus qui n'avaient jamais été édités.

Offline

#4 12/09/2011 15:02:25

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Bonjour,

Le script est passé avec une exception sur un noeud, mais a traiter un autre noeud. Merci
Suite à la migration en 3.2.1, nous rencontrons un problème sur le service "remontée de contenu" avec type "actualités" et vue "résumé".
voilà les détails de l'erreur complète dans les logs :

2011-09-12 14:50:46,125 ERROR [sitemap] (http-8080-5;/inpt/fr/actualites.html) Unable to display zone item
org.apache.cocoon.ProcessingException: Failed to process pipeline
        at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:896:33
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:892:33
        at <map:transform type="xslt"> - resource://org/ametys/web/sitemap.xmap:880:55
        at <map:generate type="filtered-contents"> - resource://org/ametys/web/sitemap.xmap:879:46
        at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:181)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140)
        at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:323)
        at org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:216)
        at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:159)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
        at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
        at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
        at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
        at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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:127)
        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:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
        at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:193:32
        at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:188:50
        at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1252:50
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1248:48
        at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1247:64
        at <map:transform> - resource://org/ametys/web/sitemap.xmap:1237:110
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1233:48
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
        at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141)
        at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97)
        at org.ametys.web.filter.FilteredContentsGenerator.generate(FilteredContentsGenerator.java:68)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        ... 56 more
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
        at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:193:32
        at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:188:50
        at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1252:50
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1248:48
        at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1247:64
        at <map:transform> - resource://org/ametys/web/sitemap.xmap:1237:110
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1233:48
        at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
        at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
        ... 60 more
Caused by: java.util.NoSuchElementException
        at java.util.AbstractList$Itr.next(AbstractList.java:350)
        at org.ametys.cms.content.ContentGenerator._saxWorkflowStep(ContentGenerator.java:214)
        at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:133)
        at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97)
        at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        ... 70 more

Nous pensions que c'était peut-être dû à une surcharge faite dans un skin des vues du plugin news (avec news-abstract.xsl et news-link.xsl), mais l'erreur persiste même si l'on enlève cette surcharge.

Last edited by François Jannin (12/09/2011 16:22:42)

Offline

#5 12/09/2011 15:41:30

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Re-bonjour,

Dans les logs nous avons également une erreur relative au workflow semble-t-il (produit lors de l'accès au cms / tableau de bord ) :

2011-09-12 15:06:47,038 ERROR [sitemap.handled-errors] (http-8080-5;/plugins/web/contents/todo-list.xml) Failed to process pipeline
        at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:1463:44
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1459:56
        at <map:generate type="workflow-tasks"> - resource://org/ametys/web/sitemap.xmap:1454:53
        at <map:mount> - resource://org/ametys/cms/workspace/sitemap.xmap:170:81
org.apache.cocoon.ProcessingException: Failed to process pipeline
        at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:1463:44
        at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1459:56
        at <map:generate type="workflow-tasks"> - resource://org/ametys/web/sitemap.xmap:1454:53
        at <map:mount> - resource://org/ametys/cms/workspace/sitemap.xmap:170:81
        at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
        at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
        at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
        at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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:127)
        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:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
        at org.ametys.cms.workflow.WorkflowTasksComponent._saxContentCurrentState(WorkflowTasksComponent.java:589)
        at org.ametys.cms.workflow.WorkflowTasksComponent._saxContent(WorkflowTasksComponent.java:321)
        at org.ametys.cms.workflow.WorkflowTasksComponent._saxTask(WorkflowTasksComponent.java:265)
        at org.ametys.web.workflow.WorkflowTasksComponent.toSAX(WorkflowTasksComponent.java:241)
        at org.ametys.web.workflow.WorkflowTasksGenerator.saxTasks(WorkflowTasksGenerator.java:50)
        at org.ametys.cms.workflow.WorkflowTasksGenerator.generate(WorkflowTasksGenerator.java:75)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
        ... 59 more



Merci

Last edited by François Jannin (12/09/2011 16:19:21)

Offline

#6 12/09/2011 15:59:27

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Re: Ametys 3.2.1

pour les deux derniers problèmes, il me faudrait un extrait de logs plus grand, il n'y a pas l'exception initiale

Offline

#7 12/09/2011 16:23:21

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Je viens d'éditer les posts pour compléter les logs.

Merci

Offline

#8 12/09/2011 18:15:57

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Re: Ametys 3.2.1

Je pense que les deux problèmes sont liés (et c'est vraisemblablement le même contenu qui plantait lors du script de migration)
Il s'agit d'un problème de données liées au workflow d'un contenu, donc rien à voir avec la vue de remontée de contenus que vous pouvez avoir surchargée.
Vous avez un contenu qui pointe sur une entrée de workflow qui manifestement n'a pas d'état courant, ce qui normalement est impossible...
Vous pouvez peut-être essayer d'ouvrir le contenu en question si vous arrivez à l'identifier
Si ca ne concerne qu'un seul contenu et que vous savez duquel il s'agit, il est vraisemblablement moins coûteux de le supprimer et de le recréer que d'essayer de réparer les données.

Offline

#9 13/09/2011 09:13:59

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Bonjour,

Merci pour ces précisions et cette analyse. Nous allons essayer d'identifier le contenu corrompu.

Offline

#10 05/10/2011 10:57:54

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.2.1

Bonjour,

Avec un peu de retard, merci pour la piste du contenu corrompu, c'était bien cela.

Offline

Board footer

Powered by FluxBB