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)

Hello.

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

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:214)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
... 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(XmlImportMain.java:555)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:668)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXmlSecondPass(XmlImportMain.java:495)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(XmlImportMain.java:249)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(XmlImportMain.java:203)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportGsh.main(XmlImportGsh.java:130)
... 7 more
Caused by: org.dom4j.DocumentException: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688' Nested exception: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688'
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain$3.callback(XmlImportMain.java:537)
... 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 ?

Regards

--
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