Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #11164 Fatal error when importing artifacts
    Infos
    #11164
    Nicolas Terray (nterray)
    2018-02-19 13:12
    2018-02-19 13:04
    11505
    Details
    Fatal error when importing artifacts
    debug [XML import][art #16297] Changeset(s) to create: 5
    info [XML import][art #16297] art #254
    debug [XML import][art #16297] initial changeset
    warn [XML import][art #16297] Unexpected error at changeset 0: Unknown user format
    debug [XML import][art #16297] changeset 1
    PHP Fatal error: Call to a member function getValues() on null in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetDataInitializator.class.php on line 37
    PHP Stack trace:
    PHP 1. {main}() /usr/share/tuleap/src/utils/import_project_xml.php:0
    PHP 2. ProjectXMLImporter->importFromArchive() /usr/share/tuleap/src/utils/import_project_xml.php:323
    PHP 3. ProjectXMLImporter->importFromXMLIntoExistingProject() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:196
    PHP 4. ProjectXMLImporter->importContent() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:211
    PHP 5. EventManager->processEvent() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:277
    PHP 6. EventManager->processEventOnListener() /usr/share/tuleap/src/common/event/EventManager.class.php:94
    PHP 7. PluginProxy->processEvent() /usr/share/tuleap/src/common/event/EventManager.class.php:106
    PHP 8. trackerPlugin->import_xml_project() /usr/share/tuleap/src/common/plugin/PluginProxy.php:64
    PHP 9. TrackerXmlImport->import() /usr/share/tuleap/plugins/tracker/include/trackerPlugin.class.php:910
    PHP 10. TrackerXmlImport->importChangesets() /usr/share/tuleap/plugins/tracker/include/TrackerXmlImport.class.php:257
    PHP 11. Tracker_Artifact_XMLImport->importArtifactChangesFromXML() /usr/share/tuleap/plugins/tracker/include/TrackerXmlImport.class.php:446
    PHP 12. Tracker_Artifact_XMLImport->importChangesets() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:188
    PHP 13. Tracker_Artifact_XMLImport->importAllChangesetsBySubmitionDate() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:250
    PHP 14. Tracker_Artifact_XMLImport->importRemainingChangeset() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:297
    PHP 15. Tracker_Artifact_Changeset_NewChangesetCreatorBase->create() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:365
    PHP 16. Tracker_Artifact_Changeset_NewChangesetCreatorBase->validateNewChangeset() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php:91
    PHP 17. Tracker_Artifact_Changeset_ChangesetDataInitializator->process() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php:251

    Fatal error: Call to a member function getValues() on null in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetDataInitializator.class.php on line 37

    Call Stack:
    0.0004 283384 1. {main}() /usr/share/tuleap/src/utils/import_project_xml.php:0
    0.1309 24701904 2. ProjectXMLImporter->importFromArchive() /usr/share/tuleap/src/utils/import_project_xml.php:323
    1.3649 26031648 3. ProjectXMLImporter->importFromXMLIntoExistingProject() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:196
    1.3786 26921864 4. ProjectXMLImporter->importContent() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:211
    1.4717 36311272 5. EventManager->processEvent() /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php:277
    1.4717 36311272 6. EventManager->processEventOnListener() /usr/share/tuleap/src/common/event/EventManager.class.php:94
    1.4717 36311272 7. PluginProxy->processEvent() /usr/share/tuleap/src/common/event/EventManager.class.php:106
    1.4717 36311368 8. trackerPlugin->import_xml_project() /usr/share/tuleap/src/common/plugin/PluginProxy.php:64
    1.4869 38436760 9. TrackerXmlImport->import() /usr/share/tuleap/plugins/tracker/include/trackerPlugin.class.php:910
    44.9719 69134600 10. TrackerXmlImport->importChangesets() /usr/share/tuleap/plugins/tracker/include/TrackerXmlImport.class.php:257
    44.9719 69136696 11. Tracker_Artifact_XMLImport->importArtifactChangesFromXML() /usr/share/tuleap/plugins/tracker/include/TrackerXmlImport.class.php:446
    104.6884 90333824 12. Tracker_Artifact_XMLImport->importChangesets() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:188
    104.6885 90334216 13. Tracker_Artifact_XMLImport->importAllChangesetsBySubmitionDate() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:250
    104.6911 90378424 14. Tracker_Artifact_XMLImport->importRemainingChangeset() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:297
    104.6955 90387904 15. Tracker_Artifact_Changeset_NewChangesetCreatorBase->create() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/XMLImport.class.php:365
    104.6958 90388040 16. Tracker_Artifact_Changeset_NewChangesetCreatorBase->validateNewChangeset() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php:91
    104.7002 90395560 17. Tracker_Artifact_Changeset_ChangesetDataInitializator->process() /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php:251

    In attachment the corresponding artifact xml. Unfortunately I cannot give the full project xml for security reasons.
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Attachments artifact.xml added