Article - CS216047
Windchill Business Reporting related error message "com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub cannot be cast to org.apache.axis.client.Stub" when running "ant -f wbr_actions.xml" in Windchill 10.2 M020
Modified: 16-Oct-2015
Applies To
- Windchill PDMLink 10.2 M020
Description
- ant -f wbr_actions.xml is run for a Windchill / Cognos model update, loading reports and setting permissions
- Windchill Business Reporting related error message in Windchill Method Server log file:
ERROR [wt.jmx.core.SharedScheduledExecutor.worker] com.ptc.windchill.enterprise.report.StandardReportService - Could not ping third-party reporting system!
java.lang.ClassCastException: com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub cannot be cast to org.apache.axis.client.Stub
at com.ptc.windchill.cognos.CognosFacade$ContentManagerConnection.<init>(CognosFacade.java:3544)
at com.ptc.windchill.cognos.CognosFacade.ping(CognosFacade.java:412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ptc.windchill.enterprise.report.StandardReportService$ContextClassLoaderWrapper.invoke(StandardReportService.java:940)
- Related error message in the LoadReports.log file
java.lang.ExceptionInInitializerError
at com.ptc.windchill.cognos.CognosProxy.<clinit>(CognosProxy.java:50)
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/ptc/windchill/cognos/CognosFacade.createOrUpdateCognosReports(Lcom/cognos/developer/schemas/bibus/_3/ContentManagerService_PortType;Ljava/util/Collection;)I @27: invokestatic
Reason:
Type 'com/cognos/developer/schemas/bibus/_3/ReportServiceStub' (current frame, stack[1]) is not assignable to 'org/apache/axis/client/Stub'
Current Frame: [...]
Bytecode: [...]
Exception Handler Table: [...]
Stackmap Table:
[...]
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at com.ptc.windchill.cognos.CognosProxy.<clinit>(CognosProxy.java:39)
Exception in thread "main"
This is a printer-friendly version of Article 216047 and may be out of date. For the latest version click CS216047