Whitespace Correction step

Issue #976 resolved
Ray Khor created an issue

When using “Whitespace Correction” step, it show following Error Message.

The readMethod for ‘verticalWhitespace' is null.
(Getter maybe not declared or not following Java Bean naming convention?)

OS Platforms:

  1. MacOS 10.15 Catalina
  2. Win 10 + JRE 1.8.0_261

Comments (4)

  1. Chase Tingley

    To reproduce, add the Whitespace Correction step to a pipeline in Rainbow – this is a bug in the UI layer.

    SEVERE: java.lang.NullPointerException: The readMethod for 'verticalWhitespace' is null.
    (Getter maybe not declared or not following Java Bean naming convention?)
        at net.sf.okapi.common.ParameterDescriptor.<init>(ParameterDescriptor.java:80)
        at net.sf.okapi.common.ParametersDescription.add(ParametersDescription.java:68)
        at net.sf.okapi.steps.whitespacecorrection.WhitespaceCorrectionStepParameters.getParametersDescription(WhitespaceCorrectionStepParameters.java:135)
        at net.sf.okapi.common.ui.genericeditor.GenericEditor.createComposite(GenericEditor.java:178)
        at net.sf.okapi.common.ui.genericeditor.GenericEmbeddableEditor.initializeEmbeddableEditor(GenericEmbeddableEditor.java:42)
        at net.sf.okapi.applications.rainbow.pipeline.PipelineEditor.createPanel(PipelineEditor.java:619
    

  2. Log in to comment