ejb@glassfish.java.net

Re: question on entity relation. - unidirectional

From: Ian Evans <Ian.Evans_at_Sun.COM>
Date: Wed, 19 Mar 2008 14:55:14 -0700

Eve Pokua wrote:
> Thank you for your reply. The error is complaining about this:
>
> private static void createData() {
> try {
> *request.createPart(*
> "1234-5678-01",
> 1,
> "ABC PART",
> new java.util.Date(),
> "PARTQWERTYUIOPASXDCFVGBHNJMKL",
> null);
>
> It is complaining that's a nullPointer.
> I get the same error with my application. I am able to retrieve data
> from the DB and display it. Why can't I insert. And why is it saying
> the ejb interface to insert data is a nullPointer. I believe, I have been
> able to insert data into the data DB in the past.

Email me a copy of your server.log file. Don't send it to the lists.

It looks like the RequestBean isn't being injected.

-ian
-- 
Ian Evans
ian dot evans at sun dot com
Java EE technical documentation