Ron, Are you sure there are no other error messages above that? The resulting exception sounds like something that might happen with an invalid schema. Can you check the logs for other error/warn messages?
James -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman Sent: Wednesday, July 19, 2006 4:41 PM To: users@tapestry.apache.org Subject: OT: hivemind help hi - I try to pass a parameter to a serviceIMplementationFactory but get an exception from hivemind: Parameter parameters must not be null. here is the xml: <service-point id="ViewControllerFactory" interface="org.apache.hivemind.ServiceImplementationFactory" parameters-occurs="0..1"> <parameters-schema> <element name="view"> <attribute name="name" required="true"/> <attribute name="api" required="true" translator="class"/> <attribute name="view-data" required="true" translator="class"/> <conversion class="ViewDef"> <map attribute="name" property="name"/> <map attribute="api" property="apiClass"/> <map attribute="view-data" property="viewTransientDataClass"/> </conversion> </element> </parameters-schema> <invoke-factory> <construct class="ViewControllerFactory"/> </invoke-factory> </service-point> and in another module: <service-point id="BGController" interface="ViewController"> <invoke-factory service-id="share.ViewControllerFactory" model="pooled"> <view name="bg" api="BGAPI" view-data="BGViewData"> </view> </invoke-factory> </service-point> the exception: java.lang.NullPointerException Parameter parameters must not be null. org.apache.hivemind.util.Defense.notNull(Defense.java:41) org.apache.hivemind.impl.ServiceImplementationFactoryParametersImpl.<init>(S erviceImplementationFactoryParametersImpl.java:47) org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServic eImplementation(InvokeFactoryServiceConstructor.java:59) org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCore ServiceImplementation(AbstractServiceModelImpl.java:108) org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructPooledServ ice(PooledServiceModel.java:210) org.apache.hivemind.impl.servicemodel.PooledServiceModel.obtainPooledService (PooledServiceModel.java:186) org.apache.hivemind.impl.servicemodel.PooledServiceModel.getServiceImplement ationForCurrentThread(PooledServiceModel.java:170) Any Idea what I am doing wrong here ? Cheers, Ron --------------------------------------------------------------------- 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]