Re: bug in M4

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue May 13 2008 - 14:16:37 EDT

  • Next message: Scott Anderson: "RE: one-to-many problem"

    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 : Tue May 13 2008 - 14:17:07 EDT