• Edited

Dear PHPTools-Devs,
I know I had multiple threads open regarding my Visual Studio crashing and it went a little bit better the last weeks.
Today I had a crash and after that I attached a second instance to debug it. A few hours later it crashed again.

I am currently using VS Professional 2022 (64bit) in Version 17.10.0 and PHPTools in Version 1.80.19712.2022.

Here the Call-Stack (I know it is in german, but I think the relevant information should be readable):

System.NullReferenceException in PHP.VisualStudio.Language.Editor.ComposeLens.ComposeLensTagger.cs

System.NullReferenceException
  HResult=0x80004003
  Nachricht = Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
  Quelle = Phalanger.LanguageService
  Stapelüberwachung:
   bei PHP.VisualStudio.Language.Editor.ComposeLens.ComposeLensTagger.GCMQKDXMZDULLDCZXGQOLK(BANANA.IRPCUHJGMHZUGNEBROMFRL OQGGUHLYUGEGNIUKDFLMKA, Int32 DUIXRLGIYPQOVJWMPPGEDL) in PHP.VisualStudio.Language.Editor.ComposeLens\ComposeLensTagger.cs: Zeile1198
   bei PHP.VisualStudio.Language.Editor.ComposeLens.ComposeLensTagger.BANANA.EEPCNMTYATXYBFUKLPQORH.OLLJCAJGZQQLCLEDBDPMHX() in PHP.VisualStudio.Language.Editor.ComposeLens\ComposeLensTagger.cs: Zeile345
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Windows.Threading.DispatcherOperation.Invoke()
   bei System.Windows.Threading.Dispatcher.ProcessQueue()
   bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Can you help solving that issue ?

SvB thank you for the stack trace! We'll try to fix this asap.

    as a quick workaround, you can disable Compose Lens in Tools/Options/Text Editor/PHP/IntelliPHP -> Misc/Enable Inline Composer Lens

      8 days later

      SvB This should be fixed in the latest update 1.82

        Thank you! You're workaound already fixed my issue :-)

          13 days later

          SvB Great! Thank you for the update, I'm glad we found it :)

            Write a Reply...