java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15"

Atlassian JIRA | Dobroslawa Wierzbicka | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JRA-42038] "Invalid date format" error when releasing a version from browse project page - Atlassian JIRA

    atlassian.com | 2 years ago
    java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15"
  2. 0

    [JRA-42038] "Invalid date format" error when releasing a version from browse project page - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15"
  3. 0

    h6.steps to reproduce # in *JIRA Admin > System > Look and Feel* set the _Day/Month/Year Format_ to a format using spaces, e.g. 'dd MMM yy' # go to the Versions list of any projects, and click *Release* for a Version; # select the release date using the calendar dropdown - it'll be displayed in the default format, e.g. '27/Feb/15' # click *Release* and see the error thrown: {noformat} java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15" java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15" at org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:828) at com.atlassian.jira.datetime.JodaDateTimeFormatter.parse(JodaDateTimeFormatter.java:45) at com.atlassian.jira.datetime.DateTimeDatePickerFormatter.parse(DateTimeDatePickerFormatter.java:34) at com.atlassian.jira.datetime.DateTimeFormatterImpl.parse(DateTimeFormatterImpl.java:54) at com.atlassian.jira.util.DateFieldFormatImpl.parseDatePicker(DateFieldFormatImpl.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) at com.sun.proxy.$Proxy366.parseDatePicker(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56){noformat} h6.workaround Revert the _Day/Month/Year Format_ to the default settings. Or, release the version from project's administration page for version.

    Atlassian JIRA | 2 years ago | Dora Wierzbicka [Atlassian]
    java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h6.steps to reproduce # in *JIRA Admin > System > Look and Feel* set the _Day/Month/Year Format_ to a format using spaces, e.g. 'dd MMM yy' # go to the Versions list of any projects, and click *Release* for a Version; # select the release date using the calendar dropdown - it'll be displayed in the default format, e.g. '27/Feb/15' # click *Release* and see the error thrown: {noformat} java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15" java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15" at org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:828) at com.atlassian.jira.datetime.JodaDateTimeFormatter.parse(JodaDateTimeFormatter.java:45) at com.atlassian.jira.datetime.DateTimeDatePickerFormatter.parse(DateTimeDatePickerFormatter.java:34) at com.atlassian.jira.datetime.DateTimeFormatterImpl.parse(DateTimeFormatterImpl.java:54) at com.atlassian.jira.util.DateFieldFormatImpl.parseDatePicker(DateFieldFormatImpl.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) at com.sun.proxy.$Proxy366.parseDatePicker(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56){noformat} h6.workaround Revert the _Day/Month/Year Format_ to the default settings. Or, release the version from project's administration page for version.

    Atlassian JIRA | 2 years ago | Dobroslawa Wierzbicka
    java.lang.IllegalArgumentException: Invalid format: "27 Feb 15" is malformed at " Feb 15"

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid format: "27 Feb 15" is malformed at " Feb 15"

      at org.joda.time.format.DateTimeFormatter.parseLocalDateTime()
    2. Joda-Time
      DateTimeFormatter.parseLocalDateTime
      1. org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:828)
      1 frame
    3. com.atlassian.jira
      DateFieldFormatImpl.parseDatePicker
      1. com.atlassian.jira.datetime.JodaDateTimeFormatter.parse(JodaDateTimeFormatter.java:45)
      2. com.atlassian.jira.datetime.DateTimeDatePickerFormatter.parse(DateTimeDatePickerFormatter.java:34)
      3. com.atlassian.jira.datetime.DateTimeFormatterImpl.parse(DateTimeFormatterImpl.java:54)
      4. com.atlassian.jira.util.DateFieldFormatImpl.parseDatePicker(DateFieldFormatImpl.java:42)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134)
      1 frame
    6. com.sun.proxy
      $Proxy366.parseDatePicker
      1. com.sun.proxy.$Proxy366.parseDatePicker(Unknown Source)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    8. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    9. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames