Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not sure why I'm getting an IllegalArgumentException

 
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.
 
Bring out your dead! Or a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!