0

Object reference not set to an instance of an object.

Anonüümne 7 aastat tagasi Studio 0
Server Version : 2.0.2.14 Studio Version : 2.0.2.14 Email Address : No Email Provided Steps to follow : Elmo: Step1 - Created a folder in the studio Step2 - Created a subfolder in the folder created in step1 Step3 - Created a subfolder created in step2, this is where the error got raised. at Dev2.Studio.Core.ExplorerUpdateManagerProxy.AddFolder(String path, String name, Guid id) at Dev2.Studio.Core.StudioServerProxy.CreateFolder(String parentPath, String name, Guid id) at Warewolf.Studio.ViewModels.ExplorerItemViewModel.set_ResourceName(String value) at Warewolf.Studio.ViewModels.ExplorerItemViewModelCommandController.CreateChild(String name, Guid id, IServer server, ExplorerItemViewModel explorerItem, Action`1 selectAction) at Warewolf.Studio.ViewModels.ExplorerItemViewModel.CreateNewFolder() at Warewolf.Studio.ViewModels.ExplorerItemViewModel.b__108_36(Object o) at Dev2.Runtime.Configuration.ViewModels.Base.DelegateCommand.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) Warewolf Studio log file : 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - System.Net.SystemNetworkCredential 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - ***** Attempting Server Hub : https://rsaklfmnathz:3143/dsf -> \DEV2\Elmans.vanwyk 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - System.Net.SystemNetworkCredential 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - ***** Attempting Server Hub : https://pieter:3143/dsf -> \DEV2\Elmans.vanwyk 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - System.Net.SystemNetworkCredential 2017-09-21 09:58:08,699 DEBUG - [Warewolf Debug] - ***** Attempting Server Hub : https://rsaklfnkosinathi:3143/dsf -> \DEV2\Elmans.vanwyk 2017-09-21 10:01:50,773 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"FindResourcesByID","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","GuidCsv":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":36,"m_StringValue":"b08e1b39-51f4-4522-ae9e-24bb8e8684a2","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:01:50,812 ERROR - [Warewolf Error] - Multiple Resources found for Resource ID: b08e1b39-51f4-4522-ae9e-24bb8e8684a2 2017-09-21 10:01:50,817 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"FindDependencyService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","ResourceId":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":36,"m_StringValue":"78aede84-6dc5-46c6-9dca-127068014f23","m_currentThread":0},"GetDependsOnMe":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"True","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"5","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:01:50,859 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"DeleteItemService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","folderToDelete":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"Demo Patterns","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:01:58,616 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"AddFolderService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","itemToAdd":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":584,"m_StringValue":"{\"$id\":\"1\",\"$type\":\"Dev2.Explorer.ServerExplorerItem, Dev2.Infrastructure\",\"DisplayName\":\"New Folder\",\"ResourceId\":\"3e377483-dd30-4368-900d-fc64ab03991c\",\"ServerId\":\"00000000-0000-0000-0000-000000000000\",\"WebserverUri\":null,\"IsSource\":false,\"IsService\":false,\"IsFolder\":false,\"IsServer\":false,\"IsResourceVersion\":false,\"ResourceType\":\"Folder\",\"Children\":[],\"Permissions\":0,\"VersionInfo\":null,\"ResourcePath\":\"New Folder\",\"Parent\":null}","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:02:08,752 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"RenameItemService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","folderToRename":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"New Folder","m_currentThread":0},"newName":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"Demo Patterns","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"5","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:02:13,631 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"AddFolderService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","itemToAdd":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":584,"m_StringValue":"{\"$id\":\"1\",\"$type\":\"Dev2.Explorer.ServerExplorerItem, Dev2.Infrastructure\",\"DisplayName\":\"New Folder\",\"ResourceId\":\"d63bf4ae-1249-47ea-b188-8b497637a44e\",\"ServerId\":\"00000000-0000-0000-0000-000000000000\",\"WebserverUri\":null,\"IsSource\":false,\"IsService\":false,\"IsFolder\":false,\"IsServer\":false,\"IsResourceVersion\":false,\"ResourceType\":\"Folder\",\"Children\":[],\"Permissions\":0,\"VersionInfo\":null,\"ResourcePath\":\"Demo Patterns\\\\New Folder\",\"Parent\":null}","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:02:19,967 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"RenameItemService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","folderToRename":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":24,"m_StringValue":"Demo Patterns\\New Folder","m_currentThread":0},"newName":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":22,"m_StringValue":"Demo Patterns\\RabbitMQ","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"5","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] 2017-09-21 10:02:32,078 DEBUG - [Warewolf Debug] - Execute Command Payload [ {"$id":"1","$type":"Dev2.Communication.EsbExecuteRequest, Dev2.Infrastructure","ServiceName":"AddFolderService","TestName":null,"Args":{"$id":"2","$type":"System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Text.StringBuilder, mscorlib]], mscorlib","itemToAdd":{"$id":"3","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":584,"m_StringValue":"{\"$id\":\"1\",\"$type\":\"Dev2.Explorer.ServerExplorerItem, Dev2.Infrastructure\",\"DisplayName\":\"New Folder\",\"ResourceId\":\"9db417aa-fb2f-4c1b-86f6-d980dcde9e0b\",\"ServerId\":\"00000000-0000-0000-0000-000000000000\",\"WebserverUri\":null,\"IsSource\":false,\"IsService\":false,\"IsFolder\":false,\"IsServer\":false,\"IsResourceVersion\":false,\"ResourceType\":\"Folder\",\"Children\":[],\"Permissions\":0,\"VersionInfo\":null,\"ResourcePath\":\"Demo Patterns\\\\RabbitMQ\\\\New Folder\",\"Parent\":null}","m_currentThread":0}},"ResourceID":"00000000-0000-0000-0000-000000000000","ExecuteResult":{"$id":"4","$type":"System.Text.StringBuilder, mscorlib","m_MaxCapacity":2147483647,"Capacity":16,"m_StringValue":"","m_currentThread":0},"WasInternalService":false} ] Warewolf Server log file : 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Remote Invoke 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Mapping Inputs from Environment 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Creating Invoker 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Finding service 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Mapping Action Dependencies 2017-09-21 10:02:32,088 DEBUG - [72f1761f-5162-48ef-8b5f-9700fb054f64] - Getting container 2017-09-21 10:02:32,097 INFO - [Warewolf Info] - Add Folder Service.Name:New Folder Path:Demo Patterns\RabbitMQ\New Folder Id:9db417aa-fb2f-4c1b-86f6-d980dcde9e0b 2017-09-21 10:02:32,098 ERROR - [Warewolf Error] - Add Folder Error System.NullReferenceException: Object reference not set to an instance of an object. at Dev2.Runtime.Hosting.ServerExplorerRepository.AddItem(IExplorerItem itemToAdd, Guid workSpaceId)