web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trying to paste into n...
Power Automate
Unanswered

Trying to paste into new flow gets NullReferenceException

(0) ShareShare
ReportReport
Posted on by 69

I have back-ups of all of my flows in txt format. I had to add the text sample here as a Word file because txt format is not supported here. The text was copied from the Power Automate Desktop editor. Now it won't paste into the editor. The editor has a single comment line to act as a target for the paste operation.

 

Message = Object reference not set to an instance of an object.
Error = System.NullReferenceException
Full text = System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Flow.RPA.Desktop.Designer.Core.DesignerProgram.ProgramItems.ActionItemModel.GetReferencedFolderAndImages()
at Microsoft.Flow.RPA.Desktop.Designer.Application.DesignerProgram.Functions.Commands.ProgramItemsCommandsHandlers.Import(IEnumerable`1 items, ImageRepositorySymbol imageRepository)
at Microsoft.Flow.RPA.Desktop.Designer.Application.DesignerProgram.Functions.Commands.ProgramItemsCommandsHandlers.<Handle>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediatR.Pipeline.RequestPostProcessorBehavior`2.<Handle>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediatR.Pipeline.RequestPreProcessorBehavior`2.<Handle>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Flow.RPA.Desktop.Designer.UI.Behaviors.ProgramItemsCutCopyPasteBehavior.<AddProgramItemsFromSource>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Flow.RPA.Desktop.Designer.UI.Behaviors.ProgramItemsCutCopyPasteBehavior.<PasteCommandExecuted>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

  • JeffreyDSmith Profile Picture
    69 on at

    I bit the bullet and deleted my 170 or so flows. I am re-installing from my back-ups. I am encountering an old problem when I have more than 100 or so flows. Some flows just disappear never to be seen again. I think I have enough flows re-installed for me to work for awhile. When I deleted all flows, I refreshed the list of flows and many names re-appeared. I repeated the processs until nothing appeared on refreshing the list. So, there is a design flaw and implementation error in Power Automate Desktop.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard