# Problems with duplicate solution

**URL:** <https://forum.servoy.com/t/problems-with-duplicate-solution/9789>\
**Category:** Classic Servoy\
**Created:** [October 27, 2008, 3:03pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789 "2008-10-27T15:03:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 27, 2008, 3:03pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/1 "2008-10-27T15:03:39Z")

</div>

Hi,

I try to duplicate my solution in order to ad some custom functionality. So I export the active one and than I want to import it again by doing a clean import in the Servoy-admin browser. But I get following error:

> [info] Import contains XML version 14 and repository version 35.  
> [error] com.servoy.j2db.persistence.RepositoryException: Invalid export

Surprising is that if I import the same solution overwriting the existing it works like sunshine. What am I doing wrong?

Thanks for any help

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [October 27, 2008, 3:27pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/2 "2008-10-27T15:27:22Z")

</div>

What error do you have in the log ?

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 27, 2008, 3:36pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/3 "2008-10-27T15:36:52Z")

</div>

Hi Laurian,

This is what the log says:

> com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Invalid export  
> at com.servoy.j2db.persistence.Zfd.Za(Zfd.java)  
> at com.servoy.j2db.persistence.XMLImporter.importFromJarFile(XMLImporter.java)  
> at com.servoy.j2db.server.servlets.ConfigServlet.Zk(ConfigServlet.java)  
> at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java)  
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)  
> 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:230)  
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)  
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)  
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)  
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)  
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)  
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)  
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)  
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)  
> at java.lang.Thread.run(Thread.java:613)  
> Caused by: com.servoy.j2db.persistence.RepositoryException: Invalid export  
> at com.servoy.j2db.persistence.Zfd.Za(Zfd.java)  
> … 18 more

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [October 27, 2008, 3:59pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/4 "2008-10-27T15:59:13Z")

</div>

Hi Irene,

This seems like a bug. Can you post a case in our support system together with a sample?

---

<div class="post-metadata">

**Author:** ![rioba](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@rioba](https://forum.servoy.com/u/rioba)\
**Post date:** [October 27, 2008, 4:09pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/5 "2008-10-27T16:09:13Z")

</div>

I have noticed the exactly same problem in 4.0.1 and 4.1b.

Version: 4.1.0 b4 - build 643  
Java version 1.5.0\_16  
Mac OS X Version 10.5.5

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 27, 2008, 4:20pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/6 "2008-10-27T16:20:05Z")

</div>

Hi Laurian,

I’ve just opened a case.

thanks for the help.

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 30, 2008, 5:02pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/7 "2008-10-30T17:02:40Z")

</div>

For those who are interested, here is the answer of Servoy’s industrious Tech support:

> This is fixed and will be available in next public release. This was hapenning for solution with no team provider that were exported.

Thanks folks

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [November 4, 2008, 2:58pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/8 "2008-11-04T14:58:18Z")

</div>

Hi,

Today I installed 4.1.0 beta 5, and I exported my solution and reimported it as a clean install. And guess what…I have exactly the same problem as before, with exactly the same error log. ![:x]( "Mad")

Can anyone help?

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [November 4, 2008, 3:34pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/9 "2008-11-04T15:34:40Z")

</div>

Hi Irene,

I tried the solution from case in b5 and it works. Are you sure you are running b5 ? You can post the solution here ( or send me through email) and I will have a look.

Regards, Laurian

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [November 4, 2008, 3:54pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/10 "2008-11-04T15:54:47Z")

</div>

Thanks Laurian,  
here is the exported solution, I hope that you can tell me what am I doing wrong.

[081104Coperta.servoy](https://forum.servoy.com/uploads/short-url/682kHeIM8atczHI5fQiGJpW5Zgj.servoy) (1.37 MB)

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [November 4, 2008, 4:04pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/11 "2008-11-04T16:04:34Z")

</div>

Irene,

I can import this solution running 4.1.0 b5 developer from servoy admin page. Are you sure you are on servoy 4.1.0 b5 ( on application server ) ?

Regards, Laurian

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [November 4, 2008, 4:14pm UTC](https://forum.servoy.com/t/problems-with-duplicate-solution/9789/12 "2008-11-04T16:14:25Z")

</div>

Laurian,

You where right, when I installed the new version, I restarted the application server, but I didn’t noticed that it still was on the old version. Now I restarted the computer and it works.

Thanks
