Skip to content

Error while executing ItemExists(string path='//BUG') #1358

@alan-null

Description

@alan-null

Expected Behavior

No exceptions in logs

Actual Behavior

SPE Logs:

112336 08:34:42 INFO  Arbitrary script execution in ISE by user: 'sitecore\Admin'
ManagedPoolThread #8 08:34:42 ERROR Error while executing ItemExists(string path='//BUG')
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Spe
   at Spe.Core.Provider.PsSitecoreItemProvider.GetItemForPath(String path)
   at Spe.Core.Provider.PsSitecoreItemProvider.ItemExists(String path)

Steps to Reproduce the Problem

  • open ISE
  • run Test-Path "//BUG"
  • see SPE logs

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions