[
https://issues.apache.org/jira/browse/NETBEANS-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114743#comment-17114743
]
Boris Heithecker commented on NETBEANS-4365:
--------------------------------------------
I've quick-quecked all the other API support wizards, and the error occurs only
with "Always enabled action" and "Conditionally enabled action". The related
templates are actionListener.javx and contextAction.javx in apisupport.wizards.
The error occurs when the script iterates over a list of @ActionReference items
(<#list REFERENCES as r>) and the reason could be (I''m not sure) that this
list (REFERENCES) contains item objects which are not serializable, (which
freemarker assumes them to be?).
> New Action in Module Development throws Exception in 12.0-beta4
> ---------------------------------------------------------------
>
> Key: NETBEANS-4365
> URL: https://issues.apache.org/jira/browse/NETBEANS-4365
> Project: NetBeans
> Issue Type: Bug
> Components: apisupport - Project
> Affects Versions: 12.0
> Reporter: Boris Heithecker
> Priority: Critical
>
> Steps to reproduce:
> Create an Ant-based NetBeans Module Project
> Add a new Action via New -> Action, fill in the forms, make sure the action
> is registered as a Global Menu Item
> The IDE creates a java file. In place of the Menu Bar registration annotation
> an exception message is printed.
> This bug was not present in 11.3
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists