日期:2014-05-17 浏览次数:21145 次
ERROR 01 六月 2010 14:28:48 [org.hibernate.property.BasicPropertyAccessor$BasicSetter] [set] - IllegalArgumentException in class: com.baidu.manageSystem.machineRoom.dto.UserRights, setter method of property: userCode ERROR 01 六月 2010 14:28:48 [org.hibernate.property.BasicPropertyAccessor$BasicSetter] [set] - expected type: com.baidu.manageSystem.machineRoom.dto.Users, actual value: java.lang.String WARN 01 六月 2010 14:28:48 [org.apache.struts.action.RequestProcessor] [processException] - Unhandled Exception thrown: class org.springframework.orm.hibernate3.HibernateSystemException ERROR 01 六月 2010 14:28:48 [org.apache.catalina.core.StandardWrapperValve] [invoke] - Servlet.service() for servlet action threw exception java.lang.IllegalArgumentException: argument type mismatch 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:597) at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42) at org.hibernate.tuple.entity.AbstractEntityTuplizer.setIdentifier(AbstractEntityTuplizer.java:211) at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:353) at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3606) at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1275) at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1264) at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299) at org.hibernate.loader.Loader.getRow(Loader.java:1206) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580) at org.hibernate.loader.Loader.doQuery(Loader.java:701) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.doList(Loader.java:2220) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) at org.hibernate.loader.Loader.list(Loader.java:2099) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:849) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372) at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:840) at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:832) [color=#33CCCC]at com.baidu.manageSystem.machineRoom.dao.UserRightsDao.queryById(UserRightsDao.java:42)[/color] [color=#FF0000]at com.baidu.manageSystem.machineRoom.controller.UserRightsAction.jurisdiction(UserRightsAction.java:67)[/color] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invo