Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1
-
None
Description
I get this exception when calling getProjectGroupWithProjects method (it seems a mapping is incorrect) :
45721 [SocketListener0-0] INFO net.sf.dozer.util.mapping.util.CustomMappingsLoader - Successfully loaded custom xml mappings from URL: [jar
:file:/home/sudd/continuum-1.1/apps/continuum/webapp/WEB-INF/lib/continuum-xmlrpc-server-1.1.jar!/dozerBeanMapping.xml]
46634 [SocketListener0-0] ERROR net.sf.dozer.util.mapping.MappingProcessor - Field mapping error -->
MapId: null
Type: bi-directional
Source parent class: org.apache.maven.continuum.model.project.ProjectGroup
Source field name: notifiers
Source field type: generic
Source field value: null
Dest parent class: org.apache.maven.continuum.xmlrpc.project.ProjectGroup
Dest field name: notifiers
Dest field type: java.util.List
net.sf.dozer.util.mapping.MappingException: java.lang.reflect.InvocationTargetException
at net.sf.dozer.util.mapping.util.MappingUtils.throwMappingException(MappingUtils.java:91)
at net.sf.dozer.util.mapping.util.ReflectionUtils.invoke(ReflectionUtils.java:220)
at net.sf.dozer.util.mapping.propertydescriptor.GetterSetterPropertyDescriptor.invokeReadMethod(GetterSetterPropertyDescriptor.java:2
11)
at net.sf.dozer.util.mapping.propertydescriptor.GetterSetterPropertyDescriptor.getPropertyValue(GetterSetterPropertyDescriptor.java:6
4)
at net.sf.dozer.util.mapping.fieldmap.FieldMap.getSrcFieldValue(FieldMap.java:71)
at net.sf.dozer.util.mapping.MappingProcessor.map(MappingProcessor.java:108)
at net.sf.dozer.util.mapping.DozerBeanMapper.map(DozerBeanMapper.java:93)
at org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl.populateProjectGroupWithAllDetails(ContinuumServiceImpl.java:876)
at org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl.getProjectGroupWithProjects(ContinuumServiceImpl.java:278)
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:585)
at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.invoke(ContinuumXmlRpcMetaDataHandler.java:145)
at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.execute(ContinuumXmlRpcMetaDataHandler.java:133)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
at org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcServlet.doPost(ContinuumXmlRpcServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "notifiers" yet this field was not detached whe
n you detached the object. Either dont access this field, or detach the field when detaching the object.
at org.apache.maven.continuum.model.project.ProjectGroup.jdoGetnotifiers(ProjectGroup.java)
at org.apache.maven.continuum.model.project.ProjectGroup.getNotifiers(ProjectGroup.java:222)
... 49 more