glassfish
  1. glassfish
  2. GLASSFISH-17023

java.lang.NullPointerException seen in server.log when instances are added to a cluster

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1_b11
    • Fix Version/s: 3.1.1_b12, 4.0
    • Component/s: admin
    • Labels:
      None
    • Environment:

      OS: windows 2008 server
      browser : ff5.

      Description

      Using GF 3.1.1 Promoted build11 , create a local cluster, and add couple of instances to the cluster. The instances get created, and cluster starts/stops fine. but when the instances are added, the below java.lang.NullPointerException is thrown in server.log.

      [#|2011-07-12T12:32:34.294-0700|SEVERE|oracle-glassfish3.1.1|javax.enterprise.sy
      stem.tools.admin.com.sun.enterprise.v3.admin.listener|_ThreadID=75;_ThreadName=T
      hread-2;|Exception while processing config bean changes :
      java.lang.NullPointerException
      at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:636)
      at org.jvnet.hk2.config.ConfigSupport.getImpl(ConfigSupport.java:247)
      at com.sun.enterprise.v3.admin.listener.GenericJavaConfigListener$1.chan
      ged(GenericJavaConfigListener.java:234)
      at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java
      :289)
      at com.sun.enterprise.v3.admin.listener.GenericJavaConfigListener.change
      d(GenericJavaConfigListener.java:198)
      at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transacti
      ons.java:379)
      at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transacti
      ons.java:369)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Tra
      nsactions.java:259)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Tra
      nsactions.java:257)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:662)

      #]

        Activity

        Hide
        Anissa Lam added a comment -

        NPE is from config. Assign to admin for initial evaluation.

        Show
        Anissa Lam added a comment - NPE is from config. Assign to admin for initial evaluation.
        Hide
        Tom Mueller added a comment -

        This is a regression from a previous fix. On the DAS, the "config" field is null, so the code has to check for null.

        Why fix this issue in 3.1.1?
        This is a regression from the previous release.

        Which is the targeted build of 3.1.1 for this fix?
        b12

        Do regression tests exist for this issue?
        No.

        Which tests should QA (re)run to verify the fix did not destabilize GlassFish?
        Any test that updates system properties.

        Show
        Tom Mueller added a comment - This is a regression from a previous fix. On the DAS, the "config" field is null, so the code has to check for null. Why fix this issue in 3.1.1? This is a regression from the previous release. Which is the targeted build of 3.1.1 for this fix? b12 Do regression tests exist for this issue? No. Which tests should QA (re)run to verify the fix did not destabilize GlassFish? Any test that updates system properties.
        Hide
        Tom Mueller added a comment -

        Fixed on the trunk in revision 47990.

        Show
        Tom Mueller added a comment - Fixed on the trunk in revision 47990.
        Hide
        scatari added a comment -

        Approved for 3.1.1.

        Show
        scatari added a comment - Approved for 3.1.1.
        Hide
        Tom Mueller added a comment -

        Fixed on the 3.1.1 branch in revision 48010

        Show
        Tom Mueller added a comment - Fixed on the 3.1.1 branch in revision 48010
        Hide
        shaline added a comment -

        Verified in promoted b12.

        Show
        shaline added a comment - Verified in promoted b12.

          People

          • Assignee:
            Tom Mueller
            Reporter:
            shaline
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: