Skip to content

Commit c30e524

Browse files
committed
Bug 38264276 - NPE : Cannot invoke "com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ProxyService.getAcceptor()" because "proxyService" is null (main -> ce-main, 15.1.1.0, 14.1.2.0, 14.1.1.2206 @118178)
[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 118193]
1 parent 13eaad6 commit c30e524

File tree

1 file changed

+7
-1
lines changed
  • prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/model/localModel

1 file changed

+7
-1
lines changed

prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/model/localModel/ServiceModel.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/*
3-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
3+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
44
*
55
* Licensed under the Universal Permissive License v 1.0 as shown at
66
* https://oss.oracle.com/licenses/upl.
@@ -2124,6 +2124,12 @@ public boolean isReady()
21242124
{
21252125
service = ((SafeProxyService) service).getService();
21262126
}
2127+
// the service is likely null because it failed to start and
2128+
// there should already be error log messages for the startup failure
2129+
if (service == null)
2130+
{
2131+
return false;
2132+
}
21272133
ProxyService proxyService = (ProxyService) service;
21282134
ConnectionAcceptor acceptor = proxyService.getAcceptor();
21292135
fReady = proxyService.isStarted() && acceptor != null && acceptor.isRunning();

0 commit comments

Comments
 (0)