Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10750

EJBCLIENT000509: Unexpected exception processing EJB request: java.lang.NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 14.0.0.Beta2
    • Clustering, EJB
    • None

      Observed in scenario eap-7x-failover-ejb-ejbremote-shutdown-dist-sync where an EJB Client connects to a 4 node cluster and invokes some Stateful EJBs.

      Failover is introduced by node shut-down & subsequent restart.
      The error is observed just before the node shuts down when application stopping has already been initiated:

      [JBossINF] �[0m�[0m06:36:30,328 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 94) WFLYCLINF0003: Stopped clusterbench-ee7.ear.clusterbench-ee7-web-default.war cache from web container
      [JBossINF] �[0m�[0m06:36:30,354 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 96) WFLYCLINF0003: Stopped clusterbench-ee7.ear.clusterbench-ee7-web-granular.war cache from web container
      [JBossINF] �[0m�[0m06:36:30,387 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      [JBossINF] �[0m�[0m06:36:30,397 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 100) WFLYCLINF0003: Stopped default-server cache from web container
      [JBossINF] �[0m�[0m06:36:30,401 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
      [JBossINF] �[0m�[0m06:36:30,406 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-5) ISPN000080: Disconnecting JGroups channel ejb
      [JBossINF] �[0m�[0m06:36:30,477 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 87) ISPN000030: Passivated 2048 entries in 220 milliseconds
      [JBossINF] �[0m�[33m06:36:30,481 WARN  [org.infinispan.transaction.impl.TransactionTable] (ServerService Thread Pool -- 87) ISPN000100: Stopping, but there are 0 local transactions and 1 remote transactions that did not finish in time.
      [JBossINF] �[0m�[0m06:36:30,495 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 87) WFLYCLINF0003: Stopped clusterbench-ee7.ear/clusterbench-ee7-ejb.jar cache from ejb container
      [JBossINF] �[0m�[31m06:36:30,501 ERROR [org.jboss.ejb.client.invocation] (default task-12) EJBCLIENT000509: Unexpected exception processing EJB request: java.lang.NullPointerException
      [JBossINF] 	at org.jboss.as.ejb3.deployment.DeploymentRepository.getStartedModules(DeploymentRepository.java:202)
      [JBossINF] 	at org.jboss.as.ejb3.remote.AssociationImpl.findEJB(AssociationImpl.java:401)
      [JBossINF] 	at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:117)
      [JBossINF] 	at org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleInvocationRequest(EJBServerChannel.java:450)
      [JBossINF] 	at org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleMessage(EJBServerChannel.java:188)
      [JBossINF] 	at org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$receiveMessage$2(RemoteConnectionChannel.java:361)
      [JBossINF] 	at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949)
      [JBossINF] 	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      [JBossINF] 	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      [JBossINF] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      [JBossINF] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      [JBossINF] 	at java.lang.Thread.run(Thread.java:748)
      

              Unassigned Unassigned
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: