Ctrl+R,Ctrl+R (Wordrwap) causes Exception

I am using 70 build and when I try to use wordwrap in VS but now I get a
error stating that Object reference not set to an instance of an object....
any thoughts?

Thanks,
scott


9 comments
Comment actions Permalink

I just tried this and it worked fine on my system with v70, VS.NET 2003,
Windows 2000.
Derek

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2a9lp$gc2$1@is.intellij.net...

I am using 70 build and when I try to use wordwrap in VS but now I get a
error stating that Object reference not set to an instance of an

object....

any thoughts?

>

Thanks,
scott

>
>


0
Comment actions Permalink

Scott,

where do you see information about this exception? Does the error reporting
form pops up? If it does, please post the exception using this form.

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2a9lp$gc2$1@is.intellij.net...

I am using 70 build and when I try to use wordwrap in VS but now I get a
error stating that Object reference not set to an instance of an

object....

any thoughts?

>

Thanks,
scott

>
>


0
Comment actions Permalink

Actually it is in VS.NET 2003 and it only pops up a dialog on my machine
from the dev environment.
I have XP SP1 VS.NET 2003 with Visual Assist installed (turned off), WSE
tool add-ins and the VSIP SDK installed.

Also, my buddy pairing with me has XDE and Resharper 70 on XP SP1 VS.NET
2003 and has the same error.

I think it has something to do with your subclass of the actual VSTextEdit
window. The error says object not set to an instance of an object :).

So it might have something to do with the Add-in and the multiple add-ins I
have etc.. (of course I am just speculating)..

scott

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9r7$h1f$1@is.intellij.net...

Scott,

>

where do you see information about this exception? Does the error

reporting

form pops up? If it does, please post the exception using this form.

>

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2a9lp$gc2$1@is.intellij.net...

I am using 70 build and when I try to use wordwrap in VS but now I get a
error stating that Object reference not set to an instance of an

object....

any thoughts?

>

Thanks,
scott

>
>

>
>


0
Comment actions Permalink

Scott,
we do not use subclassing from VS windows, if we've got so deep into
implementation details ;-).

We'll try to reproduce this in conditions close to yours.

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2abo3$uhe$1@is.intellij.net...

Actually it is in VS.NET 2003 and it only pops up a dialog on my machine
from the dev environment.
I have XP SP1 VS.NET 2003 with Visual Assist installed (turned off), WSE
tool add-ins and the VSIP SDK installed.

>

Also, my buddy pairing with me has XDE and Resharper 70 on XP SP1 VS.NET
2003 and has the same error.

>

I think it has something to do with your subclass of the actual VSTextEdit
window. The error says object not set to an instance of an object :).

>

So it might have something to do with the Add-in and the multiple add-ins

I

have etc.. (of course I am just speculating)..

>

scott

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9r7$h1f$1@is.intellij.net...

Scott,

>

where do you see information about this exception? Does the error

reporting

form pops up? If it does, please post the exception using this form.

>

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2a9lp$gc2$1@is.intellij.net...

I am using 70 build and when I try to use wordwrap in VS but now I get

a

error stating that Object reference not set to an instance of an

object....

any thoughts?

>

Thanks,
scott

>
>

>
>

>
>


0
Comment actions Permalink

Thanks for the help. Keep up the good work.

scott
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2acrj$677$1@is.intellij.net...

Scott,
we do not use subclassing from VS windows, if we've got so deep into
implementation details ;).

>

We'll try to reproduce this in conditions close to yours.

>

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2abo3$uhe$1@is.intellij.net...

Actually it is in VS.NET 2003 and it only pops up a dialog on my machine
from the dev environment.
I have XP SP1 VS.NET 2003 with Visual Assist installed (turned off), WSE
tool add-ins and the VSIP SDK installed.

>

Also, my buddy pairing with me has XDE and Resharper 70 on XP SP1 VS.NET
2003 and has the same error.

>

I think it has something to do with your subclass of the actual

VSTextEdit

window. The error says object not set to an instance of an object :).

>

So it might have something to do with the Add-in and the multiple

add-ins

I

have etc.. (of course I am just speculating)..

>

scott

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9r7$h1f$1@is.intellij.net...

Scott,

>

where do you see information about this exception? Does the error

reporting

form pops up? If it does, please post the exception using this form.

>

"Scott Densmore" <scottden@online.microsoft.com> wrote in message
news:c2a9lp$gc2$1@is.intellij.net...

I am using 70 build and when I try to use wordwrap in VS but now I

get

a

error stating that Object reference not set to an instance of an

object....

any thoughts?

>

Thanks,
scott

>
>

>
>

>
>

>
>


0
Comment actions Permalink

What's the status of this? I seem to remember it working at some point, but in my current Build 75 it just gave me an exception dialog saying something like "Object Instance not found." The strange thing is that when I went back to VS to try to get the exact error message and tried it again, the error went away.

Is there some code running on a timer that had not created the apropriate object yet the first time I tried this?

0
Comment actions Permalink

It's back: "Object reference not set to an instance of an object". 1 minute later and after pressing CtrlR, CtrlR a few times, it stops producing the error.

0
Comment actions Permalink

Oskar,

could you please tell in what particular area of the file do you get this
exception? Does it appearance depend
on the place in the file where the caret currently is? Does the selected
text affect it appearance?

We've added more diagnostics, so if the problem is really connected with
timer callbacks,
it should pop up the exception report form in the next build.

Thanks,
Dmitry

"Oskar Austegard" <no_mail@jetbrains.com> wrote in message
news:29155420.1080937020909.JavaMail.itn@is.intellij.net...

It's back: "Object reference not set to an instance of an object". 1

minute later and after pressing CtrlR, CtrlR a few times, it stops
producing the error.


0
Comment actions Permalink

Unfortunately I'm unable to determine much of a pattern, as it appears to be quite random. For example:

I just Reformatted my code, which unwrapped a long line of code that I had manually wrapped by inserting a carriage return. My caret was in the middle of a line of code (line 161 of 241), with no text selected.

I then pressed CtrlR, CtrlR and got the infamous exception.

I then saved the file, and tried again (2). This time I got the exception, but the editor also switched into word wrap mode.

I tried again (3), got the same exception, but word wrpa was turned off - i.e. same behavior as try 2.

I tried a 4th time, and from this try onwards word wrap is toggled WITHOUT an exception.

0

Please sign in to leave a comment.