openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: OpenEJB 3.1.4 problem
Date Tue, 08 Feb 2011 00:59:06 GMT

On Feb 5, 2011, at 11:19 AM, sergey.chernolyas@gmail.com wrote:

> Hi!
> 
> I try create unit test for my ejb-based web service.
> I got next error:
> 
> ERROR - FATAL ERROR: Unknown error in Assembler. Please send the following stack trace
and this message to users@openejb.apache.org :
> java.lang.ArrayIndexOutOfBoundsException: 0
> at org.apache.openejb.config.AnnotationDeployer$MethodMember.getType(AnnotationDeployer.java:3367)
> at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.buildWebServiceRef(AnnotationDeployer.java:2875)
> at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.buildAnnotatedRefs(AnnotationDeployer.java:2250)

We should definitely improve the error checking on this one, but it looks like you might have
a setter method that has no arguments.

I.e. 

  @WebServiceRef
  public void setFooService() {...

Instead of the required:

  @WebServiceRef
  public void setFooService(FooService foo) {...


-David


Mime
View raw message