Null pointer on trying to open a screen from a fragment

Im trying to open various screens from within a fragment located on my main screen.

public void onAsfClick(Button.ClickEvent event) {

If I set the openmode to DIALOG it works… but I dont want a dialog… I want this to replace my whole screen.

Thank you for the continued support.

log.txt (4.5 KB)

I had removed the AppWorkArea workArea from the main landing page… I used a component inside that to switch the fragment I needed.