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 20120311-209c662b6f6a) VM: Java HotSpot(TM) Client VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11 OS: SunOS User Comments: vv159170: working in IDE Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask$HintPositionRefresherHelper.access$100(HintsTask.java:190) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:126) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:83) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:558) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:734)
Created attachment 116545 [details] stacktrace
Created attachment 116549 [details] stacktrace
got it after opening a file and now it's shown on almost any click withing the file
Created attachment 116560 [details] stacktrace it's almost impossible to work with classes
Created attachment 116561 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=185750
Created attachment 116567 [details] stacktrace Editing a java flie.
Created attachment 116568 [details] stacktrace
This occurs because the Java hints SPI uses the following call for initializing a lookup (in IntroduceHint.java and HintsTask.java): MimeLookup.getLookup("text/x-java").lookupAll(PositionRefresherHelper.class); With the recent change to make the collection returned by lookupAll lazily initialized, this call was effectively removed. To get me working again until this gets fixed, I added a call to toArray() to force the returned collection to initialize the elements: MimeLookup.getLookup("text/x-java").lookupAll(PositionRefresherHelper.class).toArray();
Created attachment 116573 [details] stacktrace Started IDE with previously opened files.
Created attachment 116574 [details] stacktrace Opened a Java file.
Created attachment 116583 [details] stacktrace opened file in editor
Created attachment 116585 [details] stacktrace
*** Bug 209449 has been marked as a duplicate of this bug. ***
Created attachment 116586 [details] stacktrace
I apologize for problems, the lookupAll approach is neither nice nor reliable, so I rewrote the code not to use it: http://hg.netbeans.org/jet-main/rev/defd2018d7c4
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=185750
*** Bug 209426 has been marked as a duplicate of this bug. ***
Created attachment 116608 [details] stacktrace Running a platform application
Created attachment 116626 [details] stacktrace
Created attachment 116629 [details] stacktrace Opening and scrolling in source code (nb module project).
Created attachment 116644 [details] stacktrace
*** Bug 209496 has been marked as a duplicate of this bug. ***
Created attachment 116646 [details] stacktrace
Created attachment 116699 [details] Snapshot with exception on Java source file opening Snapshot with exception on Java source file opening
Please, increase spec version of the module, as the spam here will not stop until it is available on UC. Please, don't forget to update dependent modules, if necessary!
I join the request of Peter. Please expedite the release of the patch. A lot of error messages on this bug. In connection with this development is extremely complex.
Created attachment 116701 [details] exception screenshot The exception occurring when I just click on code editor window
Created attachment 116704 [details] stacktrace
Created attachment 116707 [details] stacktrace
Created attachment 116708 [details] stacktrace
Created attachment 116709 [details] stacktrace
Created attachment 116719 [details] stacktrace Switching to the IDE (Alt+Tab)
(In reply to comment #26) > until it is available on UC Remember that in general you need to install fresh development builds; the great majority of changes made during the development cycle are not offered as updates, only those happening to have been made prior to an unrelated API change.
Created attachment 116743 [details] stacktrace
> Remember that in general you need to install fresh development builds; the > great majority of changes made during the development cycle are not offered as > updates, only those happening to have been made prior to an unrelated API > change. If you hadn't mentioned this here, I would never have known. Is this a fact that can be made more prominent?
FYI, this should increase the module versions on the development AUC: http://hg.netbeans.org/jet-main/rev/fd2de48fee8c Would still recommend to download the build rather than updating it from the AUC, though.
In what release have fix for this bug?
(In reply to comment #38) > In what release have fix for this bug? Updated my dev build via UC about 4 hours ago, can confirm it's working now.
The fix is part of daily build 201203130400 and later.
There are no builds 201203130400 and later. Is they a in planning and why do they delayed?
Seems there were/are some technical problems with build upload, the build is here: http://bits.netbeans.org/netbeans/trunk/nightly/2012-03-13_04-00-40/ but is not linked as the lastest one, so is not accessible without the above link. This should resolve once a build is successfully uploaded.
(In reply to comment #42) > Seems there were/are some technical problems with build upload, the build is > here: > http://bits.netbeans.org/netbeans/trunk/nightly/2012-03-13_04-00-40/ > but is not linked as the lastest one, so is not accessible without the above > link. This should resolve once a build is successfully uploaded. Under Mac Os X: Isn't better remove also "/Users/<you_username>/Library/Application\ Support/NetBeans/" ?
Created attachment 116769 [details] stacktrace I switched to an external shell window
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/fd2de48fee8c User: Jan Lahoda <jlahoda@netbeans.org> Log: #209424: pushing fix to update center
Created attachment 117723 [details] stacktrace