I changed the key type of a BMP entity bean was working fine from 
javax.naming.CompoundName
to java.lang.String and now I am not able to invoke any methods on it. The 
findByPrimaryKey
works and returns an instance, but any business methods invoked on the bean result in 
a NPE
in the container. Below is the stack trace I am seeing the server.log file. This is 
occuring with
the latest cvs code. Any ideas as to why the container would be failing in this way?

[Default,Information] JBoss PRE-2.1 Started
[ejb.ProjectDirectory,Information] findByPrimaryKey(NewProject2)
[ejb.ProjectDirectory,Information] [NewProject2] lookup(/Folder1)
[ejb.ProjectDirectory,Warning] Exception occurred; nested exception is: 
 java.lang.NullPointerException
[ejb.ProjectDirectory,Debug] java.rmi.ServerException: Exception occurred; nested 
exception is: 
[ejb.ProjectDirectory,Debug]  java.lang.NullPointerException
[ejb.ProjectDirectory,Debug] java.lang.NullPointerException
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:218)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:343)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:144)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
[ejb.ProjectDirectory,Debug]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:367)
[ejb.ProjectDirectory,Debug]  at java.lang.reflect.Method.invoke(Native Method)
[ejb.ProjectDirectory,Debug]  at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[ejb.ProjectDirectory,Debug]  at sun.rmi.transport.Transport$1.run(Transport.java:142)
[ejb.ProjectDirectory,Debug]  at java.security.AccessController.doPrivileged(Native 
Method)
[ejb.ProjectDirectory,Debug]  at 
sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[ejb.ProjectDirectory,Debug]  at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
[ejb.ProjectDirectory,Debug]  at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
[ejb.ProjectDirectory,Debug]  at java.lang.Thread.run(Thread.java:484)




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to