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: | NullPointerException at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.addMembers | ||
---|---|---|---|
Product: | java | Reporter: | terje7601 |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | -Silver-, hlovatt, markiewb, mmirilovic, skygo |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 200688 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
terje7601
2014-01-21 19:16:07 UTC
Created attachment 144225 [details]
stacktrace
Created attachment 144697 [details]
stacktrace
I was executing a test case for NetCat.
This is the file content before the error:
package netcat;
public class NetCatTest {
public static void main(String args[]) {
}
public String toString(){
return "Hello";
}
}
I tryed to add an import to test the "unused import" warning mechanism so I wrote:
import javax.
and then hit Enter three times to select the first suggested import.
The ide wrote
import javax.accessibility.Accessible. and then throwed this exception.
Created attachment 144784 [details]
stacktrace
trying autocomplete after open parenthesis during java edition
Property indexProp = new PropertySupport.Reflection<>(place, String.class, "getName", "setName");
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200688 Reproducible Dusan, what do you think ? It's JDK 8 related and we have reproducible case. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/d075d348d00d verified in trunk Integrated into release80. http://hg.netbeans.org/releases/rev/e0b7c8b2246e Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e0b7c8b2246e User: Dusan Balek <dbalek@netbeans.org> Log: Issue #240792: NullPointerException at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.addMembers - fixed. Integrated into 'main-silver', will be available in build *201404240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d075d348d00d User: Dusan Balek <dbalek@netbeans.org> Log: Issue #240792: NullPointerException at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.addMembers - fixed. |