Unhandled exception while editing script

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 9 years and 6 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
scott.norton
Posts: 25
Last visit: Tue Apr 25, 2017 7:11 am

Unhandled exception while editing script

Post by scott.norton »

I have experienced an unhandled exception error two times since moving to v4.1.65. All I was doing at the time was moving the mouse across a script file open in the editor.

I have not been able to document the exact steps leading up to the error.

Environment:
PowerShell Studio 2014 4.1.65 x64
Windows 7 x64
PowerShell v4 x64

First part of exception text:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ..(IToken , Int32& , Type , Int32 , Boolean , Boolean , Boolean )
at ..(IToken , Int32& , Type , Int32 , Boolean , Boolean , Boolean )
at ..(Int32& , Boolean& , Int32 )
at ..(IToken , Int32& , Type , Int32 , Boolean , Boolean , Boolean )
at ..( , IToken )
at ..( , String , Int32 , Assembly[] , Type& )
at ..(IToken )
at ..(SyntaxEditor , EditorViewMouseEventArgs )
at ActiproSoftware.SyntaxEditor.SyntaxLanguage.#JYe(SyntaxEditor #bCb, EditorViewMouseEventArgs #yhb)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.#t3e(EditorViewMouseEventArgs #yhb)
at ActiproSoftware.SyntaxEditor.EditorView.OnMouseHover(MouseEventArgs e)
at ActiproSoftware.WinUICore.UIElement.#gxe(MouseEventArgs #yhb)
at ActiproSoftware.WinUICore.UIControl.OnMouseHover(EventArgs e)
at System.Windows.Forms.Control.WndProc(Message& m)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Unhandled exception while editing script

Post by davidc »

Please try to make note as to what the cursor was passing over when it the exception occurs.

Did the both exceptions occurred on the in the files? If so, and if possible please zip and email the file to support@sapien.com so that we can take a look at the script.

David
David
SAPIEN Technologies, Inc.
User avatar
scott.norton
Posts: 25
Last visit: Tue Apr 25, 2017 7:11 am

Re: Unhandled exception while editing script

Post by scott.norton »

I will gather the requested information if/when the issue occurs.

Thank you for the response.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Unhandled exception while editing script

Post by davidc »

Please update to the latest build (v4.1.67) and let us know if you still encounter the issue.

David
David
SAPIEN Technologies, Inc.
User avatar
scott.norton
Posts: 25
Last visit: Tue Apr 25, 2017 7:11 am

Re: Unhandled exception while editing script

Post by scott.norton »

Hello David,

To date, I have not been able to reproduce the issue I reported earlier.

I downloaded 4.1.67 this morning.

I will let you know if I can reproduce the issue with the new version.

Thank you for your support.
This topic is 9 years and 6 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.