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

Workaround to avoid errors that cause plugin to crash on Java 11 #38

Closed
wants to merge 3 commits into from

Conversation

robbavey
Copy link
Contributor

When running this plugin under Java 11, calls to event_processor_host.getHostContext.getEventHubPath
can fail with org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method getEventHubPath'`

This can be avoided by removing the calls to this method, which is only used in logging calls and is
unnecessary - the value is the same as that held in the event_hub_name

robbavey added 2 commits May 28, 2019 10:54
When running this plugin under Java 11, calls to event_processor_host.getHostContext.getEventHubPath
 can fail with `org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `getEventHubPath'`

This can be avoided by removing the calls to this method, which is only used in logging calls and is
 unnecessary - the value is the same as that held in the `event_hub_name`
@elasticsearch-bot elasticsearch-bot self-assigned this May 28, 2019
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robbavey
Copy link
Contributor Author

Thanks @jsvd!

@elasticsearch-bot
Copy link

Rob Bavey merged this into the following branches!

Branch Commits
master 5e467fa, 36f9e20, 7859b02

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

Successfully merging this pull request may close these issues.

3 participants