<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Strange Error - ServerToServerProjectDeployer.clearCaches</title><link>https://answers.axonivy.com/questions/1236/strange-error-servertoserverprojectdeployer-clearcaches</link><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i want to deploy a new version of a iar and this error is thrown :&lt;/p&gt;
&lt;p&gt;14:26:50.843 ERROR [ch.ivyteam.ivy.deployment.restricted.helper] [Ivy project deployment] [executionContext=SYSTEM] 
  Could not deploy process model version APEL$Apel$2
    java.lang.NullPointerException
        at ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.clearCaches(ServerToServerProjectDeployer.java:198)
        at ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.deployAsSystem(ServerToServerProjectDeployer.java:141)
        at ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer$1.call(ServerToServerProjectDeployer.java:111)
        at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1439)
        at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem2(SecurityManager.java:1456)
        at ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.deploy(ServerToServerProjectDeployer.java:106)
        at ch.ivyteam.ivy.deployment.restricted.helper.RichDialogBasedDeployment.deploy(RichDialogBasedDeployment.java:133)
        at ch.ivyteam.ivy.deployment.restricted.helper.RichDialogBasedDeployment$DeploymentThread$1.call(RichDialogBasedDeployment.java:228)
        at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1439)
        at ch.ivyteam.ivy.deployment.restricted.helper.RichDialogBasedDeployment$DeploymentThread.run(RichDialogBasedDeployment.java:223)&lt;/p&gt;
&lt;p&gt;I have no idea what is can be.  Could you help me ?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start adminUI&lt;/li&gt;
&lt;li&gt;right click on the application and choose deployment wizard&lt;/li&gt;
&lt;li&gt;get the iar (local or server is the same)&lt;/li&gt;
&lt;li&gt;validating OK&lt;/li&gt;
&lt;li&gt;press the deploy button then the error&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;[INFO] Deploying project '2_203_2' by user 'xivyadmin' from host 'xpert-ivy1'
[INFO] Destination:
[INFO] - Application: APEL
[INFO] - Process Model: Apel
[INFO] - Process Model Version: 2&lt;/p&gt;
&lt;p&gt;[INFO] Synchronize project directory ...
[INFO] - Cleaning target directory ...
[INFO] - Copying new project files to target directory ...
[INFO] Successful synchronized.&lt;/p&gt;
&lt;p&gt;[ERROR] null
    ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.clearCaches(ServerToServerProjectDeployer.java:198)
    ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.deployAsSystem(ServerToServerProjectDeployer.java:141)
    ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer$1.call(ServerToServerProjectDeployer.java:111)
    ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1439)
    ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem2(SecurityManager.java:1456)
    ch.ivyteam.ivy.deployment.internal.ServerToServerProjectDeployer.deploy(ServerToServerProjectDeployer.java:106)
    ch.ivyteam.ivy.deployment.ProjectDeployment.deploy(ProjectDeployment.java:50)
    ch.ivyteam.ivy.admin.tool.deploymentwizardserver.deployment.DeploymentManager$DeploymentThread$1.call(DeploymentManager.java:214)
    ch.ivyteam.ivy.admin.tool.deploymentwizardserver.deployment.DeploymentManager$DeploymentThread$1.call(DeploymentManager.java:126)
    ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1439)
    ch.ivyteam.ivy.admin.tool.deploymentwizardserver.deployment.DeploymentManager$DeploymentThread.run(DeploymentManager.java:125)&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1236/strange-error-servertoserverprojectdeployer-clearcaches" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 19 Mar 2015 20:15:14 -0400</lastBuildDate><item><title>Answer by dbalasse</title><link>https://answers.axonivy.com/questions/1236/strange-error-servertoserverprojectdeployer-clearcaches/1237</link><description>&lt;p&gt;I found the problem.
For some reason (somewhere between the chair and the screen) the cms directory was missing.&lt;/p&gt;
&lt;p&gt;The strange thing is that no xivy tool was able to tell me that cms was not there.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The designer didn't saw it until I tried to open the cms.&lt;/li&gt;
&lt;li&gt;The project was exported normally.  No error.&lt;/li&gt;
&lt;li&gt;The validationg tool in the adminUI had no problem neither.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is only when the engine tried to deploy that it blew.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dbalasse</dc:creator><pubDate>Thu, 19 Mar 2015 20:15:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/1236/strange-error-servertoserverprojectdeployer-clearcaches/1237</guid></item></channel></rss>