-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: problems with a custom PropertyAccessor
PostPosted: Fri May 05, 2006 6:59 am 
Newbie

Joined: Fri May 05, 2006 6:49 am
Posts: 2
Location: Spain
Hello,

I am having problems with a custom PropertyAccessor.
I am working on an project that was developed on Linux some time ago.
I am using win2k and have made some minor changes to get the project to compile (with maven 1.0.2 using xdoclet etc.) and deploy on jboss (shortended names of war and some jars).
I can get jboss (3.2.7) to start up and can pass the opening login page but when the application tries to create the main menu (dependent on roles and information in database)
I get the following error:
10:36:10,668 ERROR [LogInterceptor] EJBException in method: public abstract com.houndline.interbanca.dominio.personas.Usuario com.houndline.interbanca.servicios.acciones.ServiciosOperacion.obtenerUsuarioPorUsername(java.lang.String) throws
java.rmi.RemoteException, causedBy:
net.sf.hibernate.PropertyNotFoundException: Could not find a setter for property id in class com.openinput.domain.accountability.LocatorType
at net.sf.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:131)

I assume this error is due to the custom PropertyAccessor (InterfaceAccessor) not being called/working/configured correctly.

As a test I put an abstract setId into the class Identifiable with the result that I got a similar error but for another class further into the process.
The question is: how can I make sure that the custom PropertyAccessor works correctly?


I have put some of the relevant code (java and xdoclet generated files for hibernate) and excerpts of the jboss console output below:


--------------- LocatorType.java --------------------------------------------------------------------------------

package com.openinput.domain.accountability;

import java.util.Set;

import com.openinput.domain.identification.Identifiable;
import com.openinput.domain.identification.Named;

/**
* A type of locator.
*
* @author $Author: skirchner $
* @version $Revision: 1.6 $ [$Date: 2005/11/23 10:31:14 $]
* @hibernate.class table = "locatorType"
* @hibernate.discriminator column = "class"
* @hibernate.query name = "findLocatorTypeByName" query = "from com.openinput.domain.accountability.LocatorType as locatorType where
* locatorType.name = :typeName"
* @hibernate.cache usage="read-only"
*/
public interface LocatorType extends Identifiable, Named
{
/**
* @return
* @hibernate.set table = "allowedNestedLocatorType" access = "com.openinput.tools.hibernate.InterfaceAccessor"
* @hibernate.collection-key column = "locatorType"
* @hibernate.collection-many-to-many column = "nestedLocatorType" class = "com.openinput.domain.accountability.LocatorType"
* @hibernate.collection-cache usage="read-only"
*/
public Set getAllowedNestedLocatorTypes( );
}

--------------- END OF LocatorType.java --------------------------------------------------------------------------------

--------------- LocatorType.hbm.xml ----------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">

<hibernate-mapping
>
<class
name="com.openinput.domain.accountability.LocatorType"
table="locatorType"
dynamic-update="false"
dynamic-insert="false"
select-before-update="false"
optimistic-lock="version"
>
<cache usage="read-only" />

<id
name="id"
column="id"
type="java.lang.String"
length="40"
access="com.openinput.tools.hibernate.InterfaceAccessor"
>
<generator class="uuid.hex">
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-LocatorType.xml
containing the additional parameters and place it in your merge dir.
-->
</generator>
</id>

<discriminator
column="class"
/>

<set
name="allowedNestedLocatorTypes"
table="allowedNestedLocatorType"
lazy="false"
inverse="false"
access="com.openinput.tools.hibernate.InterfaceAccessor"
cascade="none"
sort="unsorted"
>
<cache
usage="read-only"
/>

<key
column="locatorType"
>
</key>

<many-to-many
class="com.openinput.domain.accountability.LocatorType"
column="nestedLocatorType"
outer-join="auto"
/>

</set>

<property
name="name"
type="java.lang.String"
update="true"
insert="true"
access="com.openinput.tools.hibernate.InterfaceAccessor"
column="name"
/>

<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-LocatorType.xml
containing the additional properties and place it in your merge dir.
-->
<subclass
name="com.openinput.domain.accountability.support.SimpleLocatorType"
dynamic-update="false"
dynamic-insert="false"
>

<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-SimpleLocatorType.xml
containing the additional properties and place it in your merge dir.
-->

</subclass>

</class>

<query name="findLocatorTypeByName"><![CDATA[
from com.openinput.domain.accountability.LocatorType as locatorType where locatorType.name = :typeName
]]></query>

</hibernate-mapping>

--------------- END OF LocatorType.hbm.xml -------------------------------------------------------------------


--------------- Identifiable.java ------------------------------------------------------------------------------

package com.openinput.domain.identification;

/**
* @author $Author: jgonzalez $
* @version $Revision: 1.2 $ [$Date: 2004/12/22 09:43:14 $]
*/
public interface Identifiable
{
/**
* @return
* @hibernate.id column = "id" generator-class = "uuid.hex" length = "40" access = "com.openinput.tools.hibernate.InterfaceAccessor"
*/
public abstract String getId( );
}

--------------- END OF Identifiable.java --------------------------------------------------------------------------------


--------------- InterfaceAccessor.java --------------------------------------------------------------------------------

package com.openinput.tools.hibernate;

import java.lang.reflect.Method;

import net.sf.hibernate.HibernateException;
import net.sf.hibernate.PropertyNotFoundException;
import net.sf.hibernate.property.BasicPropertyAccessor;
import net.sf.hibernate.property.DirectPropertyAccessor;
import net.sf.hibernate.property.Getter;
import net.sf.hibernate.property.PropertyAccessor;
import net.sf.hibernate.property.Setter;

/**
* @author $Author: jgonzalez $
* @version $Revision: 1.1 $ [$Date: 2004/12/22 09:43:14 $]
*/
public class InterfaceAccessor implements PropertyAccessor
{
private static BasicPropertyAccessor basicFactory = new BasicPropertyAccessor( );

/**
* @see net.sf.hibernate.property.PropertyAccessor#getGetter(java.lang.Class, java.lang.String)
*/
public Getter getGetter( Class clazz, String propertyName ) throws PropertyNotFoundException
{
return basicFactory.getGetter( clazz, propertyName );
}

/**
* @see net.sf.hibernate.property.PropertyAccessor#getSetter(java.lang.Class, java.lang.String)
*/
public Setter getSetter( Class clazz, String propertyName ) throws PropertyNotFoundException
{
return new DeferredSetter( clazz, propertyName );
}

private static class DeferredSetter implements Setter
{
private static DirectPropertyAccessor directFactory = new DirectPropertyAccessor( );
private Class clazz;
private String propertyName;
private Setter delegate;

/**
* @param clazz
* @param propertyName
*/
public DeferredSetter( final Class clazz, final String propertyName )
{
this.clazz = clazz;
this.propertyName = propertyName;
}

/**
* @see net.sf.hibernate.property.Setter#set(java.lang.Object, java.lang.Object)
*/
public void set( Object target, Object value ) throws HibernateException
{
if( this.delegate == null )
{
this.delegate = directFactory.getSetter( target.getClass( ), this.propertyName );
}
this.delegate.set( target, value );
}

/**
* @see net.sf.hibernate.property.Setter#getMethodName()
*/
public String getMethodName( )
{
return null;
}

/**
* @see net.sf.hibernate.property.Setter#getMethod()
*/
public Method getMethod( )
{
return null;
}
}
}

--------------- END OF InterfaceAccessor.java --------------------------------------------------------------------------------

------- JBoss console -------------------------------------------

10:35:29,829 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.AccountabilityType
10:35:33,975 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.AccountableType
10:35:35,137 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.ContactChannelType

58 10:35:37,039 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.LocatorType

10:35:38,602 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.auxiliares.TipoOperacion
10:35:39,052 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.auxiliares.TipoCuota
10:35:40,314 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.comunicacion.TipoPlaza
10:35:42,938 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.personas.EstadoCivil
10:35:44,530 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.personas.Nacionalidad
10:35:44,961 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.personas.Role
10:35:45,832 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.auxiliares.Menu
10:35:46,623 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.auxiliares.Constante
10:35:54,815 WARN [CacheFactory] read-only cache configured for mutable: com.houndline.interbanca.dominio.fincas.DestinoFinca

10:36:00,773 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.ContactChannelType.allowedLocatorTypes
10:36:00,974 WARN [CacheFactory] read-only cache configured for mutable: com.openinput.domain.accountability.LocatorType.allowedNestedLocatorTypes

10:36:06,141 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the
classpath: jar:file:/C:/mike/jboss-3.2.7/server/default/tmp/deploy/tmp9409ib.ear-contents/ehcache-0.7.jar!/ehcache-failsafe.xml
10:36:06,472 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.auxiliares.Constante. Con
figuring using the defaultCache settings.
10:36:06,732 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.comunicacion.TipoPlaza. C
onfiguring using the defaultCache settings.
10:36:06,942 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.AccountabilityType. Co
nfiguring using the defaultCache settings.
10:36:07,133 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.auxiliares.Menu. Configur
ing using the defaultCache settings.
10:36:07,333 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.auxiliares.TipoCuota. Con
figuring using the defaultCache settings.
10:36:07,543 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.LocatorType.allowedNes
tedLocatorTypes. Configuring using the defaultCache settings.
10:36:07,763 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.personas.Nacionalidad. Co
nfiguring using the defaultCache settings.
10:36:07,954 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.personas.Role. Configurin
g using the defaultCache settings.
10:36:08,164 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.ContactChannelType.all
owedLocatorTypes. Configuring using the defaultCache settings.
10:36:08,354 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.auxiliares.TipoOperacion.
Configuring using the defaultCache settings.
10:36:08,555 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.AccountableType. Confi
guring using the defaultCache settings.
10:36:08,795 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.personas.EstadoCivil. Con
figuring using the defaultCache settings.
10:36:08,995 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.ContactChannelType. Co
nfiguring using the defaultCache settings.
10:36:09,196 WARN [EhCache] Could not find configuration for com.houndline.interbanca.dominio.fincas.DestinoFinca. Conf
iguring using the defaultCache settings.
10:36:09,396 WARN [EhCache] Could not find configuration for com.openinput.domain.accountability.LocatorType. Configuri
ng using the defaultCache settings.


10:36:10,668 ERROR [LogInterceptor] EJBException in method: public abstract com.houndline.interbanca.dominio.personas.Us
uario com.houndline.interbanca.servicios.acciones.ServiciosOperacion.obtenerUsuarioPorUsername(java.lang.String) throws
java.rmi.RemoteException, causedBy:
net.sf.hibernate.PropertyNotFoundException: Could not find a setter for property id in class com.openinput.domain.accountability.LocatorType
at net.sf.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:131)
at net.sf.hibernate.mapping.Property.getSetter(Property.java:178)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:581)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:716)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791)
at com.houndline.interbanca.servicios.acciones.ServiciosOperacionBean.setSessionContext(ServiciosOperacionBean.java:6063)
at com.houndline.interbanca.servicios.acciones.ServiciosOperacionSession.setSessionContext(ServiciosOperacionSession.java:27)
at org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:47)
at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:35)
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:168)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:58)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:709)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy88.obtenerUsuarioPorUsername(Unknown Source)
at com.houndline.interbanca.web.MenuGeneratorComponent.getListaMenus(MenuGeneratorComponent.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:320)
at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:728)
at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:54)
at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:122)
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1443)
at ognl.ASTProperty.getValueBody(ASTProperty.java:96)
at ognl.SimpleNode.getValue(SimpleNode.java:192)
at ognl.Ognl.getValue(Ognl.java:335)
at ognl.Ognl.getValue(Ognl.java:310)
at org.apache.tapestry.binding.ExpressionBinding.resolveProperty(ExpressionBinding.java:201)
at org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:194)
at org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:208)
at org.apache.tapestry.param.AbstractParameterConnector.getBindingValue(AbstractParameterConnector.java:105)
at org.apache.tapestry.param.ObjectParameterConnector.setParameter(ObjectParameterConnector.java:53)
at org.apache.tapestry.param.ParameterManager.setParameters(ParameterManager.java:105)
at org.apache.tapestry.AbstractComponent.prepareForRender(AbstractComponent.java:898)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:853)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
at org.apache.tapestry.components.Foreach.renderComponent(Foreach.java:122)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
at org.apache.tapestry.form.Form.renderComponent(Form.java:362)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
at org.apache.tapestry.html.Body.renderComponent(Body.java:269)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
at org.apache.tapestry.html.Shell.renderComponent(Shell.java:123)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:300)
at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:371)
at org.apache.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java:732)
at org.apache.tapestry.engine.PageService.service(PageService.java:77)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:162)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:536)
10:36:22,525 INFO [STDOUT] java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: null; CausedByException is:
Could not find a setter for property id in class com.openinput.domain.accountability.LocatorType
10:36:22,825 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:352)
10:36:22,925 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
10:36:23,025 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
10:36:23,216 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
10:36:23,416 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:709)


Top
 Profile  
 
 Post subject: re: problems with a custom PropertyAccessor
PostPosted: Wed May 10, 2006 11:00 am 
Newbie

Joined: Fri May 05, 2006 6:49 am
Posts: 2
Location: Spain
I seem to have found the problem:
The hibernate mapping files were not generated properly by xdoclet, in particular the access property was not generated for various elements.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.