(done) Random Error in VisitForeachStmt(ForeachStmt x)
2 posts
• Page 1 of 1
(done) Random Error in VisitForeachStmt(ForeachStmt x)
I've seen this a couple times, finally remembered to go peer at the ActivityLog and see what's going on. Usually only happens once and then never again as long as VS is open.
- Code: Select all
<entry>
<record>1251</record>
<time>2018/09/12 05:44:02.421</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.NullReferenceException: Object reference not set to an instance of an object.
 at 	 
.

.VisitForeachStmt(ForeachStmt x)
 at Devsense.PHP.Syntax.Ast.ForeachStmt.VisitMe(TreeVisitor visitor)
 at Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 at Devsense.PHP.Syntax.TreeVisitor.VisitList[T](IList`1 items)
 at 	 
.

.VisitMethodDecl(MethodDecl x)
 at 	 
.

.VisitTypeDecl(TypeDecl type)
 at Devsense.PHP.Syntax.TreeVisitor.VisitNamedTypeDecl(NamedTypeDecl x)
 at Devsense.PHP.Syntax.Ast.NamedTypeDecl.VisitMe(TreeVisitor visitor)
 at Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 at Devsense.PHP.Syntax.TreeVisitor.VisitList[T](IList`1 items)
 at 	 
.

.VisitBlockStmt(BlockStmt x)
 at Devsense.PHP.Syntax.Ast.BlockStmt.VisitMe(TreeVisitor visitor)
 at Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 at 	 
.

.VisitNamespaceDecl(NamespaceDecl ns)
 at Devsense.PHP.Syntax.Ast.NamespaceDecl.VisitMe(TreeVisitor visitor)
 at Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 at Devsense.PHP.Syntax.TreeVisitor.VisitList[T](IList`1 items)
 at Devsense.PHP.Syntax.TreeVisitor.VisitGlobalCode(GlobalCode x)
 at 	 
.

.
(List`1 

	, GlobalCode 

)
 at 	 
.
	 (GlobalCode 

, IAdvancedOptions 
 
 )
 at PHP.VisualStudio.Language.Editor.Outlining.BlocksFromAstTagger.

.(		 	  	

	, GlobalCode 

, ITextVersion 
	)
 at PHP.VisualStudio.Language.Editor.Outlining.BlocksFromAstTagger.

.InvokeTask()
 at PHP.VisualStudio.Language.TaskQueue.
	.

 ()
--- End of stack trace from previous location where exception was thrown ---
 at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
-
AndyM84 - Posts: 69
- Joined: August 6th, 2012, 3:24 pm
- Location: Boston, MA, USA
Re: Random Error in VisitForeachStmt(ForeachStmt x)
thanks, fixed in the next update!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 48 guests