Details
-
Type:
Story
-
Status: Closed (View Workflow)
-
Priority:
P2
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 31.0.0
-
Labels:
-
Template:customfield_11100 38200
-
Sprint:CP: ready for planning, eHoldings Sprint 94
-
Story Points:3
-
Development Team:Spitfire
Description
ClassPath utility from Guava library used by RMB stops working under JDK 11: returns empty set of classes/interface for a given package although the classes are present. This results in errors during API endpoint classes generation and request processing by RestVerticle.
Observable issues with unit tests caused by the above problem
domain-models-interface-extensions:
- ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.178 s <<< FAILURE! - in org.folio.rest.tools.AnnotationGrabberTest
[ERROR] org.folio.rest.tools.AnnotationGrabberTest.generateMappings Time elapsed: 0.156 s <<< ERROR!
java.lang.NullPointerException
at org.folio.rest.tools.AnnotationGrabberTest.generateMappings(AnnotationGrabberTest.java:21)
- [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.149 s <<< FAILURE! - in org.folio.rest.tools.ClientGeneratorTest
[ERROR] org.folio.rest.tools.ClientGeneratorTest.doesGenerateTestResourceClient Time elapsed: 0.146 s <<< FAILURE!
java.lang.AssertionError
at org.folio.rest.tools.ClientGeneratorTest.doesGenerateTestResourceClient(ClientGeneratorTest.java:46)
domain-models-runtime:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
- [ERROR] /home/runner/work/raml-module-builder/raml-module-builder/domain-models-runtime/src/test/java/org/folio/DemoRamlRestTest.java:[15,29] cannot find symbol
symbol: class AdminClient
location: package org.folio.rest.client
- [ERROR] /home/runner/work/raml-module-builder/raml-module-builder/domain-models-runtime/src/test/java/org/folio/rest/Test.java:[3,29] cannot find symbol
symbol: class AdminClient
location: package org.folio.rest.client
- SEVERE: Implementation of org.folio.rest.jaxrs.resource.Admin not found in org.folio.rest.impl
--------------xxxxxx-1------------------ Unable to process requestImplementation of org.folio.rest.jaxrs.resource.Rmbtests not found in org.folio.rest.impl
java.lang.ClassNotFoundException: Implementation of org.folio.rest.jaxrs.resource.Admin not found in org.folio.rest.impl
at org.folio.rest.tools.utils.InterfaceToImpl.convert2Impl(InterfaceToImpl.java:94)
at org.folio.rest.RestVerticle.route(RestVerticle.java:435)
at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:289)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:133)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
- SEVERE: Implementation of org.folio.rest.jaxrs.resource.Rmbtests not found in org.folio.rest.impl
java.lang.ClassNotFoundException: Implementation of org.folio.rest.jaxrs.resource.Rmbtests not found in org.folio.rest.impl
at org.folio.rest.tools.utils.InterfaceToImpl.convert2Impl(InterfaceToImpl.java:94)
at org.folio.rest.RestVerticle.route(RestVerticle.java:435)
at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:289)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:133)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-1772 Upgrade to OpenJDK 11
-
- Closed
-
-
RMB-328 Make RMB OpenJDK 11 compliant
-
- Closed
-
- defines
-
RMB-658 SPIKE - Make RMB OpenJDK 11 compliant - investigate unknowns
-
- Closed
-