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

Samebug tips

  1. ,

    In Scala, don’t use the get method with Option to access a result. Use getOrElse, a match expression, or foreach instead.

java.util.NoSuchElementException: None.get	at scala.None$.get(Option.scala:347)	at scala.None$.get(Option.scala:345)	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedReportCreationService.createDefaultReports(GettingStartedReportCreationService.scala:43)	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createOrReEnableServiceDeskForExistingProject$2.apply(GettingStartedService.scala:316)	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createOrReEnableServiceDeskForExistingProject$2.apply(GettingStartedService.scala:275)	at scalaz.$bslash$div.map(Either.scala:111)	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.createOrReEnableServiceDeskForExistingProject(GettingStartedService.scala:275)	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.createServiceDeskWithSharedConfig(GettingStartedService.scala:327)	at com.atlassian.servicedesk.internal.project.type.ServiceDeskProjectHelper.createServiceDeskForSharedConfigProject(ServiceDeskProjectHelper.java:49)	at com.atlassian.servicedesk.internal.project.type.ServiceDeskProjectCreateHandler.onProjectCreated(ServiceDeskProjectCreateHandler.java:33)	at com.atlassian.jira.project.ProjectCreateRegistrarImpl.notifyAllHandlers(ProjectCreateRegistrarImpl.java:36)	at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:393)	at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378)	at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348)