Hi Team,

I am trying to register service through MSB (microservice bus) but is throwing 
below error. MSB is running and holmes too.

Note: : However this setup works intermittently , For the first time it was 
working ( fresh setup) after that it is showing below error message.


Holmes-rule-management logs
2023-07-10 06:58:35 569 WARN  
[org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1][][] - Unexpected 
exception: java.net.MalformedURLException: Error at index 0 in: "null"
jakarta.ws.rs.ProcessingException: java.net.MalformedURLException: Error at 
index 0 in: "null"
        at 
org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:269)
        at 
org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
        at 
org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
        at 
org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
        at 
org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
        at 
org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
        at 
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
        at 
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
        at 
org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:345)
        at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:147)
        at 
org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:69)
        at org.onap.holmes.rulemgt.Initializer.lambda$run$0(Initializer.java:56)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.MalformedURLException: Error at index 0 in: "null"
        at java.base/java.net.URL.<init>(Unknown Source)
        at java.base/java.net.URL.fromURI(Unknown Source)
        at java.base/java.net.URI.toURL(Unknown Source)
        at 
org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:320)
        at 
org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:267)
        ... 18 common frames omitted
Caused by: java.lang.NumberFormatException: Error at index 0 in: "null"
        at java.base/java.lang.NumberFormatException.forCharSequence(Unknown 
Source)
        at java.base/java.lang.Integer.parseInt(Unknown Source)
        at java.base/java.net.URLStreamHandler.parseURL(Unknown Source)
        ... 23 common frames omitted
2023-07-10 06:58:35 570 WARN  
[org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1][][] - Failed to 
register the service to MSB. Sleep 20s and try again.
2023-07-10 06:58:35 570 INFO  
[org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1][][] - Start 
sleeping...
2023-07-10 06:58:44 858 INFO  
[org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer][][] - There are 1 
engine instance(s) running currently.

Any help will be appreciated.

Thanks & Regards,
Tara

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24490): https://lists.onap.org/g/onap-discuss/message/24490
Mute This Topic: https://lists.onap.org/mt/100053948/21656
Mute #holmes:https://lists.onap.org/g/onap-discuss/mutehashtag/holmes
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to