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

Invalid channel id #78

Open
negadmin opened this issue Oct 29, 2020 · 1 comment
Open

Invalid channel id #78

negadmin opened this issue Oct 29, 2020 · 1 comment

Comments

@negadmin
Copy link

Hello,

I am following the Salesforce Trailhead to subscribe to Change Data Capture Event Channel using EMP-Connector. I run the following command in GIT bash but always get the error below. I have tried researching a solution but had not luck. Could anyone provide some direction?

Command run against a Handson Org
java -jar target/emp-connector-0.0.1-SNAPSHOT-phat.jar /data/AccountChangeEvent

Error
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.IllegalArgumentException: Invalid channel id: C:/tools/Git/data/AccountChangeEvent
at org.cometd.bayeux.ChannelId.(ChannelId.java:57)
at org.cometd.client.BayeuxClient.newChannelId(BayeuxClient.java:460)
at org.cometd.common.AbstractClientSession.getChannel(AbstractClientSession.java:140)
at org.cometd.common.AbstractClientSession.getChannel(AbstractClientSession.java:126)
at com.salesforce.emp.connector.EmpConnector$SubscriptionImpl.subscribe(EmpConnector.java:87)
at com.salesforce.emp.connector.EmpConnector.subscribe(EmpConnector.java:212)
at com.salesforce.emp.connector.example.LoginExample.main(LoginExample.java:59)

Thanks for any help,
Neil

@baslu93
Copy link

baslu93 commented Jan 5, 2021

Hi Neil,

Git bash try to prepend the Git folder path, try with another cli tool.
I've tried with CMD and it works for me.

Luca

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