# Invalid UUID string on solution import

**URL:** <https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757>\
**Category:** Classic Servoy\
**Created:** [March 31, 2012, 8:37am UTC](https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757 "2012-03-31T08:37:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [March 31, 2012, 8:37am UTC](https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757/1 "2012-03-31T08:37:03Z")

</div>

I am getting some strange behaviour and errors when trying to update my solution in the repository.

I must admit that i have had some DB issues and therefore gone back to an old copy of the repository, but i don’t think the servoy 5.2.9 version has changed.

on import of the latest version i get

```auto
com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: java.lang.IllegalArgumentException: Invalid UUID string: C6194DC4-788F-44A9-AC93-823FF07844A0C6194DC4-788F-44A9-AC93-823FF07844A0 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:1139) 
        at com.servoy.j2db.server.Ze.Zl.importRootObject(Zl.java:91) 
        at com.servoy.j2db.server.Ze.Zeb.Za(Zeb.java:153) 
        at com.servoy.j2db.server.Ze.Zeb.importFromJarFile(Zeb.java:317) 
        at com.servoy.j2db.server.servlets.ConfigServlet.Zj(ConfigServlet.java:3499) 
        at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:351) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) 
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) 
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) 
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) 
        at java.lang.Thread.run(Thread.java:680) 
    Caused by: com.servoy.j2db.persistence.RepositoryException: java.lang.IllegalArgumentException: Invalid UUID string: C6194DC4-788F-44A9-AC93-823FF07844A0C6194DC4-788F-44A9-AC93-823FF07844A0 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:241) 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:1627) 
        ... 19 more 
    Caused by: java.lang.IllegalArgumentException: Invalid UUID string: C6194DC4-788F-44A9-AC93-823FF07844A0C6194DC4-788F-44A9-AC93-823FF07844A0 
        at com.servoy.j2db.util.UUID.fromString(UUID.java:128) 
        at com.servoy.j2db.persistence.AbstractPersistFactory.getElementIdForUUIDString(AbstractPersistFactory.java:89) 
        at com.servoy.j2db.persistence.AbstractPersistFactory.convertArgumentStringToObject(AbstractPersistFactory.java:271) 
        at com.servoy.j2db.server.Zc.Za.convertArgumentStringToObject(Za.java:758) 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:833) 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:179) 
        at com.servoy.j2db.server.Zc.Za.Za(Za.java:584) 
        ... 20 more

```

Does anyone know what this could mean?

David

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [March 31, 2012, 9:24am UTC](https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757/2 "2012-03-31T09:24:31Z")

</div>

Muy advice, don’t fuzz around with repositories ![:-)]( "Smile")

cleanup your repository or create a new one, and import your solutions.

---

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [March 31, 2012, 10:08am UTC](https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757/3 "2012-03-31T10:08:31Z")

</div>

OK,

Can i check, if i issue ./servoy\_server.sh -c upgradeRepository

command, will that ask me for a new db name or will it overwite the current servoy\_repository in the servoy.properties file?

It is not clear from the documentation.

Thanks

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [May 1, 2012, 6:44am UTC](https://forum.servoy.com/t/invalid-uuid-string-on-solution-import/15757/4 "2012-05-01T06:44:35Z")

</div>

it will upgrade the repository if needed that is found in the “repository\_server” server  
Or it will create a new one when no repository tables are found on that server
