/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

Crash when using Rename...

Last post 08-10-2005, 3:30 AM by Serge B.. 3 replies.
Sort Posts: Previous Next
  •  08-05-2005, 1:17 PM 77

    Crash when using Rename...

    The nice error handler popped and then failed to send the error message with "Unable to use webservice" error or something like that...

    So i am posting it here for you to check out:


    Detailed error information follows:
    Date and Time: 8/5/2005 4:02:13 PM
    IP Address: {0}

    Application Domain: DefaultDomain
    Assembly Codebase: file:///C:/PROGRA~1/SubMain/CODEIT~1.ONC/CodeIt.Once.Core.DLL
    Assembly Full Name: CodeIt.Once.Core, Version=1.0.76.0, Culture=neutral, PublicKeyToken=94c677ee32cc1929
    Assembly Version: 1.0.76.0
    Assembly Build Date: 7/11/2005 5:57:42 PM

    Exception Source: CodeIt.Once.Refactoring
    Exception Type: System.NullReferenceException
    Exception Message: Object reference not set to an instance of an object.
    Exception Target Site: .ctor

    ---- Stack Trace ----
    CodeIt.Once.Refactoring.Commands.SearchForTypeCommand..ctor(projectFile As IProjectFile, typeObject As IClassBase, pm As IProgressMonitor)
    CodeIt.Once.Core.DLL: N 00108
    CodeIt.Once.Refactoring.Commands.SearchForIdentifiersCommand.Run()
    CodeIt.Once.Core.DLL: N 00895
    .t.a()
    CodeIt.Once.Core.DLL: N 01427
    CodeIt.Once.AddIn.Connect.Exec(commandName As String, executeOption As vsCommandExecOption, varIn As Object&, varOut As Object&, handled As Boolean&)
    CodeIt.Once.Core.DLL: N 00166


    Basically i was trying to rename a public class called "OverviewRow" into "OverviewGroup". The class was inside the WebUserControl previously called "OverviewRow.ascx", but i manually renamed it to "OverviewGroup.ascx" prior to attempting to rename the class.

    This is something i noticed (while we are on the subject) - while working beautifully in most cases, the plugin doesn't integrate as nicely in some aspects of web projects. For example - if you were to use "Rename" to rename the variable that corresponds to HTML element - you will then need to manually rename the ID of the element. I don't know if anything can be done about that, but thought you'd want to know. Basically it seems that the variable and the ID of the element have to be the same, otherwise random things start to break.
  •  08-05-2005, 1:44 PM 78 in reply to 77

    Crash when using Rename...

    WinXP Pro SP2 + all the updates, VS2003ENT + all the updates.
  •  08-07-2005, 2:06 AM 79 in reply to 78

    Crash when using Rename...

    Thank you, Vlad.

    I passed the issue you reported to the dev team.

    Please download build 1.0.77 at http://www.submain.com/CodeItOnce_Beta/cio_2003_beta2.zip - it has the web service problem resolved.

    As for renaming HTML elements - we are aware of this, in fact, it is on our list. But we made a decision to release v1 without it. I realize how important the issue to be addressed but addressing it in v1 would put it off for another month or so.
    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  08-10-2005, 3:30 AM 82 in reply to 79

    Crash when using Rename...

    Vlad,

    Please let us know if you are still having the Rename problem with build 1.0.77.

    We cannot reproduce the issue...
    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML