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.
Build: NetBeans IDE Dev (Build 201304282301) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03 OS: Windows XP User Comments: GUEST: Attemping to add an import using hints jbsabmello: x GUEST: Just trying to edit some Source, playing around with Lambdas. This occured on *every* incomplete Edit, weteher it wsa lambda expression, or otherwise. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.maven.hints.errors.SearchClassDependencyHint.isSearchDialog(SearchClassDependencyHint.java:114) at org.netbeans.modules.maven.hints.errors.SearchClassDependencyInRepo.run(SearchClassDependencyInRepo.java:312) at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:147) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:112) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:58) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
Created attachment 133930 [details] stacktrace
apparently hint.getPreferences(null) is null.. code outside of maven support, reassigning
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200281
Created attachment 133961 [details] stacktrace Changing imports
Created attachment 133963 [details] stacktrace Just editing... (Maven 3; Java-lib)
Created attachment 133988 [details] stacktrace edit java code
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200281
Created attachment 133990 [details] stacktrace Find Usages
Created attachment 133995 [details] stacktrace Typing in the editor
Created attachment 133996 [details] stacktrace Fixing imports
Created attachment 133997 [details] stacktrace typing
Created attachment 134007 [details] stacktrace Opened java file
Created attachment 134017 [details] stacktrace Just editing.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200281
Created attachment 134024 [details] stacktrace Edit java source
Created attachment 134032 [details] stacktrace Attached sources for Parameters.java.
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5696ae677819 User: Jan Lahoda <jlahoda@netbeans.org> Log: #229158: AbstractHint.getPreferences should fallback to global settings when nothing better is available.
An additional fix: http://hg.netbeans.org/main-silver/rev/5d2ea0716368
*** Bug 229391 has been marked as a duplicate of this bug. ***