Jump to content
Welcome to our new Citrix community!
  • 0

Upgraded to 2312 --> "A function was called with an invalid parameter" when publishing a template


MBi

Question

Hello,

 

Since upgraded to 2312 I cannot publish anymore a template.

Connector : vCenter

 

 

 

Quote

2023-12-28 10:32:40,731 ERROR  [400]        AsyncWorkItemManag: WorkItem with id 42139662 finished with an exception: Uni.Core.Handlers.Exceptions.LocalizedErrorException`1[Uni.Core.Contract.Results.MmfErrorCategory]: A function was called with an invalid parameter.
  at Uni.Core.Contract.Results.ApplicationError.Throw () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Uni.Core\Contract\Results\ApplicationError.cs:430 
  at Unidesk.Ma.MaService.Services.CompositingEngine.CompositingEngineService.UpdateStatus (System.Int64 itemId, System.Guid jobId, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation rc, Unidesk.Ma.Web.Contract.PeCal.Job& job) [0x000e2] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\CompositingEngine\CompositingEngineService.cs:245 
  at Unidesk.Ma.MaService.Services.CompositingEngine.CompositingEngineService.RunJobToCompletion (System.Int64 itemId, System.String operation, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation cancellation, System.Func`2[T,TResult] start) [0x000db] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\CompositingEngine\CompositingEngineService.cs:168 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.ThrowIfCompletedUnsuccessfully () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:97 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.InternalWait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x0001d] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:63 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:53 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:38 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTask`1[T].get_Result () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTask.cs:34 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskAwaiter`1[T].GetResult () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskAwaiter.cs:43 
  at Unidesk.Ma.MaService.Services.CompositingEngine.CompositingEngineService.RunJob (System.Int64 itemId, System.String operation, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation cancellation, System.Func`2[T,TResult] start) [0x00035] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\CompositingEngine\CompositingEngineService.cs:136 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.ThrowIfCompletedUnsuccessfully () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:97 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.InternalWait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x0001d] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:63 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:53 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:38 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskAwaiter.GetResult () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskAwaiter.cs:30 
  at Unidesk.Ma.MaService.Services.AsyncWorkItemHandlers.ExportImageWorkItemHandler.Handle (System.Int64 itemId, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation cancellation) [0x00610] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\AsyncWorkItemHandlers\ExportImageWorkItemHandler.cs:124 
  at Unidesk.Ma.MaService.Services.AsyncWorkItemHandlers.ExportImageWorkItemHandler.Handle (System.Int64 itemId, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation cancellation) [0x00a53] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\AsyncWorkItemHandlers\ExportImageWorkItemHandler.cs:176 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.ThrowIfCompletedUnsuccessfully () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:97 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.InternalWait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x0001d] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:63 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait (System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:53 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskBase.Wait () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskBase.cs:38 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTask`1[T].get_Result () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTask.cs:34 
  at Unidesk.Ma.Core.RegisteredTasks.RegisteredTaskAwaiter`1[T].GetResult () [0x00000] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\Core\RegisteredTasks\RegisteredTaskAwaiter.cs:43 
  at Unidesk.Ma.MaService.Services.AsyncWorkItemManager.RunHandler (System.Int64 id, Unidesk.Ma.MaService.Services.Interfaces.IAsyncWorkItemHandler handler, Unidesk.Ma.Core.RegisteredTasks.RegisteredCancellation cancellation) [0x00064] in C:\jenkins\ws-Applayering.Services-23.12.gloucester\Unidesk.Ma\MaService\Services\AsyncWorkItemManager.cs:187 

 

Thanks

 

 

Link to comment

1 answer to this question

Recommended Posts

  • 0

This error occured when the  Layered Image Partition Size (GB) is less than the max OS layer size (xxx GB). 

If I change the Layered Image Partition Size to match the OS Layer size then it will works.

 

Seems to be a bug in this release.

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...