juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Reopened] (JUDDI-466) ClassCast exception in ValidatePublish
Date Wed, 30 Mar 2011 15:18:05 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kurt T Stam reopened JUDDI-466:
-------------------------------


I can reproduce this now. It happens when using the XMLDocAuthenticator

> ClassCast exception in ValidatePublish
> --------------------------------------
>
>                 Key: JUDDI-466
>                 URL: https://issues.apache.org/jira/browse/JUDDI-466
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Kurt T Stam
>            Assignee: Kurt T Stam
>            Priority: Critical
>             Fix For: 3.1.0
>
>
> Looks like a bug in jUDDI core code.
> WARNING: Application {urn:juddi-apache-org:v3_service}JUDDI_Api_Port#{urn:juddi-apache-org:v3_service}save_publisher
has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: org.apache.juddi.model.UddiEntityPublisher cannot be
cast to org.apache.juddi.model.Publisher
>     at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:148)
>     at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:83)
>     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:114)
>     at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
>     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
>     at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>     at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>     at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
>     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
>     at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
>     at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
>     at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:358)
>     at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:187)
>     at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)
>     at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>     at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
>     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>     at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassCastException: org.apache.juddi.model.UddiEntityPublisher cannot
be cast to org.apache.juddi.model.Publisher
>     at org.apache.juddi.validation.ValidatePublish.validateSavePublisher(ValidatePublish.java:1093)
>     at org.apache.juddi.api.impl.JUDDIApiImpl.savePublisher(JUDDIApiImpl.java:98)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
>     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
>     ... 30 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message