Hi
I have created a simple cmp , with 3 fields empId, empFirstname,empLastName.
Here empId is primary key with autoincrement.
When i enter Emp first name, last name using the create method,my cmp is working fine and i am able to create new row with autoincrement.
When i call setEmpFirstName() or serEmpLastName() methods from my client geeting an error given below


java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.ServerException: RuntimeException; nested exception is:
[java] java.lang.IllegalArgumentException: Attempt to get lock ref with a null object
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)


[java] at java.lang.Thread.run(Thread.java:534)
.....21

please tell me what is the exact problem
vamsi

View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831755#3831755

Reply to the post:
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831755



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to