Re: bug in M4

From: Marcin Skladaniec (marci..sh.com.au)
Date: Wed May 14 2008 - 20:08:28 EDT

  • Next message: Martin Thelian: "Deadlock between commitChanges and snapshotsUpdatedForObjects"

    Verified

    Thank you
    Marcin

    On 14/05/2008, at 10:54 PM, Andrus Adamchik wrote:

    > Fixed.
    >
    > On May 13, 2008, at 2:16 PM, Andrus Adamchik wrote:
    >
    >> Doh! I'll investigate tonight.
    >>
    >> Andrus
    >>
    >> On May 13, 2008, at 1:31 PM, Marcin Skladaniec wrote:
    >>
    >>> Hi
    >>>
    >>> We have updated to M4 and since then this exception started to
    >>> show up (for some entities only) :
    >>>
    >>> [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT
    >>> May 13 2008 16:16:55] Remote error. URL - http://localhost:8181/angel-server-cayenne
    >>> ; CAUSE - java.lang.NullPointerException
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .PersistentDescriptor
    >>> .addDeclaredProperty(PersistentDescriptor.java:91)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .PersistentDescriptorFactory
    >>> .createAttributeProperty(PersistentDescriptorFactory.java:142)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .PersistentDescriptorFactory
    >>> .getDescriptor(PersistentDescriptorFactory.java:87)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .PersistentDescriptorFactory
    >>> .getDescriptor(PersistentDescriptorFactory.java:58)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .ClassDescriptorMap.createDescriptor(ClassDescriptorMap.java:129)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .LazyClassDescriptorDecorator
    >>> .checkDescriptorInitialized(LazyClassDescriptorDecorator.java:51)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .reflect
    >>> .LazyClassDescriptorDecorator
    >>> .createObject(LazyClassDescriptorDecorator.java:65)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .util.ObjectDetachOperation.detach(ObjectDetachOperation.java:95)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .access
    >>> .ClientServerChannelQueryAction
    >>> .toClientObjects(ClientServerChannelQueryAction.java:203)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .access
    >>> .ClientServerChannelQueryAction
    >>> .interceptIncrementalListConversion
    >>> (ClientServerChannelQueryAction.java:143)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .access
    >>> .ClientServerChannelQueryAction
    >>> .execute(ClientServerChannelQueryAction.java:69)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
    >>> [java] at
    >>> org
    >>> .apache
    >>> .cayenne
    >>> .remote
    >>> .service.BaseRemoteService.processMessage(BaseRemoteService.java:
    >>> 153)
    >>> [java] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown
    >>> Source)
    >>> [java] at
    >>> sun
    >>> .reflect
    >>> .DelegatingMethodAccessorImpl
    >>> .invoke(DelegatingMethodAccessorImpl.java:25)
    >>> [java] at java.lang.reflect.Method.invoke(Method.java:585)
    >>> [java] at
    >>> com
    >>> .caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:
    >>> 180)
    >>> [java] at
    >>> com
    >>> .caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:
    >>> 109)
    >>> [java] at
    >>> com
    >>> .caucho.hessian.server.HessianServlet.service(HessianServlet.java:
    >>> 393)
    >>> [java] at
    >>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
    >>> 487)
    >>> [java] at org.mortbay.jetty.servlet.ServletHandler
    >>> $CachedChain.doFilter(ServletHandler.java:1093)
    >>>
    >>>
    >>> Is that a bug in current build ?
    >>>
    >>> Best regards
    >>> Marcin
    >>
    >>
    >





    This archive was generated by hypermail 2.0.0 : Wed May 14 2008 - 20:09:11 EDT