Hi,

while migrating our application from tobago 1.0 to 2.0  and  jsf from 1.2
to 2.1 i got a ContextAwarePropertyNotWritableException with a wired
message:

org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotWritableException:
javax.el.PropertyNotWritableException: Missing Resource:
'resolverNotWriteable' for Locale Deutsch (Deutschland)
        at
org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:161)
        at javax.faces.component.UIInput.updateModel(UIInput.java:406)
<cut>
Caused by: javax.el.PropertyNotWritableException: Missing Resource:
'resolverNotWriteable' for Locale Deutsch (Deutschland)
        at
javax.el.ResourceBundleELResolver.setValue(ResourceBundleELResolver.java:79)
        at
javax.el.CompositeELResolver.setValue(CompositeELResolver.java:69)
        at
org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:237)
        at org.apache.el.parser.AstValue.setValue(AstValue.java:158)
        at
org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
        at
org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:153)
        ... 35 more

When debugging i found out that the
ContextAwarePropertyNotWritableException holds the necessary information
(the location, qName and expressionString) but doesn't  overwrite the
getMessage() method to provide this Information into the log file.

Is there a reason not to overwrite the getMessage()?

regards

  Volker Weber

-- 
inexso - information exchange solutions GmbH
Ofener Str. 30      | 26121 Oldenburg
Tel.: +49 441 219 730 0 |
FAX:  +49 441 219 730 66 | eMail: v.we...@inexso.de

Firmensitz: Oldenburg | Amtsgericht Oldenburg HRB 205251
Geschäftsführer: Stefan Schulte, Michael Terschüren

Reply via email to