Skip to content

Commit e7182b9

Browse files
committed
Bug 38264276 - NPE : Cannot invoke "com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ProxyService.getAcceptor()" because "proxyService" is null (ce-main -> ce-v25.03, ce-v22.06 @118193)
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v22.06/": change = 118196]
1 parent 29cab56 commit e7182b9

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)