You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to use uQuery.GetNodesByXPath() and uQuery.GetNodesByType(), I get an System.NullReferenceException:
Object reference not set to an instance of an object.
at umbraco.uQuery.GetNodesByXPath(String xpath)
at Umbraco.Console.Program.Main(String[] args) in c:\Projects\dotSee\Moca\Umbraco-v.6.0.1\Umbraco.Console\Program.cs:line 49
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Although, when I use uQuery.GetNode() it works without any problem.
Any ideas why? Can uQuery be used in console?
Thanks in advance,
George J.
The text was updated successfully, but these errors were encountered:
Whenever I try to use uQuery.GetNodesByXPath() and uQuery.GetNodesByType(), I get an System.NullReferenceException:
Although, when I use uQuery.GetNode() it works without any problem.
Any ideas why? Can uQuery be used in console?
Thanks in advance,
George J.
The text was updated successfully, but these errors were encountered: