java.lang.reflect.InvocationTargetException

JIRA | Andre Lehmann | 1 year ago
  1. 0

    Hi Bob, es mentioned in JCLI-702 and my question https://bobswift.atlassian.net/wiki/questions/124453137 I'm raising an issue. I want to create a project and set all schemes. Even with setting notification and permission-scheme an error appears. I will attach the -v output. Here the command: jira.sh --action createProject --project ALEH --name "ALEHTEST" --lead aleh --workflowScheme 12133 --issueTypeScheme 10170 --issueTypeScreenScheme 10041 --fieldConfigurationScheme 10110 --notificationScheme 10000 --permissionScheme 0 -v here the jira.log {code} 2015-11-23 08:55:34,298 http-nio-8080-exec-12 ERROR jira-rescue-nonad 535x599x1 vngciw 127.0.0.1 /rest/api/latest/project/ALEH/notificationscheme [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) ... 2 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) ... 14 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 41 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.atlassian.jira.notification.DefaultNotificationSchemeService.transformToNotificationScheme(DefaultNotificationSchemeService.java:173) at com.atlassian.jira.notification.DefaultNotificationSchemeService.getNotificationSchemeForProject(DefaultNotificationSchemeService.java:168) at com.atlassian.jira.notification.DefaultNotificationSchemeService.lambda$getNotificationSchemeForProject$45(DefaultNotificationSchemeService.java:137) at com.atlassian.jira.notification.DefaultNotificationSchemeService.withUserNotNullCheck(DefaultNotificationSchemeService.java:147) at com.atlassian.jira.notification.DefaultNotificationSchemeService.getNotificationSchemeForProject(DefaultNotificationSchemeService.java:135) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy412.getNotificationSchemeForProject(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2379.getNotificationSchemeForProject(Unknown Source) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.getNotificationSchemeForProject(ProjectNotificationSchemeResource.java:111) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.access$100(ProjectNotificationSchemeResource.java:29) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource$1.apply(ProjectNotificationSchemeResource.java:88) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource$1.apply(ProjectNotificationSchemeResource.java:82) at com.atlassian.fugue.Either$LeftProjection.on(Either.java:663) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.getNotificationScheme(ProjectNotificationSchemeResource.java:81) ... 211 more {code} This is exactly the Error-message on https://ecosystem.atlassian.net/browse/ACJIRA-508 This will be fixed in 7.1OD - Hope that this fix will make it into the server-build Kind regards André

    JIRA | 1 year ago | Andre Lehmann
    java.lang.reflect.InvocationTargetException
  2. 0

    {noformat} 2015-09-07 10:21:52,546 http-nio-8250-exec-16 ERROR automation 621x3856x1 1vjgghk (null),71.86.215.103,0:0:0:0:0:0:0:1 /rest/api/latest/field [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) ... 14 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 36 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Invalid module key specified: at com.atlassian.plugin.ModuleCompleteKey.<init>(ModuleCompleteKey.java:53) at com.atlassian.plugin.ModuleCompleteKey.<init>(ModuleCompleteKey.java:31) at com.atlassian.plugin.manager.DefaultPluginManager.getEnabledPluginModule(DefaultPluginManager.java:1543) at com.atlassian.plugin.manager.ForwardingPluginAccessor.getEnabledPluginModule(ForwardingPluginAccessor.java:58) at com.atlassian.plugin.manager.EnabledModuleCachingPluginAccessor.getEnabledPluginModule(EnabledModuleCachingPluginAccessor.java:29) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager.getCustomFieldSearcher(DefaultCustomFieldManager.java:285) at com.atlassian.jira.web.action.admin.customfields.CustomFieldValidatorImpl.validateDetails(CustomFieldValidatorImpl.java:84) at com.atlassian.jira.bc.customfield.DefaultCustomFieldService.validateCreate(DefaultCustomFieldService.java:361) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy96.validateCreate(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy4447.validateCreate(Unknown Source) at com.atlassian.jira.rest.v2.issue.FieldResource.createCustomField(FieldResource.java:135) {noformat}

    Atlassian JIRA | 1 year ago | Oswaldo Hernandez [Atlassian] Bugmaster
    java.lang.reflect.InvocationTargetException
  3. 0

    h3. Summary After adding the {{jira.permission.create.clone}} workflow property to a Status in JIRA, it's no longer possible to create issues in the related project via REST API. h3. Environment * Using POSTMAN to test h3. Steps to Reproduce # Edit a project's workflow # Add the following to the status just after the issue is created (eg. if a newly created issue goes to To Do status, add this property in To Do) #* jira.permission.create.clone=denied # Publish the workflow # Try creating an issue in this project which uses this workflow via REST API h3. Expected Results Issue is created fine h3. Actual Results Issues doesn't get created with the following as the response {code} { "errorMessages": [ "Internal server error" ], "errors": {} }{code} The below exception is thrown in the atlassian-jira.log file: {noformat} 2015-10-29 18:11:47,785 http-nio-7000-exec-12 ERROR admin 1091x451x1 y0l1x2 127.0.0.1 /rest/api/2/issue [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) ... 14 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 41 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Unknown type 'clone' in meta attribute 'jira.permission.create.clone'. Valid permission types are defined in permission-types.xml at com.atlassian.jira.permission.WorkflowPermissionFactory.createWorkflowPermission(WorkflowPermissionFactory.java:98) at com.atlassian.jira.permission.WorkflowPermissionFactory.getWorkflowPermissions(WorkflowPermissionFactory.java:47) at com.atlassian.jira.security.WorkflowBasedPermissionManager.workflowPermissionCheck(WorkflowBasedPermissionManager.java:143) at com.atlassian.jira.security.WorkflowBasedPermissionManager.hasPermission(WorkflowBasedPermissionManager.java:89) at com.atlassian.jira.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:102) at com.atlassian.jira.security.ApplicationRequiredPermissionManager.lambda$hasPermission$482(ApplicationRequiredPermissionManager.java:77) at com.atlassian.jira.security.ApplicationRequiredPermissionManager$$Lambda$296/624671521.getAsBoolean(Unknown Source) at com.atlassian.jira.security.ApplicationRequiredPermissionManager.checkUserHasApplicationOrFalse(ApplicationRequiredPermissionManager.java:190) at com.atlassian.jira.security.ApplicationRequiredPermissionManager.hasPermission(ApplicationRequiredPermissionManager.java:77) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at com.sun.proxy.$Proxy11.hasPermission(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy11.hasPermission(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2373.hasPermission(Unknown Source) at com.atlassian.jira.rest.v2.issue.CreateMetaFieldBeanBuilder.hasPermissionToPerformOperation(CreateMetaFieldBeanBuilder.java:107) at com.atlassian.jira.rest.v2.issue.AbstractMetaFieldBeanBuilder.build(AbstractMetaFieldBeanBuilder.java:91) at com.atlassian.jira.rest.v2.issue.CreateMetaFieldBeanBuilder.build(CreateMetaFieldBeanBuilder.java:66) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.getValidFieldsForCreate(IssueInputParametersAssembler.java:556) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.buildForCreate(IssueInputParametersAssembler.java:311) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssembler(IssueInputParametersAssembler.java:139) at com.atlassian.jira.rest.v2.issue.CreateIssueResource.createIssue(CreateIssueResource.java:53) at com.atlassian.jira.rest.v2.issue.IssueResource.createIssue(IssueResource.java:695) ... 213 more {noformat} h3. Notes It is possible to create issue via the UI h3.Workaround No known workaround

    Atlassian JIRA | 1 year ago | Woo Yit Wei [Atlassian]
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This has been reported by a Cloud customer and I can reproduce on the EAP driver (m01). Trying to update an issue with the following results in a internal server error. The same json format for the Epic Link custom field works correctly on a create, just not the update. {noformat} {"fields":{"customfield_11261":"ZAGILE-1"}} {noformat} {noformat} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45] at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) [atlassian-rest-module-3.0.0-m012_1437952492000.jar:?] ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) [jira-rest-plugin-7.0.0-m01.jar:?] ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) [jira-rest-plugin-7.0.0-m01.jar:?] ... 15 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) [atlassian-rest-module-3.0.0-m012_1437952492000.jar:?] ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) [atlassian-rest-module-3.0.0-m012_1437952492000.jar:?] ... 32 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) [atlassian-whitelist-api-plugin-1.13_1437952360000.jar:?] ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) [atlassian-rest-module-3.0.0-m012_1437952492000.jar:?] ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.17] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] Caused by: java.lang.ClassCastException: com.atlassian.jira.issue.IssueImpl cannot be cast to java.lang.String at com.atlassian.jira.issue.customfields.impl.rest.TextCustomFieldOperationsHandler.getInitialValue(TextCustomFieldOperationsHandler.java:46) [jira-api-7.0.0-m01.jar:?] at com.atlassian.jira.issue.customfields.impl.rest.TextCustomFieldOperationsHandler.getInitialValue(TextCustomFieldOperationsHandler.java:17) [jira-api-7.0.0-m01.jar:?] at com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler.updateIssueInputParameters(AbstractCustomFieldOperationsHandler.java:78) [jira-api-7.0.0-m01.jar:?] at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:470) [jira-rest-plugin-7.0.0-m01.jar:?] at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.buildForEdit(IssueInputParametersAssembler.java:221) [jira-rest-plugin-7.0.0-m01.jar:?] at com.atlassian.jira.rest.v2.issue.UpdateIssueResource.editIssue(UpdateIssueResource.java:37) [jira-rest-plugin-7.0.0-m01.jar:?] at com.atlassian.jira.rest.v2.issue.IssueResource.editIssue(IssueResource.java:894) [jira-rest-plugin-7.0.0-m01.jar:?] ... 205 more {noformat} The meta data is incorrect/ambiguous in this case. I reported the general problem of custom field metadata to Dave Meyer earlier. Let me know if there is a different format required for the update of this field compared to the create case. Here is the metadata: {noformat} Id . . . . . . . . . . . . . : customfield_11261 Name . . . . . . . . . . . . : Epic Link Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : string Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.pyxis.greenhopper.jira:gh-epic-link Custom id . . . . . . . . . . : 11261 {noformat}

    Atlassian JIRA | 1 year ago | Bob Swift
    java.lang.reflect.InvocationTargetException
  6. 0

    Hi Bob, es mentioned in JCLI-702 and my question https://bobswift.atlassian.net/wiki/questions/124453137 I'm raising an issue. I want to create a project and set all schemes. Even with setting notification and permission-scheme an error appears. I will attach the -v output. Here the command: jira.sh --action createProject --project ALEH --name "ALEHTEST" --lead aleh --workflowScheme 12133 --issueTypeScheme 10170 --issueTypeScreenScheme 10041 --fieldConfigurationScheme 10110 --notificationScheme 10000 --permissionScheme 0 -v here the jira.log {code} 2015-11-23 08:55:34,298 http-nio-8080-exec-12 ERROR jira-rescue-nonad 535x599x1 vngciw 127.0.0.1 /rest/api/latest/project/ALEH/notificationscheme [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) ... 2 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) ... 14 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 41 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.atlassian.jira.notification.DefaultNotificationSchemeService.transformToNotificationScheme(DefaultNotificationSchemeService.java:173) at com.atlassian.jira.notification.DefaultNotificationSchemeService.getNotificationSchemeForProject(DefaultNotificationSchemeService.java:168) at com.atlassian.jira.notification.DefaultNotificationSchemeService.lambda$getNotificationSchemeForProject$45(DefaultNotificationSchemeService.java:137) at com.atlassian.jira.notification.DefaultNotificationSchemeService.withUserNotNullCheck(DefaultNotificationSchemeService.java:147) at com.atlassian.jira.notification.DefaultNotificationSchemeService.getNotificationSchemeForProject(DefaultNotificationSchemeService.java:135) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy412.getNotificationSchemeForProject(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2379.getNotificationSchemeForProject(Unknown Source) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.getNotificationSchemeForProject(ProjectNotificationSchemeResource.java:111) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.access$100(ProjectNotificationSchemeResource.java:29) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource$1.apply(ProjectNotificationSchemeResource.java:88) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource$1.apply(ProjectNotificationSchemeResource.java:82) at com.atlassian.fugue.Either$LeftProjection.on(Either.java:663) at com.atlassian.jira.rest.v2.notification.ProjectNotificationSchemeResource.getNotificationScheme(ProjectNotificationSchemeResource.java:81) ... 211 more {code} This is exactly the Error-message on https://ecosystem.atlassian.net/browse/ACJIRA-508 This will be fixed in 7.1OD - Hope that this fix will make it into the server-build Kind regards André

    JIRA | 1 year ago | Andre Lehmann
    java.lang.reflect.InvocationTargetException

  1. r1chjames 1 times, last 6 days ago
  2. bmacedo 8 times, last 3 weeks ago
  3. aldrinleal 1 times, last 1 month ago
  4. ajinkya_w 96 times, last 2 months ago
  5. davidvanlaatum 4 times, last 2 months ago
18 more registered users
77 unregistered visitors
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.reflect.InvocationTargetException

    No message provided

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  3. com.atlassian.plugins
    DispatchProviderHelper$ResponseOutInvoker$1.invoke
    1. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234)
    1 frame