java.lang.NullPointerException

Stack Overflow | user7331766 | 1 week 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

    I have a dev timebomb key, which, when it expires, seems to show up that an NPE occurs rather loudly in service desk, it could/should probably be more resilient in this area and fail to do anything in this situ. {noformat} 2014-11-17 17:41:52,776 atlassian-scheduler-quartz1.clustered_Worker-1 ERROR ServiceRunner Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300 [atlassian.jira.service.ServiceRunner] An error occurred while trying to run service 'Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300'. null java.lang.NullPointerException at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:114) at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:114) at scala.collection.SeqLike$class.size(SeqLike.scala:106) at scala.collection.mutable.ArrayOps$ofRef.size(ArrayOps.scala:108) at scala.collection.mutable.Builder$class.sizeHint(Builder.scala:69) at scala.collection.mutable.ListBuffer.sizeHint(ListBuffer.scala:45) at scala.collection.TraversableLike$class.to(TraversableLike.scala:628) at scala.collection.mutable.ArrayOps$ofRef.to(ArrayOps.scala:108) at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:257) at scala.collection.mutable.ArrayOps$ofRef.toList(ArrayOps.scala:108) at com.atlassian.servicedesk.internal.feature.incomingemail.IncomingEmailService.com$atlassian$servicedesk$internal$feature$incomingemail$IncomingEmailService$$getEmailSettingFromMessage(IncomingEmailService.scala:101) {noformat} Upgrading to 2.0.4 resulted in a slightly different but similar error: {noformat} 2014-11-17 17:47:51,885 atlassian-scheduler-quartz1.clustered_Worker-3 ERROR ServiceRunner Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300 [atlassian.jira.service.ServiceRunner] An error occurred while trying to run service 'Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300'. null java.lang.NullPointerException at com.atlassian.servicedesk.squalor.email.SDMessageProcessor.execute(SDMessageProcessor.java:77) at com.atlassian.servicedesk.squalor.email.ServiceDeskMailFetcherService.runImpl(ServiceDeskMailFetcherService.java:71) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) {noformat}

    Atlassian JIRA | 2 years ago | Andy Brook
    java.lang.NullPointerException
  2. 0

    I have a dev timebomb key, which, when it expires, seems to show up that an NPE occurs rather loudly in service desk, it could/should probably be more resilient in this area and fail to do anything in this situ. {noformat} 2014-11-17 17:41:52,776 atlassian-scheduler-quartz1.clustered_Worker-1 ERROR ServiceRunner Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300 [atlassian.jira.service.ServiceRunner] An error occurred while trying to run service 'Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300'. null java.lang.NullPointerException at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:114) at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:114) at scala.collection.SeqLike$class.size(SeqLike.scala:106) at scala.collection.mutable.ArrayOps$ofRef.size(ArrayOps.scala:108) at scala.collection.mutable.Builder$class.sizeHint(Builder.scala:69) at scala.collection.mutable.ListBuffer.sizeHint(ListBuffer.scala:45) at scala.collection.TraversableLike$class.to(TraversableLike.scala:628) at scala.collection.mutable.ArrayOps$ofRef.to(ArrayOps.scala:108) at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:257) at scala.collection.mutable.ArrayOps$ofRef.toList(ArrayOps.scala:108) at com.atlassian.servicedesk.internal.feature.incomingemail.IncomingEmailService.com$atlassian$servicedesk$internal$feature$incomingemail$IncomingEmailService$$getEmailSettingFromMessage(IncomingEmailService.scala:101) {noformat} Upgrading to 2.0.4 resulted in a slightly different but similar error: {noformat} 2014-11-17 17:47:51,885 atlassian-scheduler-quartz1.clustered_Worker-3 ERROR ServiceRunner Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300 [atlassian.jira.service.ServiceRunner] An error occurred while trying to run service 'Mail handler used by JIRA Service Desk. Do not modify or delete. 10,300'. null java.lang.NullPointerException at com.atlassian.servicedesk.squalor.email.SDMessageProcessor.execute(SDMessageProcessor.java:77) at com.atlassian.servicedesk.squalor.email.ServiceDeskMailFetcherService.runImpl(ServiceDeskMailFetcherService.java:71) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) {noformat}

    Atlassian JIRA | 2 years ago | Andy Brook
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Converting to ADAM

    Google Groups | 2 years ago | Sergei Iakhnin
    java.lang.NullPointerException
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.NullPointerException

    No message provided

    at scala.collection.mutable.ArrayOps$ofRef$.length$extension()
  2. Scala
    ArrayOps$ofRef.map
    1. scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:192)
    2. scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:192)
    3. scala.collection.SeqLike$class.size(SeqLike.scala:106)
    4. scala.collection.mutable.ArrayOps$ofRef.size(ArrayOps.scala:186)
    5. scala.collection.mutable.Builder$class.sizeHint(Builder.scala:69)
    6. scala.collection.mutable.ArrayBuilder.sizeHint(ArrayBuilder.scala:22)
    7. scala.collection.TraversableLike$class.builder$1(TraversableLike.scala:230)
    8. scala.collection.TraversableLike$class.map(TraversableLike.scala:233)
    9. scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
    9 frames
  3. Unknown
    SparkGraphGen.main
    1. SparkGraphGen$.main(CorrDistGraph.scala:53)
    2. SparkGraphGen.main(CorrDistGraph.scala)
    2 frames
  4. 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
  5. Spark Project YARN Stable API
    ApplicationMaster$$anon$2.run
    1. org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:627)
    1 frame