ImageSource Editor - VS crash

Answered
0
0

Dear Team,

 

It seems unselecting all folders in the ImageSource Editor leads to VS2015 crash.

VS needs to be restarted.

The crash can cause a loss to all unsaved changes in the form.

 

Please see screenshot attached.

  • You must to post comments
Best Answer
0
0

Hi Kizaemon,

WJ-8939 is also fixed in Wisej release (1.4.95).

Best regards
Frank

  • Kizaemon
    Frank, thank you. It has been fixed.
  • You must to post comments
0
0

Hi Kizaemon,

thanks for your detailed description, it helped a lot !
We logged this issue as WJ-8939 and a fix will be included in the next Wisej build.

I´ll inform you when it´s available.

Best regards
Frank

  • You must to post comments
0
0

Hi Frank,

 

I found the reason. I am running .NET Framework 4.7.2, and the crash is observable in 4.7.1 also.

Looking at the .NET Reference Code, most probably MS has introduced an optimization in recent versions, which does not check for null values.

The function ListView.Items.AddRange(ListViewItem[] values) crashes if the parameter array contains null members.

 

You can reproduce the crash by selecting the assembly from the “Select a folder” list for a second time.

For example in my list there is the assembly System.Web.DynamicData.

During the first selection you parse the resources of the library and allocate five null slots in the cache, but you add no images because the library has no images.

During the second second selection of the same assembly you are taking the list from the cache, which contains five slots, and all of them are null.

 

So by selecting an assembly for the second time will result in NullReferenceException in the .NET Framework.

Sorry my original description was not entirely correct (i.e. de-select all).

 

Hopefully this helps.

 

  • You must to post comments
0
0

Hi Kizaemon,

we tried to reproduce this issue but failed so far. Can you please tell us how you deselect all nodes ?
What OS are you running ?
Any chance to describe the exact steps to reproduce it ?

Thanks in advance !

Best regards
Frank

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.