java.lang.NullPointerException

Atlassian JIRA | Brenden Bain [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting these occasional errors on JAC. It also looks like we are trying to communicate with bammboo, not sure if we are meant to do this. {code} 2009-08-28 04:12:54,952 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor32 ERROR anonymous 15174x11507x1 1irdm2n http://jira.atlassian.com/plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity java.lang.NullPointerException at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildStatusChange(JiraSyndEntryFactoryImpl.java:442) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:188) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:117) at com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113) at com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor118.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 $Proxy247.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor118.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.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:150) at $Proxy247.doInTransaction(Unknown Source) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) at sun.reflect.GeneratedMethodAccessor593.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) {code}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.NullPointerException
  2. 0

    Getting these occasional errors on JAC. It also looks like we are trying to communicate with bammboo, not sure if we are meant to do this. {code} 2009-08-28 04:12:54,952 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor32 ERROR anonymous 15174x11507x1 1irdm2n http://jira.atlassian.com/plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity java.lang.NullPointerException at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildStatusChange(JiraSyndEntryFactoryImpl.java:442) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:188) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:117) at com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113) at com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor118.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 $Proxy247.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor118.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.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:150) at $Proxy247.doInTransaction(Unknown Source) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) at sun.reflect.GeneratedMethodAccessor593.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) {code}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.NullPointerException
  3. 0

    Activity stream dies with: An internal server error occurred when requesting resource http://localhost:8080/plugins/servlet/streams?os_authType=basic&maxResults=100. See attached image for screen shot of this error. This appears to be caused by an issue that has CMYK JPEG's attached. Some exceptions seen in the logs: 2010-01-05 11:54:58,142 http-8080-Processor23 ERROR xxxxxx 42895x1184x1 z82x4w http://localhost:8080/plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity java.lang.NullPointerException at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getThumbnailedAttachments(JiraSyndEntryFactoryImpl.java:364) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachmentHtml(JiraSyndEntryFactoryImpl.java:310) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachments(JiraSyndEntryFactoryImpl.java:277) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:196) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:118) at com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113) at com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor230.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 $Proxy229.doInTransaction(Unknown Source) and 2010-01-05 09:16:53,743 http-8080-Processor20 ERROR xxxxxxx 33411x645x1 z82x4w http://localhost:8080/plugins/servlet/streams [core.util.thumbnail.Thumber] Unable to create thumbnail image for id 11849 javax.imageio.IIOException: Unsupported Image Type at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:922) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:897) at javax.imageio.ImageIO.read(ImageIO.java:1422) at javax.imageio.ImageIO.read(ImageIO.java:1326) at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281) at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241) at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215) at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:104) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnails(DefaultThumbnailManager.java:50) at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:70) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at $Proxy92.getThumbnails(Unknown Source)

    Atlassian JIRA | 7 years ago | Adam Stuckey [Atlassian]
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Activity stream dies with: An internal server error occurred when requesting resource http://localhost:8080/plugins/servlet/streams?os_authType=basic&maxResults=100. See attached image for screen shot of this error. This appears to be caused by an issue that has CMYK JPEG's attached. Some exceptions seen in the logs: 2010-01-05 11:54:58,142 http-8080-Processor23 ERROR xxxxxx 42895x1184x1 z82x4w http://localhost:8080/plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity java.lang.NullPointerException at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getThumbnailedAttachments(JiraSyndEntryFactoryImpl.java:364) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachmentHtml(JiraSyndEntryFactoryImpl.java:310) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachments(JiraSyndEntryFactoryImpl.java:277) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:196) at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:118) at com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113) at com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor230.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 $Proxy229.doInTransaction(Unknown Source) and 2010-01-05 09:16:53,743 http-8080-Processor20 ERROR xxxxxxx 33411x645x1 z82x4w http://localhost:8080/plugins/servlet/streams [core.util.thumbnail.Thumber] Unable to create thumbnail image for id 11849 javax.imageio.IIOException: Unsupported Image Type at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:922) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:897) at javax.imageio.ImageIO.read(ImageIO.java:1422) at javax.imageio.ImageIO.read(ImageIO.java:1326) at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281) at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241) at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215) at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:104) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnails(DefaultThumbnailManager.java:50) at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:70) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at $Proxy92.getThumbnails(Unknown Source)

    Atlassian JIRA | 7 years ago | Adam Stuckey [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildStatusChange()
    2. com.atlassian.streams
      StreamsActivityServlet$1.doInTransaction
      1. com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildStatusChange(JiraSyndEntryFactoryImpl.java:442)
      2. com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:188)
      3. com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:117)
      4. com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113)
      5. com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118)
      5 frames
    3. com.atlassian.sal
      HostContextTransactionTemplate$1.doInTransaction
      1. com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
      1 frame
    4. com.atlassian.jira
      DefaultHostContextAccessor.doInTransaction
      1. com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    7. Unknown
      $Proxy247.doInTransaction
      1. $Proxy247.doInTransaction(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:150)
      1 frame
    10. Unknown
      $Proxy247.doInTransaction
      1. $Proxy247.doInTransaction(Unknown Source)
      1 frame
    11. com.atlassian.sal
      HostContextTransactionTemplate.execute
      1. com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor593.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    13. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    14. 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
    15. Spring AOP
      DelegatingIntroductionInterceptor.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)
      3 frames