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

Error in cbioportal-container when spinning up backend instance #10698

Closed
gblaih opened this issue Mar 11, 2024 · 3 comments · Fixed by #10782
Closed

Error in cbioportal-container when spinning up backend instance #10698

gblaih opened this issue Mar 11, 2024 · 3 comments · Fixed by #10782
Assignees

Comments

@gblaih
Copy link
Contributor

gblaih commented Mar 11, 2024

Getting this error in docker cbioportal-container logs when spinning up backend instance for localdb e2e testing. Other machines don't appear to be getting this issue; may be only affecting intel chip machines?

ERROR 150 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.NoSuchMethodError: org.bson.json.JsonWriterSettings: method 'void <init>()' not found] with root cause java.lang.NoSuchMethodError: org.bson.json.JsonWriterSettings: method 'void <init>()' not found

@sellth
Copy link

sellth commented Apr 16, 2024

Also running into this error after updating our instance to v6. Any idea about the cause?

ERROR 74 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.NoSuchMethodError: org.bson.json.JsonWriterSettings: method 'void <init>()' not found] with root cause

java.lang.NoSuchMethodError: org.bson.json.JsonWriterSettings: method 'void <init>()' not found
	at com.mongodb.BasicDBObject.toJson(BasicDBObject.java:154) ~[mongo-java-driver-3.12.14.jar:na]
	at com.mongodb.BasicDBObject.toString(BasicDBObject.java:238) ~[mongo-java-driver-3.12.14.jar:na]
	at org.cbioportal.web.SessionServiceController.getUserStudies(SessionServiceController.java:238) ~[cbioportal-webapp/:na]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
...

Edit: Maybe similar to #8898 & #8970?

@haynescd
Copy link
Collaborator

haynescd commented May 8, 2024

@sellth Can you try and see if the issue is resolved on your end as well (after the PR)

@sellth
Copy link

sellth commented May 15, 2024

@haynescd This solved it, thanks!

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 a pull request may close this issue.

3 participants