Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CompletionController - object reference not set to an instance

0 REPLIES 0
Reply
Message 1 of 1
mallorn
404 Views, 0 Replies

CompletionController - object reference not set to an instance

Hello,

 

I was using Visual Studio 2015 with Inventor 2016 ETO Series Studio for a longer time and everything was fine for me.

Yesterday, CompletionController started to generate "Object reference not set to an instance" error when I try to edit .iks document, when selecting some Intent keyword from list.

The same problem exists on 2 machines.

 

Is there a way to fix it?

 

description in VS ActivityLog.xml is:

System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.VisualStudio.Editor.Implementation.Snippet.ExpansionFilter.PrepareTemplate(ExpansionTemplate pTemplate, TextSpan pTSTextToDelete, IVsExpansionSession& pSession)

at Microsoft.VisualStudio.Editor.Implementation.Snippet.VsExpansionShim.InsertExpansionFromTemplate(ExpansionTemplate template, TextSpan tsInsertPos, IVsExpansionClient pExpansionClient, Guid guidLang, IVsExpansionSession& pSession)

at Microsoft.VisualStudio.Editor.Implementation.Snippet.VsExpansionShim.InsertNamedExpansion(String bstrTitle, String bstrPath, TextSpan tsInsertPos, IVsExpansionClient pExpansionClient, Guid guidLang, Int32 fShowDisambiguationUI, IVsExpansionSession& pSession)

at Microsoft.VisualStudio.Editor.Implementation.TextDocData.Microsoft.VisualStudio.TextManager.Interop.IVsExpansion.InsertNamedExpansion(String bstrTitle, String bstrPath, TextSpan tsInsertPos, IVsExpansionClient pExpansionClient, Guid guidLang, Int32 fShowDisambiguationUI, IVsExpansionSession& pSession)

at Autodesk.ETOSeriesStudio.EditorExtensions.CompletionController.InsertCodeExpansion(VsExpansion expansion, Int32 startLine, Int32 startColumn, Int32 endLine, Int32 endColumn)

at Autodesk.ETOSeriesStudio.EditorExtensions.CompletionController.InsertCodeExpansion(VsExpansion expansion)

at Autodesk.ETOSeriesStudio.EditorExtensions.CompletionController.OnActiveSessionCommited(Object sender, EventArgs e)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.RaiseCommittedEvent()

at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Commit()

at Autodesk.ETOSeriesStudio.EditorExtensions.CompletionController.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)

at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)

at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c.<DispatchTextInputEvents>b__6_0(KeyProcessor p, TextCompositionEventArgs args)

at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass10_1`1.<Dispatch>b__0()

at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

 

-------------------------
Tomasz Malinowski
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report