[JBoss-user] [Persistence CMP/JBoss] - JDBCLoadRelationCommand producing NullPointerException

2005-01-12 Thread bsaravan
Hi,

My application works under JBoss 3.2.1 but fails under JBoss 4.0.  I receive 
the following error:


  | 2005-01-11 17:59:31,078 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.MediaEJB] load relation 
SQL: SELECT media_id, id FROM audio with (xlock) WHERE (media_id=?) OR 
(media_id=?)
  | 2005-01-11 17:59:31,078 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract void 
com.harris.has.content.ejb.MediaEJB.update(com.harris.has.model.content.Media), 
causedBy:
  | java.lang.NullPointerException
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCLoadRelationCommand.java:147)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadRelation(JDBCStoreManager.java:695)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1295)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:649)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:602)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
  | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
  | at 
com.harris.has.content.ejb.MediaEJBBean$Proxy.getAudioEJB(generated)
  | at com.harris.has.content.ejb.MediaEJBBean.update(MediaEJBBean.java:233)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | 


Here is the relationship between MediaEJB and AudioEJB.


  | ejb-relation
  | ejb-relation-namemediaEJB-audioEJB/ejb-relation-name
  | ejb-relationship-role
  | descriptionmediaEJB/description
  | 
ejb-relationship-role-nameMediaEJBRelationshipRole/ejb-relationship-role-name
  | multiplicityOne/multiplicity
  | relationship-role-source
  | descriptionmediaEJB/description
  | ejb-nameMediaEJB/ejb-name
  | /relationship-role-source
  | cmr-field
  | descriptionaudioEJB/description
  | cmr-field-nameaudioEJB/cmr-field-name
  | /cmr-field
  | /ejb-relationship-role
  | ejb-relationship-role
  | descriptionaudioEJB/description
  | 
ejb-relationship-role-nameAudioEJBRelationshipRole/ejb-relationship-role-name
  | multiplicityOne/multiplicity
  | cascade-delete /
  | relationship-role-source
  | descriptionaudioEJB/description
  | ejb-nameAudioEJB/ejb-name
  | /relationship-role-source
  | cmr-field
  | descriptionmediaEJB/description
  | cmr-field-namemediaEJB/cmr-field-name
  | /cmr-field
  | /ejb-relationship-role
  | /ejb-relation
  | 

Any ideas on what the problem could be?

Thanks,
Bala

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861835#3861835

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861835


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JDBCLoadRelationCommand producing NullPointerException

2005-01-12 Thread bsaravan
Correction: I am trying to deploy it in JBoss 4.0 RC2.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861836#3861836

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861836


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0

2004-10-21 Thread bsaravan
I have the same problem as pepite.  I tried the technique as suggested by yaaarrrgg.  
Could not get it to work.  Has anyone else encountered this problem and resolved it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852275#3852275

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852275


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user