java.lang.NumberFormatException: null

JIRA | Jim Anderson | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hi, since the update to JIRA 7.2.6 we constantly getting a lot of NumberFormatExceptions in the atlassian.log. {noformat} 2016-12-20 11:03:02,804 http-nio-8080-exec-58 ERROR [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [java.lang.Num berFormatException: null] with root cause java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:552) at java.lang.Long.valueOf(Long.java:803) at org.swift.jira.cloneplus.action.ClonePlusStartAction.getOriginalIssue(ClonePlusStartAction.java:753) at org.swift.jira.cloneplus.action.ClonePlusStartAction.getPid(ClonePlusStartAction.java:797) at org.swift.jira.cloneplus.action.ClonePlusStartAction.doLoadIssueTypesForProject(ClonePlusStartAction.java:475) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) ... 2 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 53 filtered at com.atlassian.servicedesk.internal.web.OperationalStatusAwareHttpFilter.doFilter(OperationalStatusAwareHttpFilter.java:31) ... 8 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 42 filtered at com.xiplink.jira.git.action.GitThreadCacheDestroyFilter.doFilter(GitThreadCacheDestroyFilter.java:35) ... 14 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) ... 36 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 5 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:181) at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:64) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:174) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:130) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:121) ... 4 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) ... 8 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 4 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 7 filtered at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:105) ... 25 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 28 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) {noformat} It seems, this has no effects on the funktionality, but for log file monitoring it's not ideal... Thanks, Henning

    JIRA | 2 months ago | Henning Tietgens
    java.lang.NumberFormatException: null
  2. 0

    How can I make this code to submit a UTF-8 form textarea with jQuery/Ajax work?

    Stack Overflow | 8 years ago | Sergio del Amo
    javax.servlet.ServletException: java.lang.NumberFormatException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. marcbouvierdav 2 times, last 5 months ago
  2. kuldeep 4 times, last 5 months ago
  3. Piz 2 times, last 7 months ago
  4. mortalman7 4 times, last 7 months ago
  5. bpbhat77 681 times, last 11 months ago
14 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.NumberFormatException

    null

    at java.lang.Long.parseLong()
  2. Java RT
    Long.valueOf
    1. java.lang.Long.parseLong(Unknown Source)
    2. java.lang.Long.valueOf(Unknown Source)
    2 frames
  3. org.swift.jira
    ClonePlusStartAction.doLoadIssueTypesForProject
    1. org.swift.jira.cloneplus.action.ClonePlusStartAction.getOriginalIssue(ClonePlusStartAction.java:742)
    2. org.swift.jira.cloneplus.action.ClonePlusStartAction.getPid(ClonePlusStartAction.java:775)
    3. org.swift.jira.cloneplus.action.ClonePlusStartAction.doLoadIssueTypesForProject(ClonePlusStartAction.java:464)
    3 frames