Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.d Community, 4.2 Enterprise
    • Fix Version/s: 4.2 Enterprise
    • Component/s: ZZ_Archive
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Postgresql, MariaDB, Ubuntu 12.04, MacOSX.
    • Resolution Time Custom Field:
      2 weeks, 3 days, 23 hours, 48 minutes, 9 seconds

      Description

      When doing a test upgrade to 4.2.d-e (nightly revision 55477) it fails for patch.sharedFolder. Logs of error attached.

      2013-09-20 10:43:20,881  ERROR [admin.patch.PatchExecuter] [localhost-startStop-1] 08200001 org.alfresco.error.AlfrescoRuntimeException: 08200000 Bootstrap failed
      	at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:362)
      	at org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch.applyInternal(GenericBootstrapPatch.java:123)
      	at org.alfresco.repo.admin.patch.impl.SharedFolderPatch.applyInternal(SharedFolderPatch.java:180)
      ...
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 25; column 16 due to error: null
      	at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:194)
      	at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:422)
      	at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:260)
      	at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:476)
      	at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:71)
      	at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:351)
      	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:449)
      	at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:355)
      	at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:546)
      	at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:358)
      	... 56 more
      Caused by: java.lang.NullPointerException
      	at org.alfresco.repo.importer.ImporterComponent$NodeImporter.getAssocType(ImporterComponent.java:1014)
      	at org.alfresco.repo.importer.ImporterComponent$NodeImporter.access$2300(ImporterComponent.java:471)
      	at org.alfresco.repo.importer.ImporterComponent$NodeImporter$CreateNewNodeImporterStrategy.importNode(ImporterComponent.java:1393)
      	at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importNode(ImporterComponent.java:616)
      	at org.alfresco.repo.importer.view.ViewParser.importNode(ViewParser.java:921)
      	at org.alfresco.repo.importer.view.ViewParser.processEndType(ViewParser.java:885)
      	at org.alfresco.repo.importer.view.ViewParser.processEndElement(ViewParser.java:865)
      	at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:182)
      	... 65 more
      

      The cause of this may be because I'm testing with

      system.bootstrap.config_check.strict=false


      and an empty content store (its large, and client do not want files to be taken off premise).
      Doing this usually works very well to determine if an upgrade will work.

      I did however find a setting that made my test upgrades work

      system.patch.sharedFolder.deferred=true

      But what does this actually do? Logging into Alfresco Explorer I cannot see the Shared folder, but the patch is registered as being run.

      Same happens with both MariaDB and Postgresql.
      MariaDB test was 4.2.c -> 4.2.e nightly
      Postgresql was 4.0.d -> 4.2.a -> 4.2.c -> 4.2.e nightly
      Postgresql one was interesting, all patches ran fine with empty contentstore except for patch.sharedFolder.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                loftux Peter Löfgren
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: