com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "4,3"

Atlassian JIRA | Immanuel Siagian [Atlassian] | 4 years ago
  1. 0

    h4. Steps to replicate: # Add the GH Wallboard Gadget to Confluence (through the External Gadgets on Confluence Administration) # Add the GH Wallboard Gadget to a Confluence page, and configure it to have multiple quick filters !add.png! # Click save and the Error will appear !error.png! The following error will appear on the logs: {noformat:title=atlassian-jira.log} 2013-05-19 23:33:55,607 http-bio-8524-exec-22 ERROR admin 1413x1677x1 eieut8 127.0.0.1 /rest/greenhopper/1.0/xboard/work/allData.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "4,3" at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider$QueryParamInjectable.getValue(QueryParamInjectableProvider.java:74) at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$EntityParamInInvoker.getParams(DispatchProviderHelper.java:159) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:228) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) <+11> (HttpMethodRule.java:288) (RightHandPathRule.java:147) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) ... Caused by: java.lang.NumberFormatException: For input string: "4,3" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:419) at java.lang.Long.valueOf(Long.java:525) at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) <+4> (StringReaderProviders.java:106) (StringReaderProviders.java:66) (CollectionStringReaderExtractor.java:68) (QueryParamInjectableProvider.java:72) ... 143 more {noformat} *Note:* * No error is recorded on the Confluence log. * Tested with Confluence 4.3.7 and JIRA 5.2.4

    Atlassian JIRA | 4 years ago | Immanuel Siagian [Atlassian]
    com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "4,3"
  2. 0

    h4. Steps to replicate: # Add the GH Wallboard Gadget to Confluence (through the External Gadgets on Confluence Administration) # Add the GH Wallboard Gadget to a Confluence page, and configure it to have multiple quick filters !add.png! # Click save and the Error will appear !error.png! The following error will appear on the logs: {noformat:title=atlassian-jira.log} 2013-05-19 23:33:55,607 http-bio-8524-exec-22 ERROR admin 1413x1677x1 eieut8 127.0.0.1 /rest/greenhopper/1.0/xboard/work/allData.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "4,3" at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider$QueryParamInjectable.getValue(QueryParamInjectableProvider.java:74) at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$EntityParamInInvoker.getParams(DispatchProviderHelper.java:159) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:228) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) <+11> (HttpMethodRule.java:288) (RightHandPathRule.java:147) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) ... Caused by: java.lang.NumberFormatException: For input string: "4,3" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:419) at java.lang.Long.valueOf(Long.java:525) at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) <+4> (StringReaderProviders.java:106) (StringReaderProviders.java:66) (CollectionStringReaderExtractor.java:68) (QueryParamInjectableProvider.java:72) ... 143 more {noformat} *Note:* * No error is recorded on the Confluence log. * Tested with Confluence 4.3.7 and JIRA 5.2.4

    Atlassian JIRA | 4 years ago | Immanuel Siagian [Atlassian]
    com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "4,3"
  3. 0

    atlassianlabs / jira-threaded-comments / issues / #4 - Error in JIRA 6.0 logs — Bitbucket

    bitbucket.org | 4 months ago
    com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "undefined"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Any validation script set for components field, e.g. {code}String str = "1"{code} produced java.lang.NumberFormatException: null when issue is being moved to another type or project. /rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/runvalidator.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NumberFormatException: null at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java_lang_Long$parseLong.call(Unknown Source) at com.onresolve.jira.groovy.BehaviourManagerImpl.runValidator(BehaviourManagerImpl.groovy:106) at sun.reflect.GeneratedMethodAccessor1873.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at com.onresolve.jira.groovy.BehaviourManagerImpl.runValidator(BehaviourManagerImpl.groovy:88) at com.onresolve.jira.behaviour.restservice.MessageResource.runValidator(MessageResource.java:75) at sun.reflect.GeneratedMethodAccessor1872.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

    JIRA | 3 years ago | Jaroslaw L.
    com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: ""
  6. 0

    [JRA-30882] Time Since Chart Gadget shows an error after saving date custom field in Date Field - Atlassian JIRA

    atlassian.com | 7 months ago
    com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "undefined"

    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. com.sun.jersey.api.ParamException$QueryParamException

      java.lang.NumberFormatException: For input string: "4,3"

      at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider$QueryParamInjectable.getValue()
    2. Jersey
      InjectableValuesProvider.getInjectableValues
      1. com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider$QueryParamInjectable.getValue(QueryParamInjectableProvider.java:74)
      2. com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)
      2 frames
    3. com.atlassian.plugins
      DispatchProviderHelper$ResponseOutInvoker._dispatch
      1. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$EntityParamInInvoker.getParams(DispatchProviderHelper.java:159)
      2. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:228)
      2 frames