glassfish
  1. glassfish
  2. GLASSFISH-18273

Exception in server.log when adding property to application configuration

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2_b19
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      ogs-3.1.2-b19.zip

      Description

      Steps to reproduce:

      1. Go to Domain, Applications Configuration.
      2. Click on Add Properties at the bottom of the page and add some property.
      3. Click Save. The following exception is printed in server.log:

      [#|2012-01-30T14:01:28.271-0800|SEVERE|glassfish3.1.2|null|_ThreadID=48;_ThreadName=Thread-4;|Config Listener notification got interrupted
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
      at java.util.concurrent.FutureTask.get(FutureTask.java:91)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:290)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:269)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:139)
      at org.jvnet.hk2.config.Transactions$Notifier$1$1.run(Transactions.java:169)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:139)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
      at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
      at java.util.regex.Matcher.reset(Matcher.java:291)
      at java.util.regex.Matcher.<init>(Matcher.java:211)
      at java.util.regex.Pattern.matcher(Pattern.java:888)
      at org.glassfish.deployment.autodeploy.AutoDeployService.replaceTokens(AutoDeployService.java:391)

      The property is saved fine, hence logging this as a minor priority.

        Activity

        Hide
        Anissa Lam added a comment -

        Stack tace shows coming from deployment code. transfer to deployment for evaluation.

        Show
        Anissa Lam added a comment - Stack tace shows coming from deployment code. transfer to deployment for evaluation.
        Hide
        Jeremy_Lv added a comment -

        lidiam:
        I try to reproduce it in the latest version of GFV4.0_b54 but it can not be reproduced.
        I think it is fixed in the version of GFV4.

        Show
        Jeremy_Lv added a comment - lidiam: I try to reproduce it in the latest version of GFV4.0_b54 but it can not be reproduced. I think it is fixed in the version of GFV4.

          People

          • Assignee:
            Anissa Lam
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: