java.lang.ClassCastException: com.atlassian.jira.user.DelegatingApplicationUser cannot be cast to com.atlassian.crowd.embedded.api.User @40000000515bda1a2d73855c at com.atlassian.bonfire.service.rest.CustomFieldOptionService.attachCustomFieldDefaultValue(CustomFieldOptionService.java:128) @40000000515bda1a2d738d2c at com.atlassian.bonfire.rest.FieldsResource.getCustomFieldBean(FieldsResource.java:268) @40000000515bda1a2d738d2c at com.atlassian.bonfire.rest.FieldsResource.getFieldListBean(FieldsResource.java:215) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource.access$500(FieldsResource.java:49) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:141) @40000000515bda1a2d739ccc at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:99) @40000000515bda1a2d73a0b4 at com.atlassian.bonfire.rest.util.RestCall.response(RestCall.java:36) @40000000515bda1a2d73a0b4 at com.atlassian.bonfire.rest.util.BonfireRestResource.response(BonfireRestResource.java:53) @40000000515bda1a2d73a49c at com.atlassian.bonfire.rest.FieldsResource.getFieldsForProjectFromPath(FieldsResource.java:98) @40000000515bda1a2d73ac6c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @40000000515bda1a2d73ac6c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @40000000515bda1a2d73b054 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000515bda1a2d73b054 at java.lang.reflect.Method.invoke(Method.java:597) @40000000515bda1a2d73b824 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) @40000000515bda1a2d73b824 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) @40000000515bda1a2d73bc0c at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000515bda1a2d73c3dc at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) @40000000515bda1a2d73c3dc at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000515bda1a2d73c7c4 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132) @40000000515bda1a2d73cf94 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:230) @40000000515bda1a2d73d37c at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) @40000000515bda1a2d73d764 at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) @40000000515bda1a2d73db4c at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Maleko Taylor, 1 year ago
(FieldsResource.java:215) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource.access$500(FieldsResource.java:49) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:141
via Atlassian JIRA by Maleko Taylor, 1 year ago
(FieldsResource.java:215) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource.access$500(FieldsResource.java:49) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:141
java.lang.ClassCastException: com.atlassian.jira.user.DelegatingApplicationUser cannot be cast to com.atlassian.crowd.embedded.api.User @40000000515bda1a2d73855c at com.atlassian.bonfire.service.rest.CustomFieldOptionService.attachCustomFieldDefaultValue(CustomFieldOptionService.java:128) @40000000515bda1a2d738d2c at com.atlassian.bonfire.rest.FieldsResource.getCustomFieldBean(FieldsResource.java:268) @40000000515bda1a2d738d2c at com.atlassian.bonfire.rest.FieldsResource.getFieldListBean(FieldsResource.java:215) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource.access$500(FieldsResource.java:49) @40000000515bda1a2d739114 at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:141) @40000000515bda1a2d739ccc at com.atlassian.bonfire.rest.FieldsResource$1.call(FieldsResource.java:99) @40000000515bda1a2d73a0b4 at com.atlassian.bonfire.rest.util.RestCall.response(RestCall.java:36) @40000000515bda1a2d73a0b4 at com.atlassian.bonfire.rest.util.BonfireRestResource.response(BonfireRestResource.java:53) @40000000515bda1a2d73a49c at com.atlassian.bonfire.rest.FieldsResource.getFieldsForProjectFromPath(FieldsResource.java:98) @40000000515bda1a2d73ac6c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @40000000515bda1a2d73ac6c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @40000000515bda1a2d73b054 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000515bda1a2d73b054 at java.lang.reflect.Method.invoke(Method.java:597) @40000000515bda1a2d73b824 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) @40000000515bda1a2d73b824 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) @40000000515bda1a2d73bc0c at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000515bda1a2d73c3dc at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) @40000000515bda1a2d73c3dc at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) @40000000515bda1a2d73c7c4 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132) @40000000515bda1a2d73cf94 at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:230) @40000000515bda1a2d73d37c at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) @40000000515bda1a2d73d764 at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) @40000000515bda1a2d73db4c at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.