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

Atlassian JIRA | Sam Haldane | 4 years ago
  1. 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"
  2. 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"
  3. 0

    Typing an invalid notification shows a validation error onblur, but submitting causes the form to disappear, replaced with the message 'The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.'. http://screencast.com/t/4vZ7NWSp39yZ Error in log: {noformat} 2012-08-09 13:25:37,651 http-8080-4 ERROR admin 805x1488x1 1g5j6od 127.0.0.1 /rest/whereismycf/1.0/notifications [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: "undefined" 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) <+10> (HttpMethodRule.java:288) (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) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+28> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (ContextFilter.java:25) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (AccessLogFilter.java:103) (AccessLogFilter.java:87) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:71) <+22> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (SecurityFilter.java:234) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (TrustedApplicationsFilter.java:98) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (BaseLoginFilter.java:157) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) (OAuthFilter.java:71) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+18> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (UrlRewriteFilter.java:738) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (GzipFilter.java:74) (GzipFilter.java:51) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70) <+47> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (JWDSendRedirectFilter.java:25) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (ChainedFilterStepRunner.java:78) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (ActiveRequestsFilter.java:346) (ActiveRequestsFilter.java:463) (ActiveRequestsFilter.java:173) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (JiraStartupChecklistFilter.java:75) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (MultiTenantServletFilter.java:91) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (ChainedFilterStepRunner.java:78) (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) (StandardWrapperValve.java:233) (StandardContextValve.java:191) (StandardHostValve.java:127) (ErrorReportValve.java:102) (StandardEngineValve.java:109) (AccessLogValve.java:554) (CoyoteAdapter.java:298) (Http11AprProcessor.java:864) (Http11AprProtocol.java:579) (AprEndpoint.java:1665) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NumberFormatException: For input string: "undefined" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:410) at java.lang.Long.valueOf(Long.java:525) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at java.lang.reflect.Method.invoke(Method.java:597) <+4> (StringReaderProviders.java:106) (StringReaderProviders.java:66) (StringReaderExtractor.java:62) (QueryParamInjectableProvider.java:72) ... 136 more {noformat}

    Atlassian JIRA | 4 years ago | Sam Haldane
    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

    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"

    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: "undefined"

      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