Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12025

Nullpointer exception when skipping the last space of the XAR

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.4.3
    • Fix Version/s: 6.4.4, 7.0.1, 7.1-milestone-1
    • Component/s: Filter - XAR
    • Labels:
    • Environment:
      Ubuntu 14.04.2 LTS
      Tomcat7 (Ubuntu package)
      MySql Version: '5.5.41-0ubuntu0.14.04.1' (Ubuntu package)
      XWIKI WAR Installation
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      In a subwiki, I do "Administration/Import".
      If I import the complete file, then no errors.
      If I import only one space, then I get a null pointer exception at the end of the job. All the files have been imported.
      See: http://xwiki.475771.n2.nabble.com/XWIKI-7-0-Admin-IMPORT-fails-with-NULL-POINTER-tt7594647.html#a7594656

      The workaround is to remove directly from the XAR package (it's a zip file) the pages you don't want to import.

        Attachments

        1. catalina.out
          45 kB
          Claude Ledermann
        2. ICWIKI-OLD-20150414-A.xar
          572 kB
          Claude Ledermann
        3. ICWIKI-OLD-20150414-A-lite.xar
          10 kB
          Thomas Mortagne

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              icled Claude Ledermann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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