Alt+Insert Crash!

I was excited to try the new Alt+Insert functionalilty, but clicking on any
of the choices results in an exception. Here's a dump from selecting
Generate Constructor:

System.NullReferenceException: Object reference not set to an instance of an
object.
at ReSharper.GenerateListViewForm.OnResize(EventArgs e) in
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListViewForm.cs
:line 155
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32
width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32
width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32
width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width,
Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width,
Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.set_Size(Size value)
at System.Windows.Forms.Control.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Form.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Control.set_ClientSize(Size value)
at System.Windows.Forms.Form.set_ClientSize(Size value)
at ReSharper.ListViewForm.InitializeComponent() in
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\ListViewForm.cs:line 89
at ReSharper.ListViewForm..ctor(Boolean checkBoxes, Boolean multiSelect)
in C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\ListViewForm.cs:line 31
at ReSharper.GenerateListViewForm..ctor(String caption, Boolean
checkBoxes) in
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListViewForm.cs
:line 30
at ReSharper.IndicesFiller.FieldIndices(IFieldDeclaration[]
fieldDeclarations, Boolean& cancelled) in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line 154
at CodeInsight.Editor.Actions.Generate.Generator.Generate(GenerateChoice
generateChoice, UserChoiceHandler userChoice, String actionDescription) in
C:\temp\tmp7038.tmp\src\Services\codeInsight\editor\actions\generate\Generat
or.cs:line 129
at ReSharper.GenerateModel.DoAction(String captionId, Boolean checkBoxes,
GenerateChoice choice) in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line 96
at ReSharper.GenerateModel.GenerateConstructor() in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line 101
at ReSharper.GenerateListForm.PerformActionOnSelectedItem() in
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListForm.cs:lin
e 27


1 comment
Comment actions Permalink

It was a little surprise from WinForms... Fixed in the next version. Please,
use the exception submission form and/or post exceptions to ReSharper
tracker (http://www.intellij.net/tracker/resharper/browse).

--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



"Derek" <dprice@doble.com> wrote in message
news:c1jeoc$fqd$1@is.intellij.net...

I was excited to try the new Alt+Insert functionalilty, but clicking on

any

of the choices results in an exception. Here's a dump from selecting
Generate Constructor:

>

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

an

object.
at ReSharper.GenerateListViewForm.OnResize(EventArgs e) in

>
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListViewForm.cs

:line 155
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32
width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32
width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32
width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32

width,

Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32

width,

Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.set_Size(Size value)
at System.Windows.Forms.Control.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Form.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Control.set_ClientSize(Size value)
at System.Windows.Forms.Form.set_ClientSize(Size value)
at ReSharper.ListViewForm.InitializeComponent() in
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\ListViewForm.cs:line 89
at ReSharper.ListViewForm..ctor(Boolean checkBoxes, Boolean

multiSelect)

in C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\ListViewForm.cs:line 31
at ReSharper.GenerateListViewForm..ctor(String caption, Boolean
checkBoxes) in

>
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListViewForm.cs

:line 30
at ReSharper.IndicesFiller.FieldIndices(IFieldDeclaration[]
fieldDeclarations, Boolean& cancelled) in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line

154

at

CodeInsight.Editor.Actions.Generate.Generator.Generate(GenerateChoice

generateChoice, UserChoiceHandler userChoice, String actionDescription) in

>
C:\temp\tmp7038.tmp\src\Services\codeInsight\editor\actions\generate\Generat

or.cs:line 129
at ReSharper.GenerateModel.DoAction(String captionId, Boolean

checkBoxes,

GenerateChoice choice) in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line 96
at ReSharper.GenerateModel.GenerateConstructor() in
C:\temp\tmp7038.tmp\src\ReSharper\actions\editor\GenerateAction.cs:line

101

at ReSharper.GenerateListForm.PerformActionOnSelectedItem() in

>
C:\temp\tmp7038.tmp\src\ReSharper\actionsUI\Generate\GenerateListForm.cs:lin

e 27

>
>


0

Please sign in to leave a comment.