Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
-
EPAM-Veg Sprint 116
-
0.5
-
Vega
-
R2 2021
Description
How to repoduce
Latest master https://github.com/folio-org/mod-feesfines/commit/2b5a3f3dc11df29cc2bfac134204533c0db7762c
mvn clean install
java -jar target/mod-feesfines-fat.jar
curl -w"\n" -H "x-okapi-tenant: diku" -H "Content-type: application/json" -H "x-okapi-url-to: http://localhost:8081" -d '{"module_to":"mod-feesfines-16.1.0"}' http://localhost:8081/_/tenant
16:31:50 [] [] [] [] ERROR TenantRefAPI postTenant failure java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/pull/XmlPullParserException at org.folio.util.pubsub.PubSubClientUtils.getModuleId(PubSubClientUtils.java:291) ~[mod-feesfines-fat.jar:?] at org.folio.util.pubsub.PubSubClientUtils.readMessagingDescriptor(PubSubClientUtils.java:237) ~[mod-feesfines-fat.jar:?] at org.folio.util.pubsub.PubSubClientUtils.registerModule(PubSubClientUtils.java:95) ~[mod-feesfines-fat.jar:?] at org.folio.rest.service.PubSubRegistrationService.registerModule(PubSubRegistrationService.java:24) ~[mod-feesfines-fat.jar:?] at org.folio.rest.impl.TenantRefAPI.lambda$2(TenantRefAPI.java:53) ~[mod-feesfines-fat.jar:?] at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:160) ~[mod-feesfines-fat.jar:?] at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96) ~[mod-feesfines-fat.jar:?] at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:158) ~[mod-feesfines-fat.jar:?] at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76) ~[mod-feesfines-fat.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [mod-feesfines-fat.jar:?] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.xml.pull.XmlPullParserException at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[?:?] at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?] ... 13 more 16:31:50 [] [] [] [] INFO LogUtil 0:0:0:0:0:0:0:1:40022 POST /_/tenant null HTTP_1_1 500 56 1970 tid=diku Internal Server Error
A test should be added to https://github.com/folio-org/mod-feesfines/blob/master/src/test/java/org/folio/rest/impl/TenantRefAPITest.java that checks that POST /_/tenant succeeds.
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-3197 Snapshot build failures
-
- Closed
-
- relates to
-
MODPUBSUB-179 Fix module version issue in mod-pubsub-client
-
- Closed
-
-
MODFEE-190 Upgrade to RMB v33
-
- Closed
-
-
MODPATBLK-89 Tenant initialization error for snapshot build number 52
-
- Closed
-