Issue Details (XML | Word | Printable)

Key: GLASSFISH-18273
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Anissa Lam
Reporter: lidiam
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.

Exception in server.log when adding property to application configuration

Created: 30/Jan/12 10:08 PM   Updated: 20/Sep/12 08:59 AM
Component/s: deployment
Affects Version/s: 3.1.2_b19
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File server.log.txt (2 kB) 30/Jan/12 10:08 PM - lidiam


Tags: 312_qa
Participants: Anissa Lam, Jeremy_Lv and lidiam

 Description  « Hide

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(
at java.util.concurrent.FutureTask.get(
at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$
at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$
at java.util.concurrent.FutureTask$Sync.innerRun(
at org.jvnet.hk2.config.Transactions$Notifier$1$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(
at java.util.regex.Matcher.reset(
at java.util.regex.Matcher.<init>(
at java.util.regex.Pattern.matcher(
at org.glassfish.deployment.autodeploy.AutoDeployService.replaceTokens(

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

Anissa Lam added a comment - 30/Jan/12 10:11 PM

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

Jeremy_Lv added a comment - 20/Sep/12 08:59 AM

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.