java.lang.NumberFormatException: null

Atlassian JIRA | Guilherme Heck [Atlassian] | 4 years ago
  1. 0

    h3.Problem When clicking "Cancel" in Confluence Editor to discard any changes to a page, the following appears in the atlassian-confluence.log: {code} 2012-10-22 22:21:23,956 ERROR [http-8043-6] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /pages/doeditpage.action | userName: admin | referer: http://localhost:8043/pages/editpage.action?pageId=4064 java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:375) at java.lang.Long.parseLong(Long.java:468) at com.atlassian.confluence.pages.Draft.getPageIdAsLong(Draft.java:83) at com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.getCancelResult(AbstractCreateAndEditPageAction.java:630) at com.atlassian.confluence.pages.actions.AbstractEditPageAction.getCancelResult(AbstractEditPageAction.java:296) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:20) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.xwork.HttpMethodValidationInterceptor.intercept(HttpMethodValidationInterceptor.java:72) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:63) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:68) .....{code} h3.Cause Confluence is not able to convert the Draft Page ID due to invalid format. h3.Workaround For a known workaround please refer to [NumberFormatException When Cancelling Page Edits|https://confluence.atlassian.com/display/CONFKB/NumberFormatException+When+Cancelling+Page+Edits]

    Atlassian JIRA | 4 years ago | Guilherme Heck [Atlassian]
    java.lang.NumberFormatException: null
  2. 0

    h3.Problem When clicking "Cancel" in Confluence Editor to discard any changes to a page, the following appears in the atlassian-confluence.log: {code} 2012-10-22 22:21:23,956 ERROR [http-8043-6] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /pages/doeditpage.action | userName: admin | referer: http://localhost:8043/pages/editpage.action?pageId=4064 java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:375) at java.lang.Long.parseLong(Long.java:468) at com.atlassian.confluence.pages.Draft.getPageIdAsLong(Draft.java:83) at com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.getCancelResult(AbstractCreateAndEditPageAction.java:630) at com.atlassian.confluence.pages.actions.AbstractEditPageAction.getCancelResult(AbstractEditPageAction.java:296) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:20) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.xwork.HttpMethodValidationInterceptor.intercept(HttpMethodValidationInterceptor.java:72) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:63) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:68) .....{code} h3.Cause Confluence is not able to convert the Draft Page ID due to invalid format. h3.Workaround For a known workaround please refer to [NumberFormatException When Cancelling Page Edits|https://confluence.atlassian.com/display/CONFKB/NumberFormatException+When+Cancelling+Page+Edits]

    Atlassian JIRA | 4 years ago | Guilherme Heck [Atlassian]
    java.lang.NumberFormatException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ERROR job.SiteSearchJobProxy: null

    GitHub | 4 years ago | mabouza
    java.lang.NumberFormatException: null
  5. 0

    NumberFormatException on start of IntelliJ

    GitHub | 3 years ago | enemymaker
    java.lang.NumberFormatException: null
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.parseLong
    1. java.lang.Long.parseLong(Long.java:375)
    2. java.lang.Long.parseLong(Long.java:468)
    2 frames
  3. com.atlassian.confluence
    CancellingInterceptor.intercept
    1. com.atlassian.confluence.pages.Draft.getPageIdAsLong(Draft.java:83)
    2. com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.getCancelResult(AbstractCreateAndEditPageAction.java:630)
    3. com.atlassian.confluence.pages.actions.AbstractEditPageAction.getCancelResult(AbstractEditPageAction.java:296)
    4. com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:20)
    4 frames
  4. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
    1 frame
  5. com.atlassian.confluence
    HttpMethodValidationInterceptor.intercept
    1. com.atlassian.confluence.xwork.HttpMethodValidationInterceptor.intercept(HttpMethodValidationInterceptor.java:72)
    1 frame
  6. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
    1 frame
  7. com.atlassian.confluence
    WebSudoInterceptor.intercept
    1. com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:63)
    1 frame
  8. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
    1 frame
  9. com.atlassian.confluence
    ThemeContextInterceptor.intercept
    1. com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:68)
    1 frame