cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

while creating Problem report we face "wt.org.WTGroup cannot be cast to wt.org.WTUser"

dchavan-2
5-Regular Member

while creating Problem report we face "wt.org.WTGroup cannot be cast to wt.org.WTUser"

Hello,

While creating Problem report we face wt.org.WTGroup cannot be cast to wt.org.WTUser error.

Method server also attched.

In method server it displays following error.

2017-04-19 10:09:03,461 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - line 1 column 1 - Warning: inserting missing 'title' element

2017-04-19 10:09:03,461 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - InputStream: Document content looks like HTML 2.0

2017-04-19 10:09:03,461 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - 1 warning, no errors were found!

2017-04-19 10:09:30,185 INFO  [ajp-bio-8014-exec-9] wt.system.out unk - user :: uid=vdk,ou=people,cn=administrativeldap,cn=windchill_10.2,o=gnb

2017-04-19 10:09:32,083 INFO  [ajp-bio-8014-exec-9] wt.system.out unk - POST_STORE event---> event target--->wt.team.RolePrincipalMap

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - java.lang.reflect.InvocationTargetException

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.definer.WfExpression.invokeByReflection(WfExpression.java:1408)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.definer.WfExpression.executeTransition(WfExpression.java:1351)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.definer.WfExpression.execute(WfExpression.java:468)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.engine.WfExecutionObject.evaluateExpression(WfExecutionObject.java:807)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.engine.WfActivity.changeState(WfActivity.java:923)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.engine.WfActivity.changeState(WfActivity.java:202)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.engine.StandardWfEngineService.changeState(StandardWfEngineService.java:3899)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.sun.proxy.$Proxy333.changeState(Unknown Source)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.work.StandardWorkflowService.workComplete(StandardWorkflowService.java:1198)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.sun.proxy.$Proxy219.workComplete(Unknown Source)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.netmarkets.work.StandardNmWorkItemService.processCompleteAction(StandardNmWorkItemService.java:5928)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.netmarkets.work.StandardNmWorkItemService.complete(StandardNmWorkItemService.java:1003)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.sun.proxy.$Proxy193.complete(Unknown Source)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.netmarkets.work.NmWorkItemCommands.complete(NmWorkItemCommands.java:520)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.core.components.forms.FormDispatcher.callWizardCommand(FormDispatcher.java:112)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:98)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2353)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.jca.mvc.controllers.ActionController.executeWizardAction(ActionController.java:239)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.ptc.jca.mvc.controllers.ActionController.processRequest(ActionController.java:126)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.GeneratedMethodAccessor2620.invoke(Unknown Source)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.reflect.Method.invoke(Method.java:606)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:104)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:301)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1652)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:65)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at java.lang.Thread.run(Thread.java:745)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:103)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - Caused by: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at com.godrej.WorkflowHelper.checkSetupParticipant(WorkflowHelper.java:387)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - at wt.workflow.expr.WfExpression78605.executemethod_1(WfExpression78605.java:26)

2017-04-19 10:09:53,704 INFO  [ajp-bio-8014-exec-9] wt.system.err unk - ... 89 more

2017-04-19 10:09:53,704 ERROR [ajp-bio-8014-exec-9] wt.workflow.engine.WfActivity unk -    WfActivity.change state, exception caught Select the Design Manager, exception = java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

Nested exception is: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

wt.util.WTException: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

Nested exception is: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

  at com.godrej.WorkflowHelper.checkSetupParticipant(WorkflowHelper.java:387)

  at wt.workflow.expr.WfExpression78605.executemethod_1(WfExpression78605.java:26)

  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 wt.workflow.definer.WfExpression.invokeByReflection(WfExpression.java:1408)

  at wt.workflow.definer.WfExpression.executeTransition(WfExpression.java:1351)

  at wt.workflow.definer.WfExpression.execute(WfExpression.java:468)

  at wt.workflow.engine.WfExecutionObject.evaluateExpression(WfExecutionObject.java:807)

  at wt.workflow.engine.WfActivity.changeState(WfActivity.java:923)

  at wt.workflow.engine.WfActivity.changeState(WfActivity.java:202)

  at wt.workflow.engine.StandardWfEngineService.changeState(StandardWfEngineService.java:3899)

  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 wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

  at com.sun.proxy.$Proxy333.changeState(Unknown Source)

  at wt.workflow.work.StandardWorkflowService.workComplete(StandardWorkflowService.java:1198)

  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 wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

  at com.sun.proxy.$Proxy219.workComplete(Unknown Source)

  at com.ptc.netmarkets.work.StandardNmWorkItemService.processCompleteAction(StandardNmWorkItemService.java:5928)

  at com.ptc.netmarkets.work.StandardNmWorkItemService.complete(StandardNmWorkItemService.java:1003)

  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 wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

  at com.sun.proxy.$Proxy193.complete(Unknown Source)

  at com.ptc.netmarkets.work.NmWorkItemCommands.complete(NmWorkItemCommands.java:520)

  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.core.components.forms.FormDispatcher.callWizardCommand(FormDispatcher.java:112)

  at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:98)

  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.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2353)@

  at com.ptc.jca.mvc.controllers.ActionController.executeWizardAction(ActionController.java:239)

  at com.ptc.jca.mvc.controllers.ActionController.processRequest(ActionController.java:126)

  at sun.reflect.GeneratedMethodAccessor2620.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:606)

  at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)

  at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)

  at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)

  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)

  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)

  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)

  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:104)

  at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:301)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1652)

  at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)

  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:65)

  at java.lang.Thread.run(Thread.java:745)

  at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:103)

2017-04-19 10:09:53,735 ERROR [ajp-bio-8014-exec-9] com.ptc.netmarkets.work.StandardNmWorkItemService unk - wt.util.WTException: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

Nested exception is: java.lang.ClassCastException: wt.org.WTGroup cannot be cast to wt.org.WTUser

2 REPLIES 2

You have an error in your workflow expression where you are receiving a WTGroup and passing it to WTUser group. I will look at com.godrej.WorkflowHelper.checkSetupParticipant method and at the entry point to this in the workfow

Hi Dhananjay chavan‌,

Seems like issue is with your customization.

As a starting point you can check your custom class "com.godrej.WorkflowHelper.java" and checkSetupParticipant method probably at line 387.

As Binesh Kumar‌ said WTGroup and passing it to WTUser group there in this method.

I hope you found it useful.

Regards,

Shirish

Announcements


Top Tags