Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004265 [Resin] major always 10-20-10 08:56 11-12-10 11:31
Reporter jharting View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.12
Summary 0004265: Parameterized type not allowed as a type of producer method
Description I have a producer method that return MultivaluedMap<String, String>. Resin refuses to run with such producer method.

[10-10-20 16:13:55.611] {http://*:8080-2} [^] java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
                                                at com.caucho.config.inject.ProducesBuilder.getQualifiers(ProducesBuilder.java:337)
                                                at com.caucho.config.inject.ProducesBuilder.introspectProduces(ProducesBuilder.java:87)
                                                at com.caucho.config.inject.ManagedBeanImpl.introspectProduces(ManagedBeanImpl.java:362)
                                                at com.caucho.config.inject.InjectManager.addDiscoveredBean(InjectManager.java:3227)
                                                at com.caucho.config.inject.InjectManager.discoverBeanImpl(InjectManager.java:3172)
                                                at com.caucho.config.inject.InjectManager.processPendingAnnotatedTypes(InjectManager.java:2912)
                                                at com.caucho.config.inject.InjectManager.update(InjectManager.java:2893)
                                                at com.caucho.server.webapp.WebApp.init(WebApp.java:2648)
                                                at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:453)
                                                at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:57)
                                                at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:612)
                                                at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:568)
                                                at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:138)
                                                at com.caucho.env.deploy.DeployController.request(DeployController.java:531)
                                                at com.caucho.server.webapp.WebAppVersioningController.getDeployInstance(WebAppVersioningController.java:155)
                                                at com.caucho.server.webapp.WebAppVersioningController.getDeployInstance(WebAppVersioningController.java:45)
                                                at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:144)
                                                at com.caucho.env.deploy.DeployController.request(DeployController.java:531)
                                                at com.caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:981)
                                                at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:760)
                                                at com.caucho.server.host.Host.buildInvocation(Host.java:742)
                                                at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:313)
                                                at com.caucho.server.cluster.Server.buildInvocation(Server.java:901)
                                                at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:247)
                                                at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:220)
                                                at com.caucho.server.http.AbstractHttpRequest.buildInvocation(AbstractHttpRequest.java:1471)
                                                at com.caucho.server.http.AbstractHttpRequest.getInvocation(AbstractHttpRequest.java:1444)
                                                at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:779)
                                                at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:675)
                                                at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:637)
                                                at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:588)
                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1175)
                                                at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1108)
                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1142)
                                                at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:182)
                                                at com.caucho.env.thread.ResinThread.run(ResinThread.java:126)
Additional Information
Attached Files

- Relationships

- Notes
(0004833)
ferg
11-12-10 11:31

ioc/07h0
 

- Issue History
Date Modified Username Field Change
10-20-10 08:56 jharting New Issue
10-20-10 08:57 jharting Issue Monitored: jharting
11-12-10 11:31 ferg Note Added: 0004833
11-12-10 11:31 ferg Assigned To  => ferg
11-12-10 11:31 ferg Status new => closed
11-12-10 11:31 ferg Resolution open => fixed
11-12-10 11:31 ferg Fixed in Version  => 4.0.14


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