struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38784] - LoadBundle basename property is not set
Date Thu, 09 Mar 2006 10:45:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38784>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38784





------- Additional Comments From hlubek@networkteam.com  2006-03-09 10:45 -------
It was exactly configured like the example in the Javadocs. I debugged the
application and installed a breakpoint at the line where the exception was
thrown. The stacktrace showed, that the bean was initialized lazily by myfaces.
The Problem is that the managed bean initialization calls the getType function
of the ShalePropertyResolver to resolve the type of the basename property.

Because the property is not named "map" and Beans.isDesignTime() is false, the
code in the ShalePropertyResolver (posted in my first description) tries to
resolve the type of the property from the map of the LoadBundle, which itself
complains about having a null basename :)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message