Code Monkey home page Code Monkey logo

authoring-acceptance-gateway's People

Contributors

astro-snail avatar codermchu avatar dmcgihtsdo avatar jimcornmell avatar kaicode avatar markrynbeek avatar quyenly87 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

itzfatoni

authoring-acceptance-gateway's Issues

Null Point Exception in snowstormRestClientFactory.getClient()

I tried to install and use authoring acceptance gateway.
I sent a API and get "Internal Server Error", which because of the Null Point Exception in snowstormRestClientFactory.getClient().

But the snowstorm.url is correct.
We found the authoring acceptance gateway's test log as below:

2023-05-17 07:05:52.033 INFO 1 --- [ main] o.snomed.aag.SnowstormConnectionTester : Confirming connection to Snowstorm. (Snowstorm URL: http://172.30.1.60:8071/version)
2023-05-17 07:05:52.070 INFO 1 --- [ main] o.snomed.aag.SnowstormConnectionTester : Successfully confirmed connection to Snowstorm.


But, I sent GET API, such as: http://localhost:8090/authoring-acceptance-gateway/acceptance/MAIN/SAP2/SAP2-3?matchAuthorFlags=true

The Null Point Exception log was as below:

2023-05-17 07:05:59.652 ERROR 1 --- [nio-8090-exec-1] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/authoring-acceptance-gateway] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:878) ~[guava-29.0-jre.jar!/:na]
at com.google.common.cache.LocalCache.getIfPresent(LocalCache.java:3955) ~[guava-29.0-jre.jar!/:na]
at com.google.common.cache.LocalCache$LocalManualCache.getIfPresent(LocalCache.java:4865) ~[guava-29.0-jre.jar!/:na]
at org.ihtsdo.otf.rest.client.terminologyserver.SnowstormRestClientFactory.getClient(SnowstormRestClientFactory.java:33) ~[otf-common-4.3.0.jar!/:na]
at org.snomed.aag.data.services.BranchSecurityService.getBranchOrThrow(BranchSecurityService.java:65) ~[classes!/:1.6.2-SNAPSHOT]
......................

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.