Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not sure why I'm getting an IllegalArgumentException  RSS feed

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting an IllegalArgumentException. The error occurs when I'm calling the following line w/in my servlet.



The code is below for the servlet. It seems to call the getHome() ok... but when it gets to create() it crashes.

I'm also putting in my EJB and the xdoclet tags so you can see what I'm doing w/that.



This is the exact Exception stack I get.



Here's my EJB

 
Purushoth Thambu
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this bean part of CMR? I remember there is some restriction on collection object cannot be null. Try to create empty list in the method and see if it works.
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FYI - this error actually ended up being a typo when I was registering the ejb in the web client. Finally found it after much digging.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!