Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP 2.0 Relationships and Null Pointer Error

Art Smith
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a relationship between to CMP 2.0 entites using JDev. It's a unidirectional One-to-Many relation between customers and credit cards, where the credit card bean has the custoemr number as a foreign key.
Since the relationship is 1:* I specified a Collection type cmr field on the Customer.
When I compile my code using JDeveloper it says that there is a null pointer error in the ejb-jar.xml file.
I can't find the problem.
What could possibly be missing from ejb-jar.xml that would cause the verifier to throw a null pointer error.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic