crash when declaration of class

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
fredon016
Posts: 4
Last visit: Wed Aug 25, 2021 7:05 am

crash when declaration of class

Post by fredon016 »

I would like to bring a big bug that appears when I try to define class (OOP)
PSS freezes, a dialog box appears:
"Unhandler Exeption: The object reference is not defined to an instance of an object"

then it displays the contents of an Error.log as follows:

[2017.10.02 - 15:22:54] Unhandled Exception:
La référence d'objet n'est pas définie à une instance d'un objet.
à (Object )
à ..(SyntaxEditor , EditorViewMouseEventArgs )
à ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
à ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
à ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
à System.Windows.Forms.Control.WndProc(Message& m)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------
[2017.10.06 - 22:24:10] Unhandled Exception:
La référence d'objet n'est pas définie à une instance d'un objet.
à (Object )
à ..(SyntaxEditor , EditorViewMouseEventArgs )
à ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
à ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
à ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
à System.Windows.Forms.Control.WndProc(Message& m)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------
[2017.10.13 - 20:48:59] Unhandled Exception:
La méthode spécifiée n'est pas prise en charge.
à System.Reflection.Emit.TypeBuilderInstantiation.GetMember(String name, MemberTypes type, BindingFlags bindingAttr)
à ..(Int32 , IToken , Boolean , String& )
à ..(SyntaxEditor , EditorViewMouseEventArgs )
à ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
à ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
à ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
à System.Windows.Forms.Control.WndProc(Message& m)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------
[2017.10.14 - 23:30:42] Unhandled Exception:
La référence d'objet n'est pas définie à une instance d'un objet.
à (Object )
à ..(SyntaxEditor , EditorViewMouseEventArgs )
à ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
à ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
à ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------
[2017.10.15 - 00:00:11] Unhandled Exception:
La référence d'objet n'est pas définie à une instance d'un objet.
à (Object )
à ..(SyntaxEditor , EditorViewMouseEventArgs )
à ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
à ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
à ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
à ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
à System.Windows.Forms.Control.WndProc(Message& m)
à ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------

This is a big problem for me as I buy PowershellStudio essentially to do object programming


Thx for help
cordially
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: crash when declaration of class

Post by Alexander Riedel »

[Moved to correct forum by moderator]

Please make sure to post in the correct product form and provide the requested version information:

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS:

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
fredon016
Posts: 4
Last visit: Wed Aug 25, 2021 7:05 am

Post by fredon016 »

My Product is PowerShell Studio 2017 v5.4.145 64 bits
I have Windows 10 Pro 64 bits build 10.0.15063
i've try the 32 Bits version,trying old version v5.4.143 ,v5.4.144
it the same problem
here a screenshot when i try to modify a method in a class:
https://ibb.co/bUamfb
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: crash when declaration of class

Post by davidc »

If you can, please upload the script causing the crash and include the steps to reproduce the issue.

https://www.sapien.com/support/upload

Thank you,
David
SAPIEN Technologies, Inc.
User avatar
fredon016
Posts: 4
Last visit: Wed Aug 25, 2021 7:05 am

Re: crash when declaration of class

Post by fredon016 »

done
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: crash when declaration of class

Post by davidc »

Thank you for submitting the file. As a result, we were able to find the issue. The exception occurs when you hover the mouse over a class property without a defined type. This will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
User avatar
fredon016
Posts: 4
Last visit: Wed Aug 25, 2021 7:05 am

Re: crash when declaration of class

Post by fredon016 »

Ok thx u so much
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.