Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7225

Cutoff exception message in StateDescriptor

    XMLWordPrintableJSON

Details

    Description

      When the type extraction fails in the StateDescriptor constructor an exception is thrown, but the message is cutoff and doesn't contain any advice to remedy the situation.

      try {
      			this.typeInfo = TypeExtractor.createTypeInfo(type);
      		} catch (Exception e) {
      			throw new RuntimeException("Cannot create full type information based on the given class. If the type has generics, please", e);
      		}
      

      Attachments

        Activity

          People

            sewen Stephan Ewen
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: