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.

Bug 267234

Summary: NullPointerException at org.netbeans.modules.editor.NbToolTip.buildTip
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED FIXED    
Severity: normal CC: archmonster, jockel, knives214, muellermi, nleck, paolosca, rpacheco
Priority: P1    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225350
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Exceptions Reporter 2016-07-21 09:13:18 UTC
This bug was originally marked as duplicate of bug 215520, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201607210002)
VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
GUEST: nothing




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:244)
   at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:117)
   at org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed(NbEditorKit.java:984)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
   at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:462)
   at org.netbeans.editor.ext.ToolTipSupport.updateToolTip(ToolTipSupport.java:571)
Comment 1 Exceptions Reporter 2016-07-21 09:13:20 UTC
Created attachment 161359 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-07-21 10:22:07 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=225350
Comment 3 nleck 2016-07-25 07:19:06 UTC
Created attachment 161411 [details]
stacktrace

checkin
Comment 4 muellermi 2016-07-25 12:19:08 UTC
Created attachment 161419 [details]
stacktrace

paused editing
Comment 5 muellermi 2016-07-25 13:58:08 UTC
Created attachment 161429 [details]
stacktrace

Move mous pointer to an at sign @
Seems to be ralated to bug 267235
Comment 6 muellermi 2016-07-25 14:01:41 UTC
because it seems to be related to the P1 bug 267235, I increased priority to the same level.
Comment 7 nleck 2016-07-26 02:28:08 UTC
Created attachment 161438 [details]
stacktrace

nav
Comment 8 Milutin Kristofic 2016-07-26 12:21:21 UTC
This was caused by change in Bug #258786 It was introduced Highlight with attrs set on null. 

This is simple check, I need to discuss about this with Mila.
http://hg.netbeans.org/jet-main/rev/7e07f1dfc0f9
Comment 9 Milutin Kristofic 2016-07-26 12:22:49 UTC
*** Bug 267270 has been marked as a duplicate of this bug. ***
Comment 10 Quality Engineering 2016-07-27 01:50:02 UTC
Integrated into 'main-silver', will be available in build *201607270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7e07f1dfc0f9
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #267234 - NullPointerException at org.netbeans.modules.editor.NbToolTip.buildTip
Comment 11 Svata Dedic 2016-08-10 07:33:58 UTC
*** Bug 267427 has been marked as a duplicate of this bug. ***