Uploaded image for project: 'Stripes'
  1. STS-957

Extending DefaultTypeConverterFactory doesn't work anymore

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: Release 1.6
    • Fix Version/s: None
    • Component/s: Validation
    • Labels:
      None
    • Environment:
      wildfly 11
      Java 1.8
    • Sprint:

      Description

      Extending DefaultTypeConverterFactory does not work anymore.
      Works apparently in 1.5.7, but in1.6 the init() gives NullPointerException.

      public class TypeConverterFactory extends DefaultTypeConverterFactory
      {
      public TypeConverterFactory()

      { super(); }

      public void init(Configuration configuration)

      { super.add(LocalDate.class, LocalDateTypeConverter.class); super.add(LocalDateTime.class, LocalDateTimeTypeConverter.class); }

      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cnyee CN Yee
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: