This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | AssertionError at com.sun.tools.javac.util.Assert.error | ||
---|---|---|---|
Product: | java | Reporter: | _ gtzabari <gtzabari> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dusty, everflux, gtzabari, jasonec, jiriprox, jomu, markiewb, misterm, muellermi, vadimfg, wissenstein |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 222309 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
_ gtzabari
2016-01-30 08:45:59 UTC
Created attachment 158304 [details]
stacktrace
Created attachment 158438 [details]
stacktrace
AE when opening java file
Created attachment 158439 [details]
stacktrace
AE when invoking code completion in following file:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication32;
import java.util.Set;
import java.util.stream.IntStream;
/**
*
* @author jprox
*/
public class NewClass {
public void n() {
Set<Integer> values = IntStream.range(1, 5).map(value -> {
return 5;
}.
collect(Collectors.toSet());
}
}
Created attachment 158617 [details]
stacktrace
editing source file
Created attachment 159584 [details]
stacktrace
edit Java source
Created attachment 159585 [details]
stacktrace
invoke autocompletion (ctrl+space)
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222309 Created attachment 162060 [details]
stacktrace
Codecompletion
Created attachment 162061 [details]
stacktrace
Codecompletion while errors in lambda
Collections.sort(list, (x, y) -> x.getGasRate().compareTo(y.getGasRate()))
//Remark: getGasRate() is a double, which leads to this error
Created attachment 162792 [details]
stacktrace
Code completion
Created attachment 164360 [details]
stacktrace
worked on a vertx java project
Increased priority because this issue prevents Netbeans from interacting with classes that cannot be parsed. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/fcf7f2a2d07a http://hg.netbeans.org/main/nb-javac/rev/27bc3a018e4b Integrated into 'main-silver', will be available in build *201706130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fcf7f2a2d07a User: Dusan Balek <dbalek@netbeans.org> Log: Issue #257772 - AssertionError at com.sun.tools.javac.util.Assert.error - fixed. |