Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception after starting MqttAgent Sequence contains more than one matching element #16

Closed
marspox opened this issue Dec 22, 2021 · 3 comments

Comments

@marspox
Copy link

marspox commented Dec 22, 2021

Hi,
I have included a latest preview version of OPC.Ua.PubSub into MqttAgent.
Whole application has been build success.
But after running app I'm getting error sequence contains more than one matching element.
I'm not able to identify a place in code when this exception is throwen.
MqttAgent

Any idea what can be wrong?

@opcfoundation-org
Copy link
Collaborator

Which codebase are you using? Line 47 is not a valid line number for the current codebase.

Check the list of commands that are being added in your version for duplicates.

@marspox
Copy link
Author

marspox commented Dec 23, 2021

Thanks for giving starting point.
The exception is related with duplicated '-p' option, once for password (-p|--password) second for publisher(-p|--publisher).

@opcfoundation-org
Copy link
Collaborator

You can delete the password option. This needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants