Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.1-incubating
-
None
Description
On a Windows machine I have environment variables for shares and other things. These property values contain $ but no { } etc... This results in a NoSuchElementException in the DefaultExpressionEvaluator when calling tokenizer.nextToken().
java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(Unknown Source) at org.apache.tamaya.resolver.internal.DefaultExpressionEvaluator.evaluateExpression(DefaultExpressionEvaluator.java:150) at org.apache.tamaya.resolver.internal.ExpressionResolutionFilter.filterProperty(ExpressionResolutionFilter.java:81) at org.apache.tamaya.core.internal.DefaultConfiguration.applyFilters(DefaultConfiguration.java:177)