Hey Scott,
fixed in CVS. Let me know if you still have problems.
Simon
> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: gioved� 4 gennaio 2001 7:28
> To: jBoss
> Subject: Re: [jBoss-User] NullPointerException in
> EntityInstanceInterceptor for BMP with String primary key
>
>
> I tracked the problem down to the ejbActive() method in the
> bean throwing a
> ClassCastException because the casting of the
> ctx.getPrimaryKey() had not
> been updated to use the String class. The container should
> deal with this failure
> more gracefully. I have a trivially example that I'll submit as a bug.
>
> ----- Original Message -----
> From: "Scott M Stark" <[EMAIL PROTECTED]>
> To: "jBoss" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 03, 2001 5:57 PM
> Subject: [jBoss-User] NullPointerException in
> EntityInstanceInterceptor for BMP with String primary key
>
>
> > 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?
> >
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]