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.
description: java.lang.NullPointerException occurs when trying to add expression System.getProperty to new watch dialog. Expression is thrown right after code completition window appears Attachments: screenshot java -version: 1.5.0_17 nb build 081114 Stack Trace: java.lang.NullPointerException: The cpInfo parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:86) at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:366) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:265) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Created attachment 73905 [details] screenshot
*** This issue has been marked as a duplicate of 153403 ***
no exception thrown anymore