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
Operations

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

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

Environment:

ogs-3.1.2-b19.zip


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(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.



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

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.