You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Niklas Matthies (JIRA)" <ji...@apache.org> on 2019/05/20 20:15:00 UTC

[jira] [Created] (NETBEANS-2568) AssertionError upon code completion for IntStream.range(int, int)

Niklas Matthies created NETBEANS-2568:
-----------------------------------------

             Summary: AssertionError upon code completion for IntStream.range(int, int)
                 Key: NETBEANS-2568
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2568
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.0
            Reporter: Niklas Matthies
         Attachments: Test.java, stacktrace.txt

To reproduce: Create a new Java 8 project (e.g. Ant Java Application), add the attached Test.java file in the specified package ("xxxxxxxxxxxxxxxxxxxx") and open it in the editor. Place the cursor behind "Object object = IntStream.", invoke code completion and select range(int. int) in the CC popup. An AssertionError occurs, see the attached stacktrace.

Note that the other variable declarations and method parameters seem to matter, as well as the package name. Renaming or removing some of them causes the error to not occur. The attached source code is a minimal example that I could reproduce the error with (stripped down from a much larger class in production code).

 



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

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

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