Visual studio 2015 逻辑应用程序设计器错误-对象引用未设置为对象的实例
更新到Azure SDK 3.0后,Logic App Designer产生错误:Visual studio 2015 逻辑应用程序设计器错误-对象引用未设置为对象的实例,visual-studio-2015,azure-logic-apps,Visual Studio 2015,Azure Logic Apps,更新到Azure SDK 3.0后,Logic App Designer产生错误: Object reference not set to an instance of an object 如果我右键单击LogicApp.json并选择“使用Logic App Designer打开”,即使在新项目上也会发生这种情况 我卸载了所有Azure扩展并重新安装,但运气不佳 当我查看活动日志时,我发现: <entry> <record>657</record> <
Object reference not set to an instance of an object
如果我右键单击LogicApp.json并选择“使用Logic App Designer打开”,即使在新项目上也会发生这种情况
我卸载了所有Azure扩展并重新安装,但运气不佳
当我查看活动日志时,我发现:
<entry>
<record>657</record>
<time>2017/03/09 20:36:24.976</time>
<type>Error</type>
<source>Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter</source>
<description>EditorPane.IPersistFileFormat.Load: Unexpected error occurred., Exception Details: System.NullReferenceException, Object reference not set to an instance of an object., at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.get_MruSource()
 at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.AddMenuEntry(String userAccountId, String subscriptionId, String resourceGroupName)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass52_0.<Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)</description>
657
2017/03/09 20:36:24.976
错误
Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter
EditorPane.IPersistFileFormat.Load:发生意外错误,异常详细信息:System.NullReferenceException,对象引用未设置为对象的实例,位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.get_MruSource()
;位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.AddMenutry(字符串userAccountId、字符串subscriptionId、字符串resourceGroupName)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass52_0.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Loadb_uu0()&x000D
;位于Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名、字符串消息、函数'1)
及
658
2017/03/09 20:36:24.976
错误
Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter
EditorPane.IPersistFileFormat.Load:发生意外错误,异常详细信息:System.NullReferenceException,对象引用未设置为对象的实例,位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.get_MruSource()
;位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.AddMenutry(字符串userAccountId、字符串subscriptionId、字符串resourceGroupName)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass52_0.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Loadb_uu0()&x000D
;在Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名称、字符串消息、函数'1函数)和#x000D
;在Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名,Func`1函数)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load(字符串pszFilename,UInt32 grfMode,Int32 fReadOnly)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass75_0.Microsoft.VisualStudio.Shell.Interop.IVsPersistDocData.LoadDocDatab_uu0()和x000D
;位于Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名、字符串消息、函数'1)
及
666
2017/03/09 20:36:29.591
错误
Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter
EditorPane.IPersistFileFormat.Load:发生意外错误,异常详细信息:System.NullReferenceException,对象引用未设置为对象的实例,位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.get_MruSource()
;位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.AddMenutry(字符串userAccountId、字符串subscriptionId、字符串resourceGroupName)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass52_0.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Loadb_uu0()&x000D
;位于Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名、字符串消息、函数'1)
及
667
2017/03/09 20:36:29.591
错误
Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter
EditorPane.IPersistFileFormat.Load:发生意外错误,异常详细信息:System.NullReferenceException,对象引用未设置为对象的实例,位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.get_MruSource()
;位于Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMRuppopulator.AddMenutry(字符串userAccountId、字符串subscriptionId、字符串resourceGroupName)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass52_0.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Loadb_uu0()&x000D
;在Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名称、字符串消息、函数'1函数)和#x000D
;在Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名,Func`1函数)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load(字符串pszFilename,UInt32 grfMode,Int32 fReadOnly)和#x000D
;在Microsoft.Azure.LogicApp.VSEditor.EditorPane.c_uuDisplayClass75_0.Microsoft.VisualStudio.Shell.Interop.IVsPersistDocData.LoadDocDatab_uu0()和x000D
;位于Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](字符串操作名、字符串消息、函数'1)
及
668
2017/03/09 20:36:29.591
错误
Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter
VsPackageMenuProvider.MenuCommandBeforeQueryStatus:发生意外错误,异常详细信息:System.NullReferenceException,对象引用未设置为对象实例,位于System.Runtime.InteropServices.Marshal.ThroweExceptionForhrInternal(Int32 errorCode,IntPtr errorInfo)和#x000D
;在Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure上(
<entry>
<record>658</record>
<time>2017/03/09 20:36:24.976</time>
<type>Error</type>
<source>Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter</source>
<description>EditorPane.IPersistFileFormat.Load: Unexpected error occurred., Exception Details: System.NullReferenceException, Object reference not set to an instance of an object., at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.get_MruSource()
 at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.AddMenuEntry(String userAccountId, String subscriptionId, String resourceGroupName)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass52_0.<Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, Func`1 function)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load(String pszFilename, UInt32 grfMode, Int32 fReadOnly)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass75_0.<Microsoft.VisualStudio.Shell.Interop.IVsPersistDocData.LoadDocData>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)</description>
<entry>
<record>666</record>
<time>2017/03/09 20:36:29.591</time>
<type>Error</type>
<source>Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter</source>
<description>EditorPane.IPersistFileFormat.Load: Unexpected error occurred., Exception Details: System.NullReferenceException, Object reference not set to an instance of an object., at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.get_MruSource()
 at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.AddMenuEntry(String userAccountId, String subscriptionId, String resourceGroupName)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass52_0.<Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)</description>
<entry>
<record>667</record>
<time>2017/03/09 20:36:29.591</time>
<type>Error</type>
<source>Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter</source>
<description>EditorPane.IPersistFileFormat.Load: Unexpected error occurred., Exception Details: System.NullReferenceException, Object reference not set to an instance of an object., at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.get_MruSource()
 at Microsoft.Azure.LogicApp.VSEditor.Utilities.ArmToolsMruPopulator.AddMenuEntry(String userAccountId, String subscriptionId, String resourceGroupName)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.LoadFlowResourceFromResourceTemplate()
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass52_0.<Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, Func`1 function)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load(String pszFilename, UInt32 grfMode, Int32 fReadOnly)
 at Microsoft.Azure.LogicApp.VSEditor.EditorPane.<>c__DisplayClass75_0.<Microsoft.VisualStudio.Shell.Interop.IVsPersistDocData.LoadDocData>b__0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError[T](String operationName, String message, Func`1 function)</description>
<entry>
<record>668</record>
<time>2017/03/09 20:36:29.591</time>
<type>Error</type>
<source>Microsoft.Azure.LogicApp.VSCommon.Logging.ActivityLogWriter</source>
<description>VsPackageMenuProvider.MenuCommandBeforeQueryStatus: Unexpected error occurred., Exception Details: System.NullReferenceException, Object reference not set to an instance of an object., at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
 at Microsoft.VisualStudio.Shell.VsShellUtilities.OpenDocumentWithSpecificEditor(IServiceProvider provider, String fullPath, Guid editorType, Guid logicalView, IVsUIHierarchy& hierarchy, UInt32& itemID, IVsWindowFrame& windowFrame)
 at Microsoft.VisualStudio.Shell.VsShellUtilities.OpenDocumentWithSpecificEditor(IServiceProvider provider, String fullPath, Guid editorType, Guid logicalView)
 at Microsoft.Azure.LogicApp.VSEditor.VsPackageMenuProvider.<MenuCommandCallback>b__7_0()
 at Microsoft.Azure.LogicApp.VSCommon.Logging.Logger.LogUnhandledExceptionAsError(String operationName, String message, Action action)</description>