UIMA
  1. UIMA
  2. UIMA-1333

JCasFlow_ImplBase.setJCas() should be deprecated, and this action always done by framework

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      Everytime I create a new FC to use this.getJCas() in the next() method the program crashes because the JCas had not been previously set. Can anyone explain why it is not right to have the framework automatically make the association between flow object and specific CAS whenever a flow object is returned from computeFlow and from newCasProduced methods?

        Activity

        Eddie Epstein created issue -
        Hide
        Marshall Schor added a comment -

        Can this be closed (Eddie)?

        Show
        Marshall Schor added a comment - Can this be closed (Eddie)?
        Hide
        Marshall Schor added a comment -

        Eddie - can you correct or augment the documentation for flow controller to indicate this is now done?

        Show
        Marshall Schor added a comment - Eddie - can you correct or augment the documentation for flow controller to indicate this is now done?
        Marshall Schor made changes -
        Field Original Value New Value
        Summary JCasFlow_ImpleBase.setJCas() should be deprecated, and this action always done by framework JCasFlow_ImplBase.setJCas() should be deprecated, and this action always done by framework
        Marshall Schor made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.3 [ 12312973 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Eddie Epstein
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development