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

jose luis romero edited comment on NETBEANS-2870 at 7/26/19 12:14 PM:
----------------------------------------------------------------------

It began to show up in other cases.

Like by simply replacing a parameter:
{code:java}
new ObjectX(obj.getBigDecimalValue(), obj.getAnotherField());{code}
trying to replace with
{code:java}
new ObjectX(BigDecimal.ZERO,    .....);{code}
typing BigDecimal or BigDecima.ZERO and pressing enter the code typed or 
suggested disappears 


was (Author: firuzzz):
It began to show up in other cases.

Like by simple replacing a parameter:
{code:java}
new ObjectX(obj.getBigDecimalValue(), obj.getAnotherField());{code}
trying to replace with
{code:java}
new ObjectX(BigDecimal.ZERO,    .....);{code}
typing BigDecimal or BigDecima.ZERO and pressing enter the code typed or 
suggested disappears 

> A java.lang.AssertionError exception has occurred
> -------------------------------------------------
>
>                 Key: NETBEANS-2870
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2870
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Code Completion
>    Affects Versions: 11.1
>         Environment: Windows 10
>            Reporter: jose luis romero
>            Priority: Major
>         Attachments: messages.log
>
>
> After pressing CTRL SPACE to get the list on autocomplete on
> {code:java}
> TitularMutual tm = controller.; //between doc and semicolon{code}
> I select one to complete the method name and nothing happens, like if I were 
> pressed ESC instead.
> If I resolve the uncaught exception in the next line (below), the 
> autocomplete works fine
> Complete code case:
>  
> {code:java}
> for (Titulares t : tt) { 
>   TitularMutual tm = controller.; 
>   int plan = contr.determinarPlan(t, tm); //on this line, there is an 
> unreported excep to be catched 
> planes.get(plan).add(t);
>  }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to