Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectRef #24

Closed
Zela007 opened this issue Sep 16, 2014 · 1 comment
Closed

ObjectRef #24

Zela007 opened this issue Sep 16, 2014 · 1 comment
Assignees

Comments

@Zela007
Copy link

Zela007 commented Sep 16, 2014

There is Error on clean up c# class:
if you need class I can send

[CodeMaid Handled Exception 10:20:50 ] Stopped cleaning 'WsdlFixBehavior.cs': System.NullReferenceException: Object reference not set to an instance of an object.
at SteveCadwallader.CodeMaid.Model.Comments.CodeCommentMatch..ctor(Match match)
at SteveCadwallader.CodeMaid.Model.Comments.CommentFormatter.b__4(Match x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at SteveCadwallader.CodeMaid.Model.Comments.CommentFormatter.Parse(ICommentLine line, Int32 indentLevel, Int32 xmlTagLength)
at SteveCadwallader.CodeMaid.Model.Comments.CommentFormatter..ctor(ICommentLine line, String commentPrefix, CodeCommentOptions options, Regex regex)
at SteveCadwallader.CodeMaid.Model.Comments.CodeComment.Format(CodeCommentOptions options)
at SteveCadwallader.CodeMaid.Logic.Formatting.CommentFormatLogic.FormatComments(TextDocument textDocument, EditPoint start, EditPoint end)
at SteveCadwallader.CodeMaid.Logic.Formatting.CommentFormatLogic.FormatComments(TextDocument textDocument)
at SteveCadwallader.CodeMaid.Logic.Cleaning.CodeCleanupManager.RunCodeCleanupCSharp(Document document, Boolean isAutoSave)
at SteveCadwallader.CodeMaid.Logic.Cleaning.CodeCleanupManager.<>c__DisplayClass3.b__1()
at SteveCadwallader.CodeMaid.Helpers.UndoTransactionHelper.Run(Func1 undoConditions, Action tryAction, Action1 catchAction)

@codecadwallader codecadwallader self-assigned this Sep 16, 2014
@codecadwallader
Copy link
Owner

Thanks for reporting it. I believe this has already been covered by #21 and will be present in the next release. If that isn't your scenario, yes please provide a sample file that exhibits the issue and we can re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants