What I see in ./applemenu/src/org/netbeans/modules/applemenu/layer.xml is that
the generic action is hidden on macOS:
That's why you are getting a null.
So, there is no API to call that action on macOS as far as I can tell.
This workaround does the
Getting a FastItem exception pretty frequently when there is a syntax error in
another part of the code.
I simply put the dot after the object and up pops the exception. Any thoughts
before I log a JIRA.
***STACK TRACE
Product Version = Apache NetBeans IDE Dev (Build
Den ons 6 juni 2018 kl 14:36 skrev Emilian Bold :
> The actual NPE might help. Maybe you have to create a dummy even and not
> send null to actionPerformed?
>
> If it's reproducible you should report it to the bugtracker
> https://issues.apache.org/jira/projects/NETBEANS/summary
>
> --emi
>
>
Hi,
Actions.forID("Window",
"org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null);
I *think* that I have successfully run the code above on a mac a couple of
years back, but that might have been before they changed their
maximize/full screen handling.
Today I noticed