iceScrum | Error when trying to import a project – iceScrum

iceScrum Forums Discutez d'iceScrum

3 sujets de 1 à 3 (sur un total de 3)

  • Auteur
    Messages
  • #17383

    isabela.fcar
    Participant

    I was working without any system before, so I had an excel to manage my backlog. When we decide to use Icescrum, I created a project, exported it and then added the info to my backlog into the xml and tryed to export.

    I could upload a part of it, but when I try to upload the whole thing, this error appears:

    Error 500: Executing action [saveImport] of controller [org.icescrum.web.presentation.app.project.ProjectController] caused exception: failed to lazily initialize a collection of role: org.icescrum.core.domain.Team.members, no session or session was closed
    Servlet: grails
    URI: /icescrum/grails/project/saveImport.dispatch

    Exception Message: failed to lazily initialize a collection of role: org.icescrum.core.domain.Team.members, no session or session was closed
    Caused by: failed to lazily initialize a collection of role: org.icescrum.core.domain.Team.members, no session or session was closed
    Class: GrailsFragmentCachingFilter
    At Line: [66]
    Code Snippet:

    productd.name: My project 8productd: [« erasableByUser »: »0″, « name »: »My project 8″, « pkey »: »PROJ8″]productd.erasableByUser: 0productd.pkey: PROJ8action: saveImportcontroller: project

    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.icescrum.core.domain.Team.members, no session or session was closed
    at org.icescrum.core.domain.Product$_getAllUsers_closure1.doCall(Product.groovy:139)
    at org.icescrum.core.domain.Product.getAllUsers(Product.groovy:138)
    at org.icescrum.core.domain.Product$getAllUsers.call(Unknown Source)
    at org.icescrum.web.presentation.app.project.ProjectController.validateImport(ProjectController.groovy:735)
    at org.icescrum.web.presentation.app.project.ProjectController.this$2$validateImport(ProjectController.groovy)
    at org.icescrum.web.presentation.app.project.ProjectController$_closure18.doCall(ProjectController.groovy:679)
    at org.icescrum.web.presentation.app.project.ProjectController$_closure18.doCall(ProjectController.groovy)
    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I am using icescrum R6#14.8 and Mysql.

    Thanks

    #17389

    Vincent Barrier
    Maître des clés

    Hello Isabela,

    You may have done something wrong in your custom cml export. Could you give the file? (support@kagilum.com) We should be able to see what’s wrong.

    There is another way to import data in iceScrum. REST API: more information here: https://www.icescrum.com/documentation/section/rest-api/

    #17394

    isabela.fcar
    Participant

    Problem solved, Vincent, thanks for the help

3 sujets de 1 à 3 (sur un total de 3)

Le forum ‘Questions and help’ est fermé à de nouveaux sujets et réponses.