You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When APIM-3.2.0 is configured with the APIM-Analytics 3.2.0 version, during the connection establishment process with the Analytics auth URL (ssl://localhost:7711) if an "DataEndpointLoginException" is thrown, the following NPE exception would get printed in the carbon.logs without a proper cause for the error message.
ERROR - APIMgtUsageDataBridgeDataPublisher Error initializing APIMgtUsageDataBridgeDataPublisher
java.lang.NullPointerException: null
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.runConnection(DataEndpointConnectionWorker.java:124) ~[org.wso2.carbon.databridge.agent_5.2.26.10.jar:?]
at org.wso2.carbon.databridge.agent.endpoint.DataEndpoint.connect(DataEndpoint.java:163) ~[org.wso2.carbon.databridge.agent_5.2.26.10.jar:?]
at org.wso2.carbon.databridge.agent.endpoint.DataEndpoint.initialize(DataEndpoint.java:193) ~[org.wso2.carbon.databridge.agent_5.2.26.10.jar:?]
at org.wso2.carbon.databridge.agent.DataPublisher.processEndpoints(DataPublisher.java:204) ~[org.wso2.carbon.databridge.agent_5.2.26.10.jar:?]
at org.wso2.carbon.databridge.agent.DataPublisher.<init>(DataPublisher.java:128) ~[org.wso2.carbon.databridge.agent_5.2.26.10.jar:?]
at org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.getDataPublisher(APIMgtUsageDataBridgeDataPublisher.java:117) ~[org.wso2.carbon.apimgt.usage.publisher_6.7.206.19.jar:?]
at org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.init(APIMgtUsageDataBridgeDataPublisher.java:48) [org.wso2.carbon.apimgt.usage.publisher_6.7.206.19.jar:?]
The "DataEndpointLoginException" can get thrown for scenarios like invalid credentials defined on either side (APIM or Analytics) or a certificate issue (missing certificate). For all these scenarios the same NPE exception gets thrown.
This needs to be fixed with proper exception handling.
Steps to Reproduce
Configure APIM analytics 3.2 with APIM 3.2.0 version.
Configure invalid credentials on either side.
Start the Analytics worker server first, and then the APIM server.
The above mentioned error log would get printed during the startup logs.
Affected Component
APIM
Version
3.2.0
The text was updated successfully, but these errors were encountered:
Description
When APIM-3.2.0 is configured with the APIM-Analytics 3.2.0 version, during the connection establishment process with the Analytics auth URL (ssl://localhost:7711) if an "DataEndpointLoginException" is thrown, the following NPE exception would get printed in the carbon.logs without a proper cause for the error message.
The "DataEndpointLoginException" can get thrown for scenarios like invalid credentials defined on either side (APIM or Analytics) or a certificate issue (missing certificate). For all these scenarios the same NPE exception gets thrown.
This needs to be fixed with proper exception handling.
Steps to Reproduce
Affected Component
APIM
Version
3.2.0
The text was updated successfully, but these errors were encountered: