0 Replies Latest reply on Oct 8, 2001 7:08 PM by Tom Dobridge

    CMR Field NullPointerException

    Tom Dobridge Newbie

      After much wrangiling, getting closer to having a 1-n CMR field working with latest 3.0 alpha snapshot. I am down to getting the following stack trace when the CMR field is accessed and the server looks like it is insisting on using a "local" interface. Anybody know what gives?


      [Default] java.lang.NullPointerException
      [Default] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.getEntityEJBLocalObject(BaseLocalContainerInvoker.java:226)
      [Default] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:371)
      [Default] at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:88)
      [Default] at org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:89)
      [Default] at sia.entity.OrganizationBean$Proxy.getOrganizationType(Unknown Source)
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1002)
      [Default] at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:134)
      [Default] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:304)
      [Default] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:203)
      [Default] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:132)
      [Default] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
      [Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:156)
      [Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:65)
      [Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:131)
      [Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      [Default] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:447)
      [Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:376)
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      [Default] at sun.rmi.transport.Transport$1.run(Transport.java:142)
      [Default] at java.security.AccessController.doPrivileged(Native Method)
      [Default] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
      [Default] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
      [Default] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
      [Default] at java.lang.Thread.run(Thread.java:484)