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

Update Okio dependency #120

Closed
1 of 2 tasks
Nayels opened this issue Dec 13, 2019 · 2 comments
Closed
1 of 2 tasks

Update Okio dependency #120

Nayels opened this issue Dec 13, 2019 · 2 comments

Comments

@Nayels
Copy link

Nayels commented Dec 13, 2019

Steps to reproduce:

Deploy to App Engine Standard -> Create API Context (w/ proxy) -> Application won't start and has the following message.

***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:411)

The following method did not exist:

'okio.Buffer okio.BufferedSource.getBuffer()'

The method's class, okio.BufferedSource, is available from the following locations:

jar:file:/srv/application-1.jar!/BOOT-INF/lib/okio-1.13.0.jar!/okio/BufferedSource.class

It was loaded from the following location:

jar:file:/srv/application-1.jar!/BOOT-INF/lib/okio-1.13.0.jar!/
Action:
Correct the classpath of your application so that it contains a single, compatible version of okio.BufferedSource

What should happen:

Bump okio version to 1.17.5 (latest)

compile group: 'com.squareup.okio', name: 'okio', version: '1.17.5.'

What happens:

Application fails to start because getBuffer() does not exist in version 1.13.0 of okio only since 1.16.0

SDK version and environment

  • Tested on 0.12.4
  • Sandbox
  • Production
Nayels added a commit to Nayels/sdk_java that referenced this issue Dec 31, 2019
NilsTellow added a commit to NilsTellow/sdk_java that referenced this issue Apr 28, 2020
- Change director_alias in UserCompany to list bunq#127
- Bump okio dependency to 1.17.5 bunq#120
@angelomelonas
Copy link
Contributor

Hi @Nayels, thank you for raising this issue 🙏 I apologise for the super late response.

We are busy reviewing your pull request and will get back to you soon.

@angelomelonas
Copy link
Contributor

This issue will be resolved here: #131

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