File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Exeception is getting thrown by Hiberante. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Exeception is getting thrown by Hiberante." Watch "Exeception is getting thrown by Hiberante." New topic
Author

Exeception is getting thrown by Hiberante.

xsunil kumar
Ranch Hand

Joined: Dec 14, 2009
Posts: 133
Hi,

I am using multithread application that finally uses hibernate to persist data. I am getting below issue :-

java.lang.Class.getInterfaces(Native Method)
org.hibernate.intercept.FieldInterceptionHelper.isInstrumented(FieldInterceptionHelper.java:27)
org.hibernate.intercept.FieldInterceptionHelper.isInstrumented(FieldInterceptionHelper.java:38)
org.hibernate.engine.EntityEntry.requiresDirtyCheck(EntityEntry.java:221)
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:111)
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
org.springframework.orm.hibernate3.HibernateTemplate$32.doInHibernate(HibernateTemplate.java:911)
org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)
org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQuery(HibernateTemplate.java:902)
com.motive.configurationManagement.HibernateConfigurationRepositoryImpl.findUniqueResultByNamedQuery(HibernateConfigurationRepositoryImpl.java:88)
com.insignia.domain.hibernate.HibernateRepository.findUniqueResultByNamedQuery(HibernateRepository.java:80)
com.motive.configurationManagement.HibernateConfigurationRepositoryImpl.findConfiguration(HibernateConfigurationRepositoryImpl.java:62)
com.motive.configurationManagement.ConfigurationServiceImpl.findConfiguration(ConfigurationServiceImpl.java:61)
com.insignia.oma.commandSession.CommandSessionImpl.detectDeviceModel(CommandSessionImpl.java:126)
com.insignia.oma.commandSession.CommandSessionImpl.initNewSession(CommandSessionImpl.java:114)
com.insignia.oma.commandSession.CommandSessionImpl.beginNewSession(CommandSessionImpl.java:83)
com.insignia.oma.session.OMADMSession.processPackage1(OMADMSession.java:377)
com.insignia.oma.messageProcessor.MessageProcessor.noteEndOfMessage(MessageProcessor.java:580)
com.insignia.oma.parser.SyncMLParser.parseSyncML(SyncMLParser.java:110)
com.insignia.oma.parser.SyncMLParser.parse(SyncMLParser.java:96)
com.insignia.oma.impl.OMADMRequestHandlingServiceImpl.processRequest(OMADMRequestHandlingServiceImpl.java:98)
sun.reflect.GeneratedMethodAccessor679.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:299)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
com.insignia.util.spring.security.AuthorizationInterceptor.invoke(AuthorizationInterceptor.java:66)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
com.insignia.auditLogging.aop.AuditLoggingAdvice.invoke(AuditLoggingAdvice.java:48)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
com.insignia.util.spring.TransactionRetryInterceptor.invoke(TransactionRetryInterceptor.java:36)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
com.motive.util.spring.BootstrapStatusInterceptor.invoke(BootstrapStatusInterceptor.java:24)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
com.motive.util.spring.JobStatusInterceptor.invoke(JobStatusInterceptor.java:29)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
$Proxy83.processRequest(Unknown Source)
com.insignia.ui.oma.dm.servlets.SyncMLDMHandlerServlet.doPost(SyncMLDMHandlerServlet.java:81)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
com.insignia.ui.util.LoggingFilter.doFilter(LoggingFilter.java:140)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Regards,
Sunil
Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

What's the exception being thrown?


If you are not laughing at yourself, then you just didn't get the joke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exeception is getting thrown by Hiberante.