Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23123

Server crash - NPE during service undeploy in mixed Java/.NET cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.16
    • 2.18
    • managed services
    • None
    • Docs Required, Release Notes Required

    Description

      • 1 Java-only server node
      • 2 .NET thick client nodes
      • Deploy .NET service: services.DeployNodeSingleton("TestService", TestServiceImpl)
      • Cancel .NET service: services.Cancel("TestService")
      • Server node crashes with NPE:
      java.lang.NullPointerException: Cannot invoke "org.apache.ignite.internal.processors.service.ServiceInfo.name()" because "rmv" is null
              at org.apache.ignite.internal.processors.service.IgniteServiceProcessor.lambda$updateDeployedServices$4(IgniteServiceProcessor.java:1599)
              at java.base/java.util.HashMap.forEach(HashMap.java:1421)
              at java.base/java.util.Collections$UnmodifiableMap.forEach(Collections.java:1553)
              at org.apache.ignite.internal.processors.service.IgniteServiceProcessor.updateDeployedServices(IgniteServiceProcessor.java:1594)
      

      Does not happen if all nodes are .NET nodes, only when the server is Java-only.

      Reported on GitHub: https://github.com/apache/ignite/issues/11506

      Attachments

        Activity

          People

            Unassigned Unassigned
            ptupitsyn Pavel Tupitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: