Visualizer 15.1.2 Fails To Create TSLD/GANTT (Doc ID 2051095.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.1.2.0 to 15.1.5.0 [Release 15.1]
Primavera P6 Professional Project Management - Version 15.1.2.0 to 15.1.5.0 [Release 15.1]
Information in this document applies to any platform.

Symptoms

Visualizer fails to create a TSLD/GANTT and the following error occurs:


ERROR
----------

at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
  at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
  at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
  at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
  at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
  at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
  at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
  at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
  at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
  at Primavera.Venus.DataRepository.Definition.SessionRepository.RefreshCurrentSession()
  at Primavera.Venus.Presentation.MainViewModel.OnRefresh()
  at Microsoft.Practices.Prism.PubSubEvents.EventSubscription`1.<>c__DisplayClass2.b__0(Object[] arguments)
  at Microsoft.Practices.Prism.PubSubEvents.EventBase.InternalPublish(Object[] arguments)
  at Primavera.Venus.Infrastructure.BaseViewOrchestrator.CreateNew(ControlCommandRequest request)
  at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<>c__DisplayClass2.b__0(Object arg)
  at Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


Visualizer log from <user_profile>\AppData\Local\Temp contains also this information:

Additional Info:

MachineName : XXXXXXX
TimeStamp : 8/11/2015 1:12:41 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=6.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXX
AppDomainName : Primavera.Visualizer.exe
ThreadIdentity :
WindowsIdentity :XXXXXXX
Inner Exception
---------------
Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object must be of type Decimal.
Source : mscorlib
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : Int32 CompareTo(System.Object)
HResult : -2147024809
Stack Trace : at System.Decimal.CompareTo(Object value)
  at Primavera.Venus.Infrastructure.Types.Entity.Entity.GenerateMinMaxErrors(ColumnMetadata columnData, Object colValue)
  at Primavera.Venus.Infrastructure.Types.Entity.Entity.GenerateEntityErrors()
  at Primavera.Venus.Infrastructure.Types.Entity.Entity.Validate()
  at Primavera.Venus.Infrastructure.Types.Entity.EntitySet`1.b__11(TEntity x)
  at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
  at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
  at System.Linq.Parallel.SpoolingTaskBase.Work()
  at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
  at System.Threading.Tasks.Task.Execute()



STEPS OR EVENTS THAT LEAD TO THE ISSUE OCCURRING
---------------------------------------------------------------

1. Start P6 Professional
2. Go to Tools - Visualizer
3. Create a new TSLD/GANTT

The issue can be reproduced starting Visualizer separately from the P6 Professional installation folder\P6Tools\Primavera.Visualizer.exe

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms