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

NPE exception during the import of TCK demo file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • xCM 6.0
    • xCM 6.0
    • None

    Description

      The demo import file is on qa server: Demo Import File\Andromeda\TCK Demo file\export_14.01.2009 12_20.zip
      and here the exception I had in the console.

      2009-01-26 16:14:06,781: INFO [org.jahia.services.content.automation.Service] - Import file /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174726.zip
      2009-01-26 16:14:06,781: ERROR [org.jahia.services.content.automation.Service] - Error during import of file /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174726.zip
      java.lang.NullPointerException
      at org.jahia.services.content.automation.Service.importNode(Service.java:213)
      at org.jahia.services.content.automation.Rule_Import_file_0.consequence(Unknown Source)
      at org.jahia.services.content.automation.Rule_Import_file_0ConsequenceInvoker.evaluate(Unknown Source)
      at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)
      at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:462)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:434)
      at org.drools.reteoo.ReteooStatelessSession.execute(ReteooStatelessSession.java:162)
      at org.jahia.services.content.automation.RulesListener.onEvent(RulesListener.java:337)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:145)
      at java.lang.Thread.run(Thread.java:595)
      2009-01-26 16:14:06,812: INFO [org.jahia.services.cache.CacheFactory] - Flushed all caches.
      2009-01-26 16:14:06,812: INFO [org.jahia.services.content.automation.RulesListener] - Import file
      2009-01-26 16:14:06,812: INFO [org.jahia.services.content.automation.RulesListener] - Properties extraction fired
      2009-01-26 16:14:06,812: INFO [org.jahia.services.content.automation.RulesListener] - Rules executed for [/content/users/root/private/imports/importInto_ContentContainerList_88_20090113174726.zip/jcr:content/jcr:mimeType, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174726.zip/jcr:content/jcr:data, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174726.zip/j:filename] ... and 3 other nodes
      2009-01-26 16:14:06,843: INFO [org.jahia.services.content.automation.RulesListener] - Executing rules for [/content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/jcr:content/jcr:mimeType, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/jcr:content/jcr:data, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/j:filename] ... and 3 other nodes
      2009-01-26 16:14:06,843: INFO [org.jahia.services.content.automation.Service] - Import file /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip
      2009-01-26 16:14:06,843: ERROR [org.jahia.services.content.automation.Service] - Error during import of file /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip
      java.lang.NullPointerException
      at org.jahia.services.content.automation.Service.importNode(Service.java:213)
      at org.jahia.services.content.automation.Rule_Import_file_0.consequence(Unknown Source)
      at org.jahia.services.content.automation.Rule_Import_file_0ConsequenceInvoker.evaluate(Unknown Source)
      at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)
      at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:462)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:434)
      at org.drools.reteoo.ReteooStatelessSession.execute(ReteooStatelessSession.java:162)
      at org.jahia.services.content.automation.RulesListener.onEvent(RulesListener.java:337)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:145)
      at java.lang.Thread.run(Thread.java:595)
      2009-01-26 16:14:06,906: INFO [org.jahia.services.cache.CacheFactory] - Flushed all caches.
      2009-01-26 16:14:06,906: INFO [org.jahia.services.content.automation.RulesListener] - Import file
      2009-01-26 16:14:06,906: INFO [org.jahia.services.content.automation.RulesListener] - Properties extraction fired
      2009-01-26 16:14:06,921: INFO [org.jahia.services.content.automation.RulesListener] - Rules executed for [/content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/jcr:content/jcr:mimeType, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/jcr:content/jcr:data, /content/users/root/private/imports/importInto_ContentContainerList_88_20090113174803.zip/j:filename] ... and 3 other nodes

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              aafshar aafshar [X] (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 6.0