Error opening solution
2 posts
• Page 1 of 1
Error opening solution
Hi,
I'm testing your solution and evey time I open a solution VS 2017 throws an error, attahced is the error in order you can check what is the problem
Thanks!
<entry>
<record>633</record>
<time>2017/11/23 18:10:43.905</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentException: El valor no está dentro del intervalo esperado.
 en Devsense.PHP.ControlFlow.TypeRef.TypeRefContext.GetTypeMask(TypeRef tref, Boolean includesSubclasses)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitNewEx(NewEx x)
 en Devsense.PHP.Syntax.Ast.NewEx.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitAssignEx(VarLikeConstructUse lValue, Expression rValue, Operations op)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.VisitAssignEx(VarLikeConstructUse lValue, Expression rValue, Operations op)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitValueAssignEx(ValueAssignEx x)
 en Devsense.PHP.Syntax.Ast.ValueAssignEx.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 en Devsense.PHP.Syntax.TreeVisitor.VisitExpressionStmt(ExpressionStmt x)
 en Devsense.PHP.Syntax.Ast.ExpressionStmt.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 en Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockStatements(Block x)
 en Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockInternal(Block x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFGBlock(Block x)
 en Devsense.PHP.ControlFlow.Graph.Block.Visit(GraphVisitor visitor)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.AnalyseGraph(ControlFlowGraph graph, LocalsState initialFlowState)
 en Devsense.PHP.ControlFlow.Analysis.State.AnalyseCfg(ControlFlowGraph cfg, LambdaFunctionExprHandler handleLambdaExpr, IRoutine routine, CallInfo call, LocalsState callState, ITables tables, ErrorAnalysisSettings errSettings)
 en  

.


(IRoutine  

, CallInfo 
	
, LocalsState )
 en  

.EnsureRoutineAnalysed(IRoutine routine)
 en  

. (	

	
 	
)
 en  

.AnalyseNode(	

	
 node)
 en  
	.InvokeTask()
 en PHP.VisualStudio.Language.TaskQueue.	.

()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
 en Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
I'm testing your solution and evey time I open a solution VS 2017 throws an error, attahced is the error in order you can check what is the problem
Thanks!
<entry>
<record>633</record>
<time>2017/11/23 18:10:43.905</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentException: El valor no está dentro del intervalo esperado.
 en Devsense.PHP.ControlFlow.TypeRef.TypeRefContext.GetTypeMask(TypeRef tref, Boolean includesSubclasses)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitNewEx(NewEx x)
 en Devsense.PHP.Syntax.Ast.NewEx.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitAssignEx(VarLikeConstructUse lValue, Expression rValue, Operations op)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.VisitAssignEx(VarLikeConstructUse lValue, Expression rValue, Operations op)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitValueAssignEx(ValueAssignEx x)
 en Devsense.PHP.Syntax.Ast.ValueAssignEx.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 en Devsense.PHP.Syntax.TreeVisitor.VisitExpressionStmt(ExpressionStmt x)
 en Devsense.PHP.Syntax.Ast.ExpressionStmt.VisitMe(TreeVisitor visitor)
 en Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 en Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockStatements(Block x)
 en Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockInternal(Block x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFGBlock(Block x)
 en Devsense.PHP.ControlFlow.Graph.Block.Visit(GraphVisitor visitor)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 en Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.AnalyseGraph(ControlFlowGraph graph, LocalsState initialFlowState)
 en Devsense.PHP.ControlFlow.Analysis.State.AnalyseCfg(ControlFlowGraph cfg, LambdaFunctionExprHandler handleLambdaExpr, IRoutine routine, CallInfo call, LocalsState callState, ITables tables, ErrorAnalysisSettings errSettings)
 en  

.


(IRoutine  

, CallInfo 
	
, LocalsState )
 en  

.EnsureRoutineAnalysed(IRoutine routine)
 en  

. (	

	
 	
)
 en  

.AnalyseNode(	

	
 node)
 en  
	.InvokeTask()
 en PHP.VisualStudio.Language.TaskQueue.	.

()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
 en Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
- aespeja
- Posts: 1
- Joined: November 23rd, 2017, 6:29 pm
Re: Error opening solution
Hello,
Thanks for the feedback.
May I ask what PHP version do you have setup in the project properties (if you are using a project)? This is bug that happens in case of using PHP 7.2 and you are using type hint object. Anyway we've fixed it internally and we will release update as soon as possible.
Cheers!
Thanks for the feedback.
May I ask what PHP version do you have setup in the project properties (if you are using a project)? This is bug that happens in case of using PHP 7.2 and you are using type hint object. Anyway we've fixed it internally and we will release update as soon as possible.
Cheers!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 99 guests