Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7403

Exception in thread "Remoting "domain-client-mgmt-endpoint" task-XX" java.lang.NullPointerException

    XMLWordPrintable

Details

    Description

      In internal testsuite I start domain using wildfly TS utility DomainTestSupport.createAndStartSupport(). It worked well until DR7. In DR8 domain doesn't start properly and in server log there are following exceptions:

      Exception in thread "Remoting "domain-client-mgmt-endpoint" task-37" java.lang.NullPointerException
      	at org.wildfly.security.manager.WildFlySecurityManager$4.run(WildFlySecurityManager.java:1468)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.wildfly.security.manager.WildFlySecurityManager.doPrivilegedWithParameter(WildFlySecurityManager.java:1578)
      	at org.wildfly.security.sasl.util.PrivilegedSaslClient.evaluateChallenge(PrivilegedSaslClient.java:57)
      	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.lambda$handleEvent$0(ClientConnectionOpenListener.java:407)
      	at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:734)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      This exceptions occures regurarly each cca 3 seconds. It is apparently polling mechanism implemented in DomainTestSupport testing if servers are up already.
      Effectivelly I am using configuration/dependencies that worked on 7.0.GA and on 7.1 I get NPE.

      I can workaround it by adding explicitely dependency on elytron to client

      <dependency>
        <groupId>org.wildfly.security</groupId>
        <artifactId>wildfly-elytron</artifactId>
        <version>1.1.0.Beta13</version>
      </dependency>
      

      Could be related to JBEAP-7100

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: