Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-3223

SP4: Copy/paste of a box with a portlet (with role) - still some exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • xCM 5.0 SP4
    • xCM 5.0 SP4
    • None
    • Sp4 21102

    Description

      I have two sites in two lang. On one site I created a box with a portlet (SQL clipplet with some role and users available only on site 1). Once validated I did a copy of this portlet box on another section which is also the source of a linked copy to my second site (second site in no workflow).

      I got this XML error in the process:

      2008-06-12 15:42:22,671: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/op/edit/engineName/clipboard/pid/25] user=[root] ip=[127.0.0.1] in [78ms]
      2008-06-12 15:42:22,734: INFO [org.jahia.services.scheduler.BackgroundJob] - execute Background job BackgroundJob-bb5a4696-8036-4d73-acdc-357b557aaf10
      started @ Thu Jun 12 15:42:22 CEST 2008
      2008-06-12 15:42:22,734: INFO [org.jahia.services.importexport.ImportHandler] - Import starts (de)
      2008-06-12 15:42:23,140: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/op/edit/home/links/pid/25] user=[root] ip=[127.0.0.1] in [15ms]
      2008-06-12 15:42:23,359: INFO [org.jahia.services.importexport.ImportHandler] - Imported 6 elements
      2008-06-12 15:42:23,359: INFO [org.jahia.services.importexport.ImportHandler] - Import starts (fr)
      2008-06-12 15:42:23,890: ERROR [org.jahia.services.importexport.ImportHandler] - Cannot retrieve application roles
      java.lang.NullPointerException
      at org.jahia.services.importexport.ImportHandler.updateField(ImportHandler.java:1399)
      at org.jahia.services.importexport.ImportHandler.update(ImportHandler.java:1260)
      at org.jahia.services.importexport.ImportHandler.startElement(ImportHandler.java:574)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1084)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1120)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1120)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1120)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:647)
      at org.jahia.services.importexport.ImportExportBaseService.copy(ImportExportBaseService.java:2404)
      at org.jahia.services.importexport.ImportExportBaseService.copy(ImportExportBaseService.java:2351)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.copy(<generated>)
      at org.jahia.services.importexport.CopyJob.executeJahiaJob(CopyJob.java:72)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2008-06-12 15:42:23,921: INFO [org.jahia.services.importexport.ImportHandler] - Imported 7 elements
      2008-06-12 15:42:24,250: INFO [org.jahia.services.scheduler.BackgroundJob] - Background job (of type copypaste) ended with status successful executed in 1s
      2008-06-12 15:42:34,750: ERROR [org.jahia.params.ParamBean] - Unable to check server name validity: test
      12 juin 2008 15:42:34 org.jahia.clipping.sql.portlet.QueryPortlet doView
      INFO: Executing QueryPortlet's doView method.

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 5.0 SP4