Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004555 [Resin] block always 05-16-11 06:34 05-17-11 13:32
Reporter dicr View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.18
Summary 0004555: ejb: invalid stateless proxy code generation
Description I have the following exception in my web-app:

/var/cache/resin/default/isp2/ejb/org/dicr/isp/ejb/DataManagerBean__StatelessProxy.java:4114:
method does not override or implement a method from a supertype
  @Override
  ^

where DataManagerBean__StatelessProxy.java is generated by resin proxy code for my bean. The lines with error code is:


  @Override
  int[] $SWITCH_TABLE$org$dicr$isp$util$DatePeriodType()
  {
    throw new EJBException("Illegal non-business method call");
  }

I can't even guess for what this method needed and whot it doing here ? Why resin using name of my class DatePeriodType ? DatePeriodType is special class using in methods arguments to specify date period. It not used anywhere else - there are no any properties with this type. Why resin using it ?

public Collection<Payment> listPayments(DatePeriodType period);

Additional Information
Attached Files

- Relationships

- Notes
(0005254)
ferg
05-17-11 12:37

Is the DatePeriodType an inner class?

The issue might be one of the JDK's auto-generated methods for accessing fields from an inner class. And Resin might be picking up that method by mistake.
 
(0005255)
ferg
05-17-11 13:32

ejb/4052

The method is a synthetic method generated by eclipse or javac (probably eclipse in this case.) Resin should be ignoring synthetic methods in this situation.
 

- Issue History
Date Modified Username Field Change
05-16-11 06:34 dicr New Issue
05-17-11 12:37 ferg Note Added: 0005254
05-17-11 13:32 ferg Note Added: 0005255
05-17-11 13:32 ferg Assigned To  => ferg
05-17-11 13:32 ferg Status new => closed
05-17-11 13:32 ferg Resolution open => fixed
05-17-11 13:32 ferg Fixed in Version  => 4.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker