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.
Fixed in http://hg.netbeans.org/cnd-main/rev/cf5999fae340
Integrated into 'main-silver', will be available in build *201410080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cf5999fae340 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #247751 - Provide tooltips and navigation for auto variables
Integrated into 'main-silver', will be available in build *201410090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c37c813e46c9 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #247751 - Provide tooltips and navigation for auto variables -- added expanding of type in tooltip for variables
Integrated into 'main-silver', will be available in build *201410160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b3449e4f57be User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #247751 - Provide tooltips and navigation for auto variables -- added unfolding of auto types
Integrated into 'main-silver', will be available in build *201410170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/73166f5a3f92 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #247751 - Provide tooltips and navigation for auto variables -- tooltips on auto variable and on keyword itself are synchronized
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/35fc92410df5 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #247751 - Provide tooltips and navigation for auto variables -- changed placing of spaces if type has several qualifiers
C++11 code: #include <cstdlib> using namespace std; int main(int argc, char** argv) { auto l = [] () { return 0; }; l(); int a = 1; auto b = a; return 0; } Scenario: - Press Ctrl and move mouse on 'auto' in "auto b = a;" line ==> java.lang.AssertionError: why null item? object BUILT_IN int iof class org.netbeans.modules.cnd.modelimpl.csm.BuiltinTypes$BuiltinImpl in exprexpID=TYPE, result type=auto, token count=1, token0='auto', parm count=0 at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.convertData(CsmCompletionQuery.java:3906) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.access$2500(CsmCompletionQuery.java:162) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$CsmCompletionResult.<init>(CsmCompletionQuery.java:3548) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2580) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1878) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResolvedContext(CsmCompletionQuery.java:830) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResult(CsmCompletionQuery.java:787) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.queryImpl(CsmCompletionQuery.java:570) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.query(CsmCompletionQuery.java:515) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.query(CsmCompletionQuery.java:508) at org.netbeans.modules.cnd.completion.csm.CompletionUtilities.findItemsReferencedAtCaretPos(CompletionUtilities.java:161) at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:465) at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:405) at org.netbeans.modules.cnd.completion.impl.xref.ReferencesSupport.findDeclaration(ReferencesSupport.java:263) at org.netbeans.modules.cnd.completion.cplusplus.hyperlink.CsmHyperlinkProvider.findTargetObject(CsmHyperlinkProvider.java:451) at org.netbeans.modules.cnd.completion.cplusplus.hyperlink.CsmHyperlinkProvider.getTooltipText(CsmHyperlinkProvider.java:583) at org.netbeans.modules.cnd.completion.cplusplus.hyperlink.CsmAbstractHyperlinkProvider.getTooltipText(CsmAbstractHyperlinkProvider.java:235) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$TooltipResolver.getValue(HyperlinkOperation.java:511) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$TooltipResolver.getValue(HyperlinkOperation.java:496) at org.netbeans.modules.editor.NbToolTip$Request.getTooltipFromHighlightingLayers(NbToolTip.java:448) at org.netbeans.modules.editor.NbToolTip$Request.resolveTooltipText(NbToolTip.java:436) at org.netbeans.modules.editor.NbToolTip$Request.run(NbToolTip.java:365) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:420) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:275) at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:117) at org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed(NbEditorKit.java:974) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:337) at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:462) at org.netbeans.editor.ext.ToolTipSupport.updateToolTip(ToolTipSupport.java:564) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:629) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:587) at org.netbeans.editor.ext.ToolTipSupport$Listener.actionPerformed(ToolTipSupport.java:1115) at org.netbeans.editor.WeakTimerListener.actionPerformed(WeakTimerListener.java:88) at javax.swing.Timer.fireActionPerformed(Timer.java:312) at javax.swing.Timer$DoPostEvent.run(Timer.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Fixed in http://hg.netbeans.org/cnd-main/rev/8595c30ebd5b
Integrated into 'main-silver', will be available in build *201411080653* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8595c30ebd5b User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #247751 - Provide tooltips and navigation for auto variables -- fixed assertion in case of hyperlinking to auto type which has built-in type underneath
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/04a61662e027 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #247751 - Provide tooltips and navigation for auto variables (transplanted from cf5999fae3407220fbb152d84fedc72545104f8d)