java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)

Atlassian JIRA | Vincent Chin [Atlassian] | 1 year ago
  1. 0

    h3.Summary When attempting to use the said post function, the post function doesn't set the value of the reporter field based on the value of the parent also it returns *Copy Field value to parent* error. There are 2 problems here when attempting to set the Reporter field value . * Reporter field is not set based on parent issue Reporter field value. * *Set Field Value from Parent* is returning an error for *Copy Field Value to Parent*. h3. Steps to Reproduce # Modify an existing project workflow; add the *Set Field Value from Parent* to the create issue transition. # Attempt to create a sub-task from an existing issue in the project. h3. Expected Results Sub-task reporter field is set to the parent ticket reporter h3.Actual Results Sub-task reporter is not set and when checking the logs, logs shows error for another post function, *Copy Field Value to Parent*. {quote} 2015-09-10 14:17:05.910418500 2015-09-10 14:17:05,904 ajp-nio-127.0.0.104-8009-exec-88 WARN sysadmin 857x19079x1 1hgmn2g 202.68.74.170,104.192.140.242 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyFieldValueFromParentFunction] Error while executing Copy Field Value to Parent function: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910421500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-09-10 14:17:05.910436500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:879) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-09-10 14:17:05.910438500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-09-10 14:17:05.910439500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-09-10 14:17:05.910440500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-09-10 14:17:05.910440500 ... 3 filtered {quote}

    Atlassian JIRA | 1 year ago | Vincent Chin [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)
  2. 0

    h3.Summary When attempting to use the said post function, the post function doesn't set the value of the reporter field based on the value of the parent also it returns *Copy Field value to parent* error. There are 2 problems here when attempting to set the Reporter field value . * Reporter field is not set based on parent issue Reporter field value. * *Set Field Value from Parent* is returning an error for *Copy Field Value to Parent*. h3. Steps to Reproduce # Modify an existing project workflow; add the *Set Field Value from Parent* to the create issue transition. # Attempt to create a sub-task from an existing issue in the project. h3. Expected Results Sub-task reporter field is set to the parent ticket reporter h3.Actual Results Sub-task reporter is not set and when checking the logs, logs shows error for another post function, *Copy Field Value to Parent*. {quote} 2015-09-10 14:17:05.910418500 2015-09-10 14:17:05,904 ajp-nio-127.0.0.104-8009-exec-88 WARN sysadmin 857x19079x1 1hgmn2g 202.68.74.170,104.192.140.242 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyFieldValueFromParentFunction] Error while executing Copy Field Value to Parent function: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910421500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-09-10 14:17:05.910436500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:879) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-09-10 14:17:05.910438500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-09-10 14:17:05.910439500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-09-10 14:17:05.910440500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-09-10 14:17:05.910440500 ... 3 filtered {quote}

    Atlassian JIRA | 1 year ago | Vincent Chin [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)
  3. 0

    h3. Summary When setting a post function to copy the value from an User Picker (multiple users) field to Assignee (or any other User Picker (single user) field), the transition fails. This error happens as long as the source and destination is of different type; so even if the source field is for single user and the destination field is for multiple users; the error will still occur. !screen-4.png|thumbnail! h3. Environment * JIRA Cloud * [JIRA Misc Workflow Extensions|https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions] h3. Steps to Reproduce # Set a post function to copy the value from an User Picker (multiple users) field to Assignee # Try transitioning the issue, it will fail h3. Expected Results The value of the field should be copied and the transition should be complete. h3. Actual Results Error: !screen-3.png|thumbnail! Error on logs seems to indicate that the value of the field can be cast correctly. {noformat} 2015-08-19 09:00:54.449886500 2015-08-19 09:00:54,439 ajp-nio-127.0.0.104-8009-exec-4 ERROR sysadmin 540x705x1 wc6g0t 202.68.74.170,165.254.226.66 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyValueFromOtherFieldPostFunction] Unable to copy value from 'Call Originator' to 'Watchers' 2015-08-19 09:00:54.449887500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-08-19 09:00:54.449888500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:751) 2015-08-19 09:00:54.449897500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:1046) 2015-08-19 09:00:54.449897500 at com.innovalog.jmwe.plugins.functions.CopyValueFromOtherFieldPostFunction.executeFunction(CopyValueFromOtherFieldPostFunction.java:121) 2015-08-19 09:00:54.449898500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:123) 2015-08-19 09:00:54.449899500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-08-19 09:00:54.449903500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:883) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-08-19 09:00:54.449905500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-08-19 09:00:54.449911500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-08-19 09:00:54.449911500 ... 3 filtered 2015-08-19 09:00:54.449911500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449912500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) 2015-08-19 09:00:54.449912500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.449913500 ... 3 filtered 2015-08-19 09:00:54.449914500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449914500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) 2015-08-19 09:00:54.449915500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.450065500 at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:270) 2015-08-19 09:00:54.450066500 ... 1 filtered 2015-08-19 09:00:54.450066500 at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) 2015-08-19 09:00:54.450066500 ... 7 filtered 2015-08-19 09:00:54.450066500 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) 2015-08-19 09:00:54.450067500 ... 55 filtered 2015-08-19 09:00:54.450068500 at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) 2015-08-19 09:00:54.450069500 ... 24 filtered 2015-08-19 09:00:54.450069500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2015-08-19 09:00:54.450070500 ... 150 filtered 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-08-19 09:00:54.450072500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2015-08-19 09:00:54.450072500 at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Create a field under the type User Picker (single user) and replace the field User Picker (multiple users)

    Atlassian JIRA | 1 year ago | Paula Silveira [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-08-19 09:00:54.449888500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:751) 2015-08-19 09:00:54.449897500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:1046) 2015-08-19 09:00:54.449897500 at com.innovalog.jmwe.plugins.functions.CopyValueFromOtherFieldPostFunction.executeFunction(CopyValueFromOtherFieldPostFunction.java:121) 2015-08-19 09:00:54.449898500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:123) 2015-08-19 09:00:54.449899500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-08-19 09:00:54.449903500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:883) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-08-19 09:00:54.449905500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-08-19 09:00:54.449911500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-08-19 09:00:54.449911500 ... 3 filtered 2015-08-19 09:00:54.449911500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449912500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) 2015-08-19 09:00:54.449912500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.449913500 ... 3 filtered 2015-08-19 09:00:54.449914500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449914500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) 2015-08-19 09:00:54.449915500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.450065500 at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:270) 2015-08-19 09:00:54.450066500 ... 1 filtered 2015-08-19 09:00:54.450066500 at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) 2015-08-19 09:00:54.450066500 ... 7 filtered 2015-08-19 09:00:54.450066500 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) 2015-08-19 09:00:54.450067500 ... 55 filtered 2015-08-19 09:00:54.450068500 at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) 2015-08-19 09:00:54.450069500 ... 24 filtered 2015-08-19 09:00:54.450069500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2015-08-19 09:00:54.450070500 ... 150 filtered 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary When setting a post function to copy the value from an User Picker (multiple users) field to Assignee (or any other User Picker (single user) field), the transition fails. This error happens as long as the source and destination is of different type; so even if the source field is for single user and the destination field is for multiple users; the error will still occur. !screen-4.png|thumbnail! h3. Environment * JIRA Cloud * [JIRA Misc Workflow Extensions|https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions] h3. Steps to Reproduce # Set a post function to copy the value from an User Picker (multiple users) field to Assignee # Try transitioning the issue, it will fail h3. Expected Results The value of the field should be copied and the transition should be complete. h3. Actual Results Error: !screen-3.png|thumbnail! Error on logs seems to indicate that the value of the field can be cast correctly. {noformat} 2015-08-19 09:00:54.449886500 2015-08-19 09:00:54,439 ajp-nio-127.0.0.104-8009-exec-4 ERROR sysadmin 540x705x1 wc6g0t 202.68.74.170,165.254.226.66 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyValueFromOtherFieldPostFunction] Unable to copy value from 'Call Originator' to 'Watchers' 2015-08-19 09:00:54.449887500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-08-19 09:00:54.449888500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:751) 2015-08-19 09:00:54.449897500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:1046) 2015-08-19 09:00:54.449897500 at com.innovalog.jmwe.plugins.functions.CopyValueFromOtherFieldPostFunction.executeFunction(CopyValueFromOtherFieldPostFunction.java:121) 2015-08-19 09:00:54.449898500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:123) 2015-08-19 09:00:54.449899500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-08-19 09:00:54.449903500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:883) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-08-19 09:00:54.449905500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-08-19 09:00:54.449911500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-08-19 09:00:54.449911500 ... 3 filtered 2015-08-19 09:00:54.449911500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449912500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) 2015-08-19 09:00:54.449912500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.449913500 ... 3 filtered 2015-08-19 09:00:54.449914500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449914500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) 2015-08-19 09:00:54.449915500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.450065500 at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:270) 2015-08-19 09:00:54.450066500 ... 1 filtered 2015-08-19 09:00:54.450066500 at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) 2015-08-19 09:00:54.450066500 ... 7 filtered 2015-08-19 09:00:54.450066500 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) 2015-08-19 09:00:54.450067500 ... 55 filtered 2015-08-19 09:00:54.450068500 at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) 2015-08-19 09:00:54.450069500 ... 24 filtered 2015-08-19 09:00:54.450069500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2015-08-19 09:00:54.450070500 ... 150 filtered 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-08-19 09:00:54.450072500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2015-08-19 09:00:54.450072500 at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Create a field under the type User Picker (single user) and replace the field User Picker (multiple users)

    Atlassian JIRA | 1 year ago | Paula Silveira [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-08-19 09:00:54.449888500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:751) 2015-08-19 09:00:54.449897500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:1046) 2015-08-19 09:00:54.449897500 at com.innovalog.jmwe.plugins.functions.CopyValueFromOtherFieldPostFunction.executeFunction(CopyValueFromOtherFieldPostFunction.java:121) 2015-08-19 09:00:54.449898500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:123) 2015-08-19 09:00:54.449899500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-08-19 09:00:54.449900500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-08-19 09:00:54.449903500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:883) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-08-19 09:00:54.449904500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-08-19 09:00:54.449905500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-08-19 09:00:54.449911500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-08-19 09:00:54.449911500 ... 3 filtered 2015-08-19 09:00:54.449911500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449912500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) 2015-08-19 09:00:54.449912500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.449913500 ... 3 filtered 2015-08-19 09:00:54.449914500 at java.lang.reflect.Method.invoke(Method.java:497) 2015-08-19 09:00:54.449914500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) 2015-08-19 09:00:54.449915500 at com.sun.proxy.$Proxy271.create(Unknown Source) 2015-08-19 09:00:54.450065500 at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:270) 2015-08-19 09:00:54.450066500 ... 1 filtered 2015-08-19 09:00:54.450066500 at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) 2015-08-19 09:00:54.450066500 ... 7 filtered 2015-08-19 09:00:54.450066500 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) 2015-08-19 09:00:54.450067500 ... 55 filtered 2015-08-19 09:00:54.450068500 at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) 2015-08-19 09:00:54.450069500 ... 24 filtered 2015-08-19 09:00:54.450069500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2015-08-19 09:00:54.450070500 ... 150 filtered 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-08-19 09:00:54.450070500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  6. 0

    Unable to Log In to Oracle VM Manager via browser

    Oracle Community | 6 years ago | 765907
    java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory 10/09/02 14:02:43

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)

      at com.opensymphony.workflow.AbstractWorkflow.executeFunction()
    2. com.opensymphony.workflow
      AbstractWorkflow.transitionWorkflow
      1. com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
      2. com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
      2 frames