Mantis - Resin
Viewing Issue Advanced Details
216 minor always 05-26-05 00:00 11-30-05 14:43
user165  
 
normal  
closed 3.0.13  
3.0.13 fixed  
none    
none 3.0.14  
0000216: DoubleType causes UnsupportedOperationException
RSN-239

I have an EJB finder method that takes two parameters that are of type java.land.Double.
In Resin-ee version 3.0.8 I had no problem with this finder method, however now that I have upgraded to Resin-pro version 3.0.13 I get the UnsupportedOperationException.

I have pasted the stack trace below.

Looking at the source code, there is no implementation for 'setParameter' in the com.caucho.amber.type.DoubleType class and the abstract class Type.setParameter throws the UnsupportedOperationException;

I believe this is a bug

java.lang.UnsupportedOperationException: com.caucho.amber.type.DoubleType
   at com.caucho.amber.type.Type.setParameter(Type.java:157)
   at com.caucho.amber.query.ArgExpr.setParameter(ArgExpr.java:98)
   at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:370)
   at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:325)
   at _ejb.MLS.MLSBean__EJB$LocalHome.findReadableMLSForSearch(MLSBean__EJB.java:765)
   at net.web_i18n.ejbs.session.MLSManagementBean.findMatchingValues(MLSManagementBean.java:865)
   at net.web_i18n.ejbs.session.MLSManagementBean.findMlsLocalsForValues(MLSManagementBean.java:681)
   at _ejb.MLSManagement.MLSManagementBean__EJB$Local.findMlsLocalsForValues(MLSManagementBean__EJB.java:355)
   at net.web_i18n.agent.ValidateEditOps.processEditOps(ValidateEditOps.java:80)
   at net.web_i18n.agent.ValidateEditOps.doStartTag(ValidateEditOps.java:168)
   at _jsp._WEB_22dINF._include._doEditAction__jsp._jspService(_doEditAction__jsp.java:204)
   at com.caucho.jsp.JavaPage.service(JavaPage.java:63)
   at com.caucho.jsp.Page.pageservice(Page.java:570)
   at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159)
   at com.caucho.filters.XsltFilter.doFilter(XsltFilter.java:121)
   at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
   at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:135)
   at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
   at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
   at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
   at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
   at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
   at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
   at java.lang.Thread.run(Thread.java:595)
Linux

Notes
(0000251)
ferg   
05-26-05 00:00   
ejb/0k03