Unused Dependencies Argument fullTypeName cannot be null or empty

I am facing one issue while do the Project analyzed

also try with remove unused dependencies but still get the system issue

Error ST-USG-010 Unused Dependencies System.ArgumentException: Argument fullTypeName cannot be null or empty
Parameter name: fullTypeName
at UiPath.Shared.TypeHelpers.Argument.IsNotNullOrEmpty(String paramName, String paramValue)
at UiPath.Shared.TypeHelpers.TypeHelper.GetAssemblyName(String fullTypeName)
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.<>c.b__7_0(Type type) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 132
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<DistinctIterator>d__641.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.CheckActivitiesType(IExpressionTokenizer expressionTokenizer, HashSet1 importedNamespaces, IVariableContainer container, Dictionary2 assemblyDictionary, GetAssemblyNamesContext getAssemblyNamesContext) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 137
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.CheckActivitiesType(IExpressionTokenizer expressionTokenizer, HashSet1 importedNamespaces, IVariableContainer container, Dictionary2 assemblyDictionary, GetAssemblyNamesContext getAssemblyNamesContext) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 155
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.CheckActivitiesType(IExpressionTokenizer expressionTokenizer, HashSet1 importedNamespaces, IVariableContainer container, Dictionary2 assemblyDictionary, GetAssemblyNamesContext getAssemblyNamesContext) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 155
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.CheckActivitiesType(IExpressionTokenizer expressionTokenizer, HashSet1 importedNamespaces, IVariableContainer container, Dictionary2 assemblyDictionary, GetAssemblyNamesContext getAssemblyNamesContext) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 155
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.Inspect(IProjectModel projectModel, Rule ruleInstance) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 50
at UiPath.Studio.Analyzer.Execution.Jobs.RuleJob`1.ExecuteInternal()
at UiPath.Studio.Analyzer.Execution.Jobs.JobBase.Execute()

Please update the packages, especially PDF package if you are using it.

also
fullTypeName

That parameter is marked with error, check if any null value is assigned to it at run time.

Also check the variables in the loop and IF condition. Have a debug run, once it fails you will see all variable’s value in the local panel, you will understand what is the reason for this error

Hi @Aarti_Godhasara,

What does this variable fullTypename refer to?

Also, if I may ask, what is the reason you have kept this error rule with error action instead of warning?

This rule majorly looks for unused dependencies , so it will highlight to remove clutter from the project like unused variables.

So in my view, this is something that you can change to warning by going to workflow analyzer settings.

Regards
Sonali

HI @Aarti_Godhasara,

Is your query resolved? If yes, please close this topic.

REgards
Sonali