Ian
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.
Thanks
eve
> Date: Tue, 18 Mar 2008 10:25:24 -0700> From: Ian.Evans_at_Sun.COM> To: ejb_at_glassfish.dev.java.net> CC: persistence_at_glassfish.dev.java.net> Subject: Re: question on entity relation. - unidirectional> > Eve Pokua wrote:> > It deploys fine only when I try to run the application> > client that it comes with the error.> > > > I am experiencing the same error with my applications> > and the tables exists. I am able to retrieve but can> > not insert data.> > So, there is nothing in the logs during deployment or at runtime? You > only see the NPE on the client?> > I'm unable to reproduce this error. I'm using NetBeans 6.0.1 and AS 9.1 UR1.> > Undeploy all instances of order, and do the following in a terminal:> 1. Make sure you've properly set up:> .../javaeetutorial5/examples/bp-project/build.properties> and:> .../javaeetutorial5/examples/common/admin-password.txt> 2. Go to .../javaeetutorial5/examples/ejb/order.> 3. Make sure GlassFish and JavaDB are running.> 4. Run the following commands:> % ant create-tables> % ant all> > This will drop and create the database tables, deploy order, and run the > app client. If this fails, send both the client error message and the > log file.> > -ian> -- > Ian Evans> ian dot evans at sun dot com> Java EE technical documentation
_________________________________________________________________
Who's friends with who and co-starred in what?
http://www.searchgamesbox.com/celebrityseparation.shtml