[ 
https://issues.apache.org/jira/browse/NETBEANS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787166#comment-16787166
 ] 

mkhramov commented on NETBEANS-2184:
------------------------------------

Same issue...
*Product Version:* Apache NetBeans IDE Dev (Build 20180616-462079a28a6f)

*Java:* 1.8.0_144; Java HotSpot(TM) 64-Bit Server VM 25.144-b01

*Runtime:* Java(TM) SE Runtime Environment 1.8.0_144-b01

*System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)

 

Steps to reproduce:

Create new maven java project

Create first class ex. model.Model

with next code:


{{    private void add() {}}
{{        }}
{{    }}}

create another class ex. events.ModelAddEvent

add default empty constructor

add another constructor: ModelAddEvent(Model model) {}

 

switch back to first class. Important!!! Do not save ModelAddEvent class.

in the add() method begin to type:

{{new ModelAdd}}

 

and press Ctrl-Space.

The exception is thrown

> Exception while using autoinsertion
> -----------------------------------
>
>                 Key: NETBEANS-2184
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2184
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Alexander
>            Priority: Major
>         Attachments: messages.log
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to