com.atlassian.jira.util.dbc.Assertions$NullArgumentException: contentType should not be null!

Atlassian JIRA | Mike Knight | 3 years ago
  1. 0

    *Steps to reproduce:* - Try to attach a file to an issue with a file that is larger than the configured maximum attachment size. *Expected results:* - The upload should not even be attempted, with the following error being returned: {quote} MYFILE.EXT is too large to attach. Attachment is 13.75 MB but the largest allowed attachment is 10.00 MB. {quote} *Actual results:* - The upload proceeds. - The following error is presented: {quote} Cannot attach file MYFILE.EXT: Unknown server error (500). {quote} - The following stack trace is produced: {noformat} 2013-09-09 11:59:06,186 TP-Processor2 ERROR sysadmin 719x4534x1 1jbsie1 200.210.150.226,131.103.26.193 /rest/internal/1.0/AttachTemporaryFile [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service com.atlassian.jira.util.dbc.Assertions$NullArgumentException: contentType should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29) at com.atlassian.jira.util.dbc.Assertions.notBlank(Assertions.java:122) at com.atlassian.jira.web.util.DefaultWebAttachmentManager.createTemporaryAttachment(DefaultWebAttachmentManager.java:143) at sun.reflect.GeneratedMethodAccessor1111.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy354.createTemporaryAttachment(Unknown Source) at sun.reflect.GeneratedMethodAccessor1110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1089.createTemporaryAttachment(Unknown Source) at com.atlassian.jira.rest.v1.attachment.AttachTemporaryFileResource.addTemporaryAttachment(AttachTemporaryFileResource.java:114) ... {noformat} I know that this was not happening in 6.1-OD-04-1 but I'm not sure exactly which version introduced this problem.

    Atlassian JIRA | 3 years ago | Mike Knight
    com.atlassian.jira.util.dbc.Assertions$NullArgumentException: contentType should not be null!
  2. 0

    *Steps to reproduce:* - Try to attach a file to an issue with a file that is larger than the configured maximum attachment size. *Expected results:* - The upload should not even be attempted, with the following error being returned: {quote} MYFILE.EXT is too large to attach. Attachment is 13.75 MB but the largest allowed attachment is 10.00 MB. {quote} *Actual results:* - The upload proceeds. - The following error is presented: {quote} Cannot attach file MYFILE.EXT: Unknown server error (500). {quote} - The following stack trace is produced: {noformat} 2013-09-09 11:59:06,186 TP-Processor2 ERROR sysadmin 719x4534x1 1jbsie1 200.210.150.226,131.103.26.193 /rest/internal/1.0/AttachTemporaryFile [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service com.atlassian.jira.util.dbc.Assertions$NullArgumentException: contentType should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29) at com.atlassian.jira.util.dbc.Assertions.notBlank(Assertions.java:122) at com.atlassian.jira.web.util.DefaultWebAttachmentManager.createTemporaryAttachment(DefaultWebAttachmentManager.java:143) at sun.reflect.GeneratedMethodAccessor1111.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy354.createTemporaryAttachment(Unknown Source) at sun.reflect.GeneratedMethodAccessor1110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1089.createTemporaryAttachment(Unknown Source) at com.atlassian.jira.rest.v1.attachment.AttachTemporaryFileResource.addTemporaryAttachment(AttachTemporaryFileResource.java:114) ... {noformat} I know that this was not happening in 6.1-OD-04-1 but I'm not sure exactly which version introduced this problem.

    Atlassian JIRA | 3 years ago | Mike Knight
    com.atlassian.jira.util.dbc.Assertions$NullArgumentException: contentType should not be null!
  3. 0

    h3. Summary If JIRA has non-existing user in the _Administer project_ permission of the Project Permission then it stops showing top dropdown header. h3. Steps to Reproduce Use Project Configurator plugin # On Source: ## Create a project ## Create a user called TestUser1 ## Amend the permission scheme to use this user, add as admin for project ## Export the project config with PC plugin # On Dest ## DO NOT CREATE USER TestUser1 ## Import project config via PC plugin h3. Expected Results It works fine h3. Actual Results Top dropdown page header is not present. The below exception is thrown in the atlassian-jira.log file: {noformat} 2016-04-14 09:51:57,891 http-bio-8443-exec-26 ERROR admin 591x87653x2 1x6uly9 127.0.0.1 /secure/project/ViewProjects.jspa [webwork.util.ValueStack] METHOD: "projectAdmin", exception: com.atlassian.jira.util.dbc.Assertions$NullArgumentException: parameter should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29) at com.atlassian.jira.security.type.SingleUser.hasPermission(SingleUser.java:150) at com.atlassian.jira.security.type.SingleUser.hasPermission(SingleUser.java:138) at com.atlassian.jira.permission.DefaultPermissionSchemeManager$4.hasPermission(DefaultPermissionSchemeManager.java:591) at com.atlassian.jira.permission.DefaultPermissionSchemeManager.hasSchemePermission(DefaultPermissionSchemeManager.java:844) at com.atlassian.jira.permission.DefaultPermissionSchemeManager.hasSchemePermission(DefaultPermissionSchemeManager.java:586) at com.atlassian.jira.security.DefaultPermissionManager.doProjectPermissionCheck(DefaultPermissionManager.java:361) at com.atlassian.jira.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:218) at com.atlassian.jira.security.WorkflowBasedPermissionManager.hasPermission(WorkflowBasedPermissionManager.java:144) <+2> (DelegatingMethodAccessorImpl.java:43) 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.$Proxy14.hasPermission(Unknown Source) at com.atlassian.jira.web.action.project.ViewProjects.isProjectAdmin(ViewProjects.java:98) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) .... {noformat} h3. Notes Problem may occurs executing other actions, eg: Issue Create. h3.Workaround * Check project permission page and remove non-existing users * Use updated version of Project Configurator plugin. The versions with the fix (*1.13.1-J6* and *1.13.1-J7*) were released 2016-06-10.

    Atlassian JIRA | 8 months ago | Andriy Yakovlev [Atlassian]
    com.atlassian.jira.util.dbc.Assertions$NullArgumentException: parameter should not be null!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {noformat} java.lang.RuntimeException: Could not open JAR file for reading: e:\blitz\home\plugins\installed-plugins\jira-toolkit-0.7.29-SNAPSHOT.jar at com.atlassian.plugin.JarPluginArtifact.getInputStream(JarPluginArtifact.java:106) at com.atlassian.plugin.factories.XmlDynamicPluginFactory.canCreate(XmlDynamicPluginFactory.java:123) at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:111) at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:87) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:150) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:59) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.io.FileNotFoundException: e:\blitz\home\plugins\installed-plugins\jira-toolkit-0.7.29-SNAPSHOT.jar (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.atlassian.plugin.JarPluginArtifact.getInputStream(JarPluginArtifact.java:102) ... 25 more 2009-06-11 19:42:53,970 Main Thread INFO [atlassian.plugin.manager.DefaultPluginManager] Plugin system started in 0:00:15.734 2009-06-11 19:42:53,970 Main Thread ERROR [com.atlassian.jira.ComponentManager] Error occurred while starting PluginManager. com.atlassian.jira.util.dbc.Assertions$NullArgumentException: name should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:24) at com.atlassian.jira.util.dbc.Null.not(Null.java:12) at com.atlassian.jira.plugin.PluginVersionImpl.<init>(PluginVersionImpl.java:31) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersion(JiraPluginManager.java:155) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersions(JiraPluginManager.java:130) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:50) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:59) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 2009-06-11 19:42:53,986 Main Thread FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initialisation - Error occurred while starting PluginManager.. com.atlassian.jira.InfrastructureException: Error occurred while starting PluginManager. at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1281) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:59) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: com.atlassian.jira.util.dbc.Assertions$NullArgumentException: name should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:24) at com.atlassian.jira.util.dbc.Null.not(Null.java:12) at com.atlassian.jira.plugin.PluginVersionImpl.<init>(PluginVersionImpl.java:31) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersion(JiraPluginManager.java:155) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersions(JiraPluginManager.java:130) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:50) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1276) {noformat}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    com.atlassian.jira.InfrastructureException: Error occurred while starting PluginManager.
  6. 0

    If I install a plugin in the /plugins/installed-plugins directory that doesn't have a pluginsVersion="2" in the atlassian-plugin.xml, I see the following error in the logs and nothing else to indicate what the problem might be: {noformat} 2009-05-04 11:00:21,386 main ERROR [com.atlassian.jira.ComponentManager] Error occurred while starting PluginManager. com.atlassian.jira.util.dbc.Assertions$NullArgumentException: name should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:24) at com.atlassian.jira.util.dbc.Null.not(Null.java:12) at com.atlassian.jira.plugin.PluginVersionImpl.<init>(PluginVersionImpl.java:31) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersion(JiraPluginManager.java:155) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersions(JiraPluginManager.java:130) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:50) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1243) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:197) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:183) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:59) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 2009-05-04 11:00:21,388 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initialisation - Error occurred while starting PluginManager.. com.atlassian.jira.InfrastructureException: Error occurred while starting PluginManager. at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1248) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:197) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:183) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:59) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by: com.atlassian.jira.util.dbc.Assertions$NullArgumentException: name should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:24) at com.atlassian.jira.util.dbc.Null.not(Null.java:12) at com.atlassian.jira.plugin.PluginVersionImpl.<init>(PluginVersionImpl.java:31) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersion(JiraPluginManager.java:155) at com.atlassian.jira.plugin.JiraPluginManager.storePluginVersions(JiraPluginManager.java:130) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:50) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1243) ... 19 more {noformat} and JIRA doesn't start. The following error indicates the problem, but really, there should be an error saying plugin "blah.jar" has an invalid descriptor: {noformat} 2009-05-04 11:00:20,113 main INFO [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'auiplugin-0.8-dashboardAJS.jar:0.0 No plugin factories found for plugin file Unit: /home/jroper/src/atlassian/upm/acceptance-tests/jira/target/jira-home/plugins/.bundled-plugins/auiplugin-0.8-dashboardAJS.jar (1241398806000)' to 'auiplugin-0.8-dashboardAJS.jar:0.0 No plugin factories found for plugin file Unit: /home/jroper/src/atlassian/upm/acceptance-tests/jira/target/jira-home/plugins/installed-plugins/auiplugin-0.8-dashboardAJS.jar (1241162237000)' {noformat}

    Atlassian JIRA | 8 years ago | James Roper [Atlassian]
    com.atlassian.jira.InfrastructureException: Error occurred while starting PluginManager.

    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. com.atlassian.jira.util.dbc.Assertions$NullArgumentException

      contentType should not be null!

      at com.atlassian.jira.util.dbc.Assertions.notNull()
    2. com.atlassian.jira
      DefaultWebAttachmentManager.createTemporaryAttachment
      1. com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29)
      2. com.atlassian.jira.util.dbc.Assertions.notBlank(Assertions.java:122)
      3. com.atlassian.jira.web.util.DefaultWebAttachmentManager.createTemporaryAttachment(DefaultWebAttachmentManager.java:143)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1111.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    5. Unknown
      $Proxy354.createTemporaryAttachment
      1. $Proxy354.createTemporaryAttachment(Unknown Source)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1110.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    8. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    10. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    12. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    14. Unknown
      $Proxy1089.createTemporaryAttachment
      1. $Proxy1089.createTemporaryAttachment(Unknown Source)
      1 frame
    15. com.atlassian.jira
      AttachTemporaryFileResource.addTemporaryAttachment
      1. com.atlassian.jira.rest.v1.attachment.AttachTemporaryFileResource.addTemporaryAttachment(AttachTemporaryFileResource.java:114)
      1 frame