java.lang.NumberFormatException: For input string: "assets"

Atlassian JIRA | Michael Tokar - Annual Leave until 26 Sep | 7 years ago
  1. 0

    ViewAttachment We could do better on this one. Its just invalid URL input. We could just 404 or 500 with out a ERROR stack trace {code} 2009-05-26 07:29:58,429 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor50 ERROR [jira.web.servlet.ViewAttachmentServlet] Error finding /assets/snippets/reflect/snippet.reflect.php: For input string: "assets" java.lang.NumberFormatException: For input string: "assets" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.<init>(Long.java:671) at com.atlassian.jira.web.servlet.ViewAttachmentServlet.getAttachment(ViewAttachmentServlet.java:87) at com.atlassian.jira.web.servlet.ViewAttachmentServlet.getFileName(ViewAttachmentServlet.java:68) at com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:36) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {code}

    Atlassian JIRA | 7 years ago | Michael Tokar
    java.lang.NumberFormatException: For input string: "assets"
  2. 0

    ViewAttachment We could do better on this one. Its just invalid URL input. We could just 404 or 500 with out a ERROR stack trace {code} 2009-05-26 07:29:58,429 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor50 ERROR [jira.web.servlet.ViewAttachmentServlet] Error finding /assets/snippets/reflect/snippet.reflect.php: For input string: "assets" java.lang.NumberFormatException: For input string: "assets" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.<init>(Long.java:671) at com.atlassian.jira.web.servlet.ViewAttachmentServlet.getAttachment(ViewAttachmentServlet.java:87) at com.atlassian.jira.web.servlet.ViewAttachmentServlet.getFileName(ViewAttachmentServlet.java:68) at com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:36) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {code}

    Atlassian JIRA | 7 years ago | Michael Tokar - Annual Leave until 26 Sep
    java.lang.NumberFormatException: For input string: "assets"
  3. 0

    [ERROR] Uncaught exception escaped java.lang.NumberFormatException: For input string: "<div class="gwt-HTML dragdrop-draggable dragdrop-handle">1"

    Google Groups | 8 years ago | Shi
    java.lang.NumberFormatException: For input string: "<div class="gwt- HTML dragdrop-draggable dragdrop-handle">1"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [ERROR] Uncaught exception escaped java.lang.NumberFormatException: For input string: "<div class="gwt-HTML dragdrop-draggable dragdrop-handle">1"

    Google Groups | 8 years ago | Shi
    java.lang.NumberFormatException: For input string: "<div class="gwt- HTML dragdrop-draggable dragdrop-handle">1"
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

    For input string: "assets"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.<init>
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Long.parseLong(Long.java:403)
    3. java.lang.Long.<init>(Long.java:671)
    3 frames
  3. com.atlassian.jira
    AbstractViewFileServlet.doGet
    1. com.atlassian.jira.web.servlet.ViewAttachmentServlet.getAttachment(ViewAttachmentServlet.java:87)
    2. com.atlassian.jira.web.servlet.ViewAttachmentServlet.getFileName(ViewAttachmentServlet.java:68)
    3. com.atlassian.jira.web.servlet.AbstractViewFileServlet.doGet(AbstractViewFileServlet.java:36)
    3 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    2 frames
  5. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  6. com.atlassian.core
    HeaderSanitisingFilter.doFilter
    1. com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
    1 frame
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames