Skip to Content.
Sympa Menu

grouper-users - [grouper-users] xmlimport from 1.6.3 to 2.2.1

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] xmlimport from 1.6.3 to 2.2.1

Chronological Thread 
  • From: Mickael Guyot <>
  • To:
  • Subject: [grouper-users] xmlimport from 1.6.3 to 2.2.1
  • Date: Thu, 23 Apr 2015 15:31:21 +0200 (CEST)


We currently use grouper 1.6.3, and I want to import the datas in a new grouper 2.2.1.
I used -xmlexport to make an xml file and tried to import it in grouper 2.2.2 with -xmlimport, but a got a crash at about 16% with this error :

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
... 2 more
Caused by: java.lang.RuntimeException: Problem reading file: /home/grouper-test/data/export23042015.xml,
Problem in HibernateSession: HibernateSession (2aa96fd2): new, readonly, NONE, notActiveTransaction, session (null)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain$3.callback(
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXmlSecondPass(
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(
at edu.internet2.middleware.grouper.xml.importXml.XmlImportGsh.main(
... 7 more
Caused by: org.dom4j.DocumentException: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688' Nested exception: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688'
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain$3.callback(
... 12 more

The grouper 2.2.1 is a fresh install, there is only the etc folder. We use PostgreSQL.

Can someone tell me if I did something wrong and how to import successfully from grouper 1.6 to grouper 2.2 ?


Mickaël Guyot                                  
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66                            

Archive powered by MHonArc 2.6.16.

Top of Page