History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-27976
Type: Exception Exception
Status: Closed Closed
Resolution: Fixed
Priority: Stopbuild Stopbuild
Assignee: Oleg Stepanov
Reporter: Vladimir Reshetnikov
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

invalid source element Contains of type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration:

Created: 16 Aug 06 11:59   Updated: 28 Mar 07 13:56
Component/s: None
Fix Version/s: 2.0.2
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(255 kb)
Issue Links:
Depend
 
This issue is required for:
RSRP-27971 invalid source element getDeleteBtn ... Closed

Build: 257
Fixed in build: 262


 Description  « Hide
Build257, VS2005
JetBrains.ReSharper.Util.InternalErrorException: invalid source element Contains of type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration:
An exception has occurred ---> JetBrains.ReSharper.Util.InternalErrorException: invalid source element Contains of type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration:

at JetBrains.ReSharper.Util.InternalErrorException..ctor(String, Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\InternalErrorException.cs:line 28 column 7
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 130 column 11
at JetBrains.ReSharper.Psi.DeclaredElementPresenter.Format(IDeclaredElement, ISubstitution, DeclaredElementPresenterMarking&) in c:\Agent\work\ReSharper2.0\src\Psi\src\DeclaredElementPresenter.cs:line 670 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.MyInvocationCandidate.GetSignature(TextRange[]&) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoContexts\ParameterInfoContext.cs:line 114 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.InvocableControl..ctor(ICandidate) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\InvocableControl.cs:line 97 column 7
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoControl.set_Context(IParameterInfoContext) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoControl.cs:line 115 column 13
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.UpdateContext() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 97 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute(IParameterInfoProvider) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 81 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 71 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 221 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo(ILookupWindow, ISolution) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 134 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo(ILookupWindow) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 114 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 102 column 9
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\ReSharper2.0\src\Shell\src\Alarm.cs:line 177 column 15
at System.Windows.Forms.Timer.OnTick(EventArgs)
at System.Windows.Forms.TimerNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

at JetBrains.ReSharper.Util.Logger.Assert(Boolean condition, String messageFormat, Object[] args) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 130
— End of inner exception stack trace —

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 327 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 339 column 5
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 134 column 11
at JetBrains.ReSharper.Psi.DeclaredElementPresenter.Format(IDeclaredElement, ISubstitution, DeclaredElementPresenterMarking&) in c:\Agent\work\ReSharper2.0\src\Psi\src\DeclaredElementPresenter.cs:line 670 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.MyInvocationCandidate.GetSignature(TextRange[]&) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoContexts\ParameterInfoContext.cs:line 114 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.InvocableControl..ctor(ICandidate) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\InvocableControl.cs:line 97 column 7
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoControl.set_Context(IParameterInfoContext) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoControl.cs:line 115 column 13
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.UpdateContext() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 97 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute(IParameterInfoProvider) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 81 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 71 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 221 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo(ILookupWindow, ISolution) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 134 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo(ILookupWindow) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 114 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 102 column 9
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\ReSharper2.0\src\Shell\src\Alarm.cs:line 177 column 15
at System.Windows.Forms.Timer.OnTick(EventArgs)
at System.Windows.Forms.TimerNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)



 All   Comments   Work Log   Change History      Sort Order:
Simon Ferguson - 22 Aug 06 02:19
While trying to report the "invalid source element" exception I ran into this exception. It's happened three times so far. Twice on revision 257 and now on 258.

Simon Ferguson - 22 Aug 06 02:29
Here's another one - I can reproduce this error consistently. (And when I click on Submit, I get the error mentioned above with the screenshot.)

JetBrains.ReSharper.Util.InternalErrorException: invalid source element Get12MonthRiskLevel of type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration:
An exception has occurred ---> JetBrains.ReSharper.Util.InternalErrorException: invalid source element Get12MonthRiskLevel of type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration:

at JetBrains.ReSharper.Util.InternalErrorException..ctor(String, Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\InternalErrorException.cs:line 28 column 7
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 130 column 11
at JetBrains.ReSharper.Psi.DeclaredElementPresenter.Format(IDeclaredElement, ISubstitution, DeclaredElementPresenterMarking&) in c:\Agent\work\ReSharper2.0\src\Psi\src\DeclaredElementPresenter.cs:line 670 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.MyInvocationCandidate.GetSignature(TextRange[]&) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoContexts\ParameterInfoContext.cs:line 114 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.InvocableControl..ctor(ICandidate) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\InvocableControl.cs:line 97 column 7
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoControl.set_Context(IParameterInfoContext) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoControl.cs:line 115 column 13
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.UpdateContext() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 97 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute(IParameterInfoProvider) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 81 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 71 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 221 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo(ILookupWindow, ISolution) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 134 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo(ILookupWindow) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 114 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 102 column 9
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\ReSharper2.0\src\Shell\src\Alarm.cs:line 177 column 15
at System.Windows.Forms.Timer.OnTick(EventArgs)
at System.Windows.Forms.TimerNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

at JetBrains.ReSharper.Util.Logger.Assert(Boolean condition, String messageFormat, Object[] args) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 130
— End of inner exception stack trace —

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 327 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 339 column 5
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 134 column 11
at JetBrains.ReSharper.Psi.DeclaredElementPresenter.Format(IDeclaredElement, ISubstitution, DeclaredElementPresenterMarking&) in c:\Agent\work\ReSharper2.0\src\Psi\src\DeclaredElementPresenter.cs:line 670 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.MyInvocationCandidate.GetSignature(TextRange[]&) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoContexts\ParameterInfoContext.cs:line 114 column 9
at JetBrains.ReSharper.CodeInsight.ParameterInfo.InvocableControl..ctor(ICandidate) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\InvocableControl.cs:line 97 column 7
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoControl.set_Context(IParameterInfoContext) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoControl.cs:line 115 column 13
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.UpdateContext() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 97 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute(IParameterInfoProvider) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 81 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoController.Execute() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoController.cs:line 71 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 221 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPopupControllerImpl.PopupParameterInfo(ILookupWindow, ISolution) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 134 column 5
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo(ILookupWindow) in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 114 column 11
at JetBrains.ReSharper.CodeInsight.ParameterInfo.LookupSummaryTracker.ShowParameterInfo() in c:\Agent\work\ReSharper2.0\src\CodeInsight.Services\src\ParameterInfo\LookupSummaryTracker.cs:line 102 column 9
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\ReSharper2.0\src\Shell\src\Alarm.cs:line 177 column 15
at System.Windows.Forms.Timer.OnTick(EventArgs)
at System.Windows.Forms.TimerNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)


Jonathan Choy - 31 Aug 06 17:58
adding a field-backed event using a template
Build259, VS2005

Jonathan Choy - 31 Aug 06 18:01
Previous exception:RSRP-27976
Build259, VS2005

Jonathan Choy - 31 Aug 06 18:02
Previous exception:RSRP-27976
Build259, VS2005

Sergey Coox - 31 Aug 06 20:04
what template do You mean?

Lee Henson - 23 Sep 06 15:18
Just typing in a c# source file!
Build259, VS2005

Lee Henson - 23 Sep 06 15:24
Previous exception:RSRP-27976
Build259, VS2005

Niklas Lundberg - 01 Oct 06 00:47
{
Build262, VS2005

Robert Wilkinson - 13 Oct 06 23:20
Build260, VS2005

Robert Wilkinson - 13 Oct 06 23:22
Previous exception:RSRP-27976

Typing on this line -

Oops! Can't get to the line while this dialog box is open
Build260, VS2005


David Stacey-Gee - 16 Oct 06 12:40
Build263, VS2005

David Stacey-Gee - 17 Oct 06 17:44
Build263, VS2005

Joseph P. Strain - 21 Oct 06 08:06
<CTRL><Space bar> expecting to get drop down list of methods and crash.
Build259, VS2005

David Stacey-Gee - 21 Oct 06 20:59
Build265, VS2005

Ricardo von Linsingen - 12 Nov 06 16:33
When I trying to use ReSharper IntelliSense to nominate one existing class ('RefreshMoradores') the error occurs. Another similar classes exists.
Build266, VS2005

Ricardo von Linsingen - 13 Nov 06 02:02


Build266, VS2005

Michael Lev - 16 Nov 06 18:06
typing in upper window the sentence "viewPrice= ooffs"
Build259, VS2005

Michael Lev - 25 Nov 06 12:41
typing func name starting by "_". As continuing and therefore limiting the num of choices displayed, this exception occurred.
Build259, VS2005

Oskar Mathieu Gewalli - 28 Nov 06 13:50
Build266, VS2005

Oskar Mathieu Gewalli - 28 Nov 06 16:15
Previous exception:RSRP-27976
Build266, VS2005

Oskar Mathieu Gewalli - 29 Nov 06 16:26
Build266, VS2005

Oskar Mathieu Gewalli - 29 Nov 06 16:26
Previous exception:RSRP-27976
Build266, VS2005

Oskar Mathieu Gewalli - 29 Nov 06 16:32
Previous exception:RSRP-27976
Build266, VS2005

Oskar Mathieu Gewalli - 30 Nov 06 13:06
Build266, VS2005

Oskar Mathieu Gewalli - 30 Nov 06 14:47
Previous exception:RSRP-32761
Build266, VS2005

Phil Haack - 02 Dec 06 01:44
Trying to auto-complete a method.
Build266, VS2005

Mark Garringer - 04 Dec 06 22:00
Build266, VS2005

Tibor Hellvig - 13 Dec 06 20:57
was typing 'this.'

Build266, VS2005


Asaf Shemesh - 11 Feb 07 01:22
Build259, VS2005

Andy Clapham - 28 Mar 07 13:56
Build259, VS2005