zeleznypa commented on issue #7170:
URL: https://github.com/apache/netbeans/issues/7170#issuecomment-2141808747
It also happens to me.
I have my own custom "Code template" with the following code:
```
/**
* ${PARAMETER newVarName default="Parameter"} getter
*
* @return ${TYPE newVarName default="Parameter"}
*/
protected function get${PARAMETER editable=false}(): ${TYPE
editable=false}
{
return $this->${PROPERTY newVarName default="parameter"};
}
/**
* ${PARAMETER editable=false} setter
*
* @param ${TYPE editable=false} $$${PROPERTY editable=false}
* @return static Provides fluent interface
*/
protected function set${PARAMETER editable=false}(${TYPE editable=false}
$$${PROPERTY editable=false}): static
{
$this->${PROPERTY editable=false} = $$${PROPERTY editable=false};
return $this;
}
```
and with the shortcut "getset".
After some work in the normal PHP file, I wrote "getset" + tab, which
normally generates the proper code. Sometimes in the same file and after some
work, it makes this exception.
[messages.log](https://github.com/user-attachments/files/15512724/messages.log)
Sometimes helps to delete all cache files and restart Netbeans and sometimes
not :(
It starts with this exception about 2 versions before.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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