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 257261 - NullPointerException at org.netbeans.modules.versioning.ui.history.HistoryComponent$Toolbar.onModeChange
Summary: NullPointerException at org.netbeans.modules.versioning.ui.history.HistoryCom...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 16:20 UTC by zeloras
Modified: 2015-12-25 02:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221807


Attachments
stacktrace (3.38 KB, text/plain)
2015-12-22 16:20 UTC, zeloras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zeloras 2015-12-22 16:20:20 UTC
Build: NetBeans IDE Dev (Build 201512140002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
zeloras: Select in git history diff select




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.ui.history.HistoryComponent$Toolbar.onModeChange(HistoryComponent.java:751)
   at org.netbeans.modules.versioning.ui.history.HistoryComponent$Toolbar.access$1000(HistoryComponent.java:584)
   at org.netbeans.modules.versioning.ui.history.HistoryComponent$Toolbar$1.itemStateChanged(HistoryComponent.java:622)
   at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
   at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
   at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330)
Comment 1 zeloras 2015-12-22 16:20:23 UTC
Created attachment 157891 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-12-23 19:03:59 UTC
fix: http://hg.netbeans.org/core-main/rev/770602290f41
Comment 3 Quality Engineering 2015-12-25 02:20:50 UTC
Integrated into 'main-silver', will be available in build *201512250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/770602290f41
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #257261 - NullPointerException at org.netbeans.modules.versioning.ui.history.HistoryComponent$Toolbar.onModeChange
Wake up local history delegate in getLocalHistory method by force.