Hi guys,
I’ve installed NetBeans 12.0 to start a new RCP project and I’ve got the
following in the editor window after created a new Action with the NetBeans
wizard.
Anyone else has already got this?
package com.cemit.hcsetup.platform;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.awt.ActionReferences;
import org.openide.awt.ActionRegistration;
import org.openide.util.NbBundle.Messages;
@ActionID(
category = "File",
id = "com.cemit.hcsetup.platform.ConnectAction"
)
@ActionRegistration(
iconBase = "com/cemit/hcsetup/platform/connect.png",
displayName = "#CTL_ConnectAction"
)
@ActionReferences({
@ActionReference(path ="The following has evaluated to null or missing:
==> r.path [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 28]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${r.path()} [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 26]
----"The following has evaluated to null or missing:
==> r.position [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 50,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.position() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 38]
----The following has evaluated to null or missing:
==> r.separatorBefore [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 51,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.separatorBefore() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 50,
column 64]
----The following has evaluated to null or missing:
==> r.separatorAfter [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 52,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.separatorAfter() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 51,
column 85]
----The following has evaluated to null or missing:
==> r.name [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 53,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.name()?length != 0 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 52,
column 82]
----),
@ActionReference(path =
"The following has evaluated to null or missing:
==> r.path [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 28]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${r.path()} [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 26]
----"The following has evaluated to null or missing:
==> r.position [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 50,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.position() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 49,
column 38]
----The following has evaluated to null or missing:
==> r.separatorBefore [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 51,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.separatorBefore() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 50,
column 64]
----The following has evaluated to null or missing:
==> r.separatorAfter [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 52,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.separatorAfter() != -1 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 51,
column 85]
----The following has evaluated to null or missing:
==> r.name [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 53,
column 3]
----
Tip: It's the step after the last dot that caused this error, not those before
it.
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if r.name()?length != 0 [in template
"Templates/NetBeansModuleDevelopment-files/actionListener.java" at line 52,
column
82]
----)
})
@Messages("CTL_ConnectAction=New connection")
public final class ConnectAction implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
// TODO implement action body
}
}
---------------------------------------------------------------------
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