Goedemorgen,
het lijkt erop dat er iets kapot is in Querytool Beta 20.1.537.
een eenvoudige loop-statement zoals
declare
l_test integer := 0;
begin
for i in 1..10 loop
l_test := l_test + 1;
end loop;
end;
eindigt met een itgenclr009-fout.
Ik zie het probleem niet bij .529, wat betekent dat er een aanpassing is doorgevoerd tussen .529 en .537
Ook lijkt het onmogelijk om terug te gaan naar eerdere versies zoals .529 om te downloaden (ik heb een machine waarop alleen .537 is geïnstalleerd, en ik wilde .529 installeren).
Misschien zouden jullie ergens links naar eerdere versies moeten bewaren?
Bedankt
https://go.invantive.eu/download/invantive-query-tool
itgenclr009: Nombre incorrect d’arguments fournis pour l’appel de la méthode ‘System.Object GetVariableValue(Invantive.Basics.GlobalState, Invantive.Basics.ExecutionOptions, Invantive.Data.ISparseArray, Int32, System.String, System.String)’.Bericht ID: 4d114e32-d536-4f92-a7b6-ad44edd737bfOpgetreden (UTC): 15/09/2021 10:13:08
declare l_test integer := 0;begin for i in 1..10 loop l_test := l_test + 1; end loop;end;System.ArgumentException à System.Linq.Expressions.Expression.ValidateArgumentCount(MethodBase method, ExpressionType nodeKind, Int32 count, ParameterInfo pis) à System.Linq.Expressions.Expression.ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ReadOnlyCollection1& arguments) à System.Linq.Expressions.Expression.Call(Expression instance, MethodInfo method, IEnumerable1 arguments) à System.Linq.Expressions.Expression.Call(MethodInfo method, Expression arguments) à Invantive.Sql.PSqlVariable..ctor(GlobalState owner, ExecutionOptions executionOptions, IProviderManager manager, Int32 index, String name, String dotnetDataType, String databaseDataType, Type type) à Invantive.Sql.V1.PSqlScope.AddVariable(GlobalState owner, ExecutionOptions executionOptions, String name, String dotnetDataType, String databaseDataType, Type type) à Invantive.Sql.V1.PSqlParser.AddVariable(GlobalState owner, ExecutionOptions executionOptions, ParserRuleContext ctx, PSqlScope scope, String name, String dotnetDataType, String databaseDataType, Type type) à Invantive.Sql.V1.PSqlParser.ParsePSqlBlock(GlobalState owner, ExecutionOptions executionOptions, PSqlDeclareSectionContext declareSection, PSqlBodyNoBatchSeparatorContext body, PSqlScope parentScope, HM queryPlanState) à Invantive.Sql.V1.PSqlStatementTree.OnExecute(GlobalState owner, ExecutionOptions executionOptions, ParameterList parameters, ExpressionParser expressionParser) à Invantive.Sql.V1.QueryTree.Execute(GlobalState owner, ExecutionOptions executionOptions, ParameterList parameters, ExpressionParser expressionParser) à Invantive.Sql.V1.QueryPlan.ForcePlan(GlobalState owner, ExecutionOptions executionOptions) à Invantive.Sql.V1.QueryPlan.Fetch(GlobalState owner, ExecutionOptions executionOptions, ObjectDefinition objectDefinition, String sqlStatement) à Invantive.Data.ConnectionManager.UG.H(QueryPlan ) à System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() à System.Linq.Buffer1..ctor(IEnumerable1 source) à System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) à Invantive.Data.ConnectionManager.ExecuteAndCombineQueryPlansV1(GlobalState owner, ExecutionOptions executionOptions, QueryPlan queryPlans, String sqlStatement, ParameterList parameters) à Invantive.Data.ConnectionManager.ExecuteProviderPassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule)— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée — à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() à Invantive.Data.ConnectionManager.ExecuteProviderPassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) à Invantive.Data.ConnectionManager.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule)— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée — à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() à Invantive.Data.ConnectionManager.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) à Invantive.Data.ActionProceduresBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters) à Invantive.Producer.Windows.Forms.QueryToolResults.LEQ(GlobalState , ExecutionOptions , IProgressNotifier , String , ParameterList , Boolean , Boolean , Boolean , Boolean ) dans C:\Users\gle3.WS212\Documents\ws-master\Invantive.Producer\src\Invantive.Producer.Windows.Forms\QueryTool\QueryToolTraceViewModel.cs:ligne 17 à Invantive.Producer.Windows.Forms.QueryToolResults.EEQ(GlobalState , ExecutionOptions , String , ParameterList ) dans C:\Users\gle3.WS212\Documents\ws-master\Invantive.Producer\src\Invantive.Producer.Windows.Forms\QueryTool\QueryToolDbmsOutputViewModel.cs:ligne 126
