Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-290

NullPointerException when creating directories under import

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1-incubating
    • 3.1-incubating
    • Platform
    • None

    Description

      The feature introduced by MARMOTTA-145 does not work properly when directories are created under the import directory:

      Exception in thread "ImportWatch(start:Tue Aug 27 13:15:12 CEST 2013,path:/home/sergio/projects/marmotta/git/launchers/marmotta-webapp/home/import)" java.lang.NullPointerException
      at org.apache.marmotta.platform.core.services.importer.ImportWatchServiceImpl.execImport(ImportWatchServiceImpl.java:145)
      at org.apache.marmotta.platform.core.services.importer.ImportWatchServiceImpl$1.run(ImportWatchServiceImpl.java:110)
      at java.lang.Thread.run(Thread.java:724)

      So better NIO handling may be required for those cases.

      Attachments

        Issue Links

          Activity

            People

              wikier Sergio Fernández
              wikier Sergio Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified