# (Strange) error importing solution

**URL:** <https://forum.servoy.com/t/strange-error-importing-solution/17669>\
**Category:** Classic Servoy\
**Created:** [December 5, 2013, 8:21am UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669 "2013-12-05T08:21:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan.cristobo](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@juan.cristobo](https://forum.servoy.com/u/juan.cristobo)\
**Post date:** [December 5, 2013, 8:21am UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669/1 "2013-12-05T08:21:29Z")

</div>

Hi all,

I have 4 solutions in server. When I make changes in a solution, I export and then import it in Server, creating a new realease. Ok. But there’s one (and only one) solution that I can’t import it!! When I try to import it I receive there error messages:

```auto
[error]	Solution 'RegTime' already exists. Import failed.
[error]	Operation cancelled

```

I the log I see this message:

```auto
com.servoy.j2db.persistence.RepositoryException: Operation cancelled 
    	at com.servoy.j2db.server.Zc.Zk.getRootObjectNameForImport(Zk.java:408) 
    	at com.servoy.j2db.server.Zc.Zdb.Za(Zdb.java:428) 
    	at com.servoy.j2db.server.Zc.Zdb.importFromJarFile(Zdb.java:63) 
    	at com.servoy.j2db.server.servlets.ConfigServlet.Zi(ConfigServlet.java:327) 
    	at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:1506) 
    	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.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) 
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) 
    	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) 
    	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) 
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    	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:127) 
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) 
    	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:861) 
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) 
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) 
    	at java.lang.Thread.run(Unknown Source)

```

Perhaps, if I delete the solution and then import it again, I can, but why I receive that error message only with that solution?

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [December 5, 2013, 5:19pm UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669/2 "2013-12-05T17:19:03Z")

</div>

When we start getting errors like this our default fix is to wipe the repository and reinstall all of the solutions. Occasionally the repository can get out of whack.

---

<div class="post-metadata">

**Author:** ![juan.cristobo](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@juan.cristobo](https://forum.servoy.com/u/juan.cristobo)\
**Post date:** [December 5, 2013, 5:27pm UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669/3 "2013-12-05T17:27:38Z")

</div>

> david:  
> When we start getting errors like this our default fix is to wipe the repository and reinstall all of the solutions. Occasionally the repository can get out of whack.

Wow ![:cry:]( "Crying or Very sad") ![:cry:]( "Crying or Very sad") ![:cry:]( "Crying or Very sad")

If no one gives me a better fix, I’ll have to do it.

Thanks, David!

---

<div class="post-metadata">

**Author:** ![juan.cristobo](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@juan.cristobo](https://forum.servoy.com/u/juan.cristobo)\
**Post date:** [December 9, 2013, 1:40pm UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669/4 "2013-12-09T13:40:31Z")

</div>

I’ve deleted the solution, restarted the server and imported the solution. It worked, but when I’ve tried to import the solution again, I receive the same error message.

As David suggested, I’ll have to create a new repository and import all my solutions, but it’s very annoying… and the problem is only with one solution ![:?]( "Confused")

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [December 16, 2013, 9:42am UTC](https://forum.servoy.com/t/strange-error-importing-solution/17669/5 "2013-12-16T09:42:05Z")

</div>

Juan,

Please create a case in the support system with the .servoy file attached so we can investigate this [https://support.servoy.com/](https://support.servoy.com/) .  
The repository should never get out of whack.

Rob
