microsoft / botbuilder-tools

Welcome to the Bot Framework Tools repository, which is the home for a set of tools for developers building bots with the Microsoft Bot Framework
https://github.com/Microsoft/botframework
MIT License
444 stars 262 forks source link

dispatch refresh v1.7.6 throws null reference exception #1510

Closed sschutten closed 3 years ago

sschutten commented 3 years ago

Tool

Name: Dispatch Version: 1.7.6 OS: Windows 10

Describe the bug

Running dispatch refresh results in the following error:

ERROR
Object reference not set to an instance of an object.

Downgrade to v1.7.5 and using the identical dispatch file works as expected.

hhasenauer commented 3 years ago

I can confirm this issue with dispatch add

anusharr commented 3 years ago

Attempting a repro results in NullReferenceException with dispatch add on v1.7.6. Investigating further.

anusharr commented 3 years ago

@tsuwandy, any pointers on what might be causing this error?

tsuwandy commented 3 years ago

@anusharavindrar, found the issue. Working on a fix, will update this once fix is deployed. Thanks!

tsuwandy commented 3 years ago

@anusharavindrar, @sschutten, @hhasenauer, dispatch v 1.7.7 is deployed to npmjs with the fix. Let me know if and reactivate this issue if you are still having issues with it. Thanks!