Hi,
    I am trying to make some data persistent in to the database and using hibernate 
for that.....i am doing this through a session ejb......I have a client where i am 
calling addItem(item) method.....

Problem is in client program.....i am stuck there itself.....
i get the following error....
I am using JBoss3.2.3, Hibernate 2.1.4, MySQL4.0

java.rmi.ServerException: RemoteException occurred in server thread; nested exception 
is: 
  |     java.rmi.ServerException: RuntimeException; nested exception is: 
  |     java.lang.NullPointerException
  | java.rmi.ServerException: RuntimeException; nested exception is: 
  |     java.lang.NullPointerException
  | java.lang.NullPointerException
  |     at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
  |     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
  |     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
  |     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
  |     at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
  |     at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
  |     at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  |     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
  |     at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
  |     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
  |     at $Proxy1.addItem(Unknown Source)
  |     at com.leed.ejb.Client.main(Client.java:63)
  | Exception: RemoteException occurred in server thread; nested exception is: 
  |     java.rmi.ServerException: RuntimeException; nested exception is: 
  |     java.lang.NullPointerException
  | 

This is very strange to me......can anybody give some clue regarding this...so that i 
can proceed.

Thanks in advance

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to