Hello
In my Application which is based on the Scout plattform (version 5.0.1) i am using the annotation: org.eclipse.scout.commons.annotations.Replace in some places.
A typical code snippet (in a class that extends from: org.eclipse.scout.rt.client.ui.form.AbstractForm) looks like:
@Replace
public class FahrplanFahrzeuggruppenBox extends FahrzeugGruppeGroupBox {
public FahrplanFahrzeuggruppenBox(MainBox.SplitBoxField.DetailTabBox container) {
container.super();
}
.
.
.
In my super class i have the FahrzeugGruppeGroupBox class defined.
My problem:
When trying to access the groupbox as:
getFahrzeugGruppeGroupBox().addPropertyChangeListener("updateDisplayText", new PropertyChangeListener() {
.
.
.
inside an:
@Override
protected void addChangeListeners() {
.
.
.
method in my super class, then I recieve an NullPointerException.
Am I using the annotation wrong or does this annotation not work anymore?
The code has worked, and from what I can see it has gone "broken" by itself and the only thing of relevance that has changed is the verison of Scout framework.
Best regards
Fredrik Möller