The setter threw an exception when HiveMind tried to call it. What's the rest of that stack trace?
-----Original Message----- From: Aleksej [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 9:58 AM To: [email protected] Subject: Problem with configurations ( "Unable to update property yyy of object Xxx" ); Got exception at hivemind startup, caused by configuration system. I got service which has public property with List argument. Configuration bean SpecialPage is simple bean with empty constructor. All hivemind configurations are in the same module. DynamicPageEncoder interface is empty interface extending ServiceEncoder interface ( setSpecialPages( List ) method declaration in interface didn't help too ). Hivemind descriptor is quite simple: <configuration-point id="specialPageConf"> <schema> <element name="page"> <attribute name="pageName" required="true"/> <attribute name="tapestryPage" required="true"/> <conversion class="ivs.cross.service.conf.SpecialPage"/> </element> </schema> </configuration-point> <contribution configuration-id="specialPageConf"> <page pageName="NewsList" tapestryPage="news/NewsList" /> </contribution> <service-point id="dynamicPageEncoder" interface="DynamicPageEncoder"> <invoke-factory model="threaded" > <construct class="impl.DynamicPageEncoderImpl"> <set-configuration property="specialPages" configuration-id="specialPageConf" /> <set-service property="dataSqueezer" service-id="tapestry.data.DataSqueezer" /> <set-service property="servletRequest" service-id="tapestry.globals.HttpServletRequest" /> <set property="extension" value="html" /> </construct> </invoke-factory> </service-point> ---- Got exception: javax.servlet.ServletException: Unable to construct service ivs.cross.service.dynamicPageEncoder: Error building service ivs.cross.service.dynamicPageEncoder: Error at context:/WEB-INF/crossmodule.xml, line 25, column 85: Unable to update property specialPages of object [EMAIL PROTECTED]: java.lang.reflect.InvocationTargetException Can anyone explain whats wrong? I was looking in docs and tutorial and have no clues. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
