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 8.1 (Build 201510222201) VM: OpenJDK 64-Bit Server VM, 24.85-b03, OpenJDK Runtime Environment, 1.7.0_85-b01 OS: Linux User Comments: GUEST: click on commit id on annotation to view commit info Stacktrace: java.lang.NullPointerException at org.netbeans.modules.git.remote.ui.history.SearchExecutor.appendResults(SearchExecutor.java:248) at org.netbeans.modules.git.remote.ui.history.SearchExecutor.search(SearchExecutor.java:220) at org.netbeans.modules.git.remote.ui.history.SearchExecutor.perform(SearchExecutor.java:198) at org.netbeans.modules.git.remote.client.GitProgressSupport.performIntern(GitProgressSupport.java:115) at org.netbeans.modules.git.remote.client.GitProgressSupport.run(GitProgressSupport.java:108) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Created attachment 157376 [details] stacktrace
Hi, Could you provide an output of command: #git show-ref --tags -d Remote Git relies on this command to create a list of tags. NPE is possible if list does not contain referenced line for some tag (line with ^). Or output of the command is different of such: b2eaccb05d0c3f22174824899c4fd796700e66c6 refs/tags/v2.3.0-rc2 15598cf41beed0d86cd2ac443e0f69c5a3b40321 refs/tags/v2.3.0-rc2^{} Alexander
fixing in enum, change set: 3f8e9e3faafb - avoid NPE if tag referenced object is null.
There is no info about tags command output. So it is possible several variants: - git repository was broken and output contains not matched records. IDE will ignore such tags. - output contains some "unknown for IDE" lines. IDE will ignore tags. - output format is not supported by IDE. IDE will ignore all tags. In any way NPE was fixed.
Integrated into 'main-silver', will be available in build *201511240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3bbe99cfc143 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #256643 - NullPointerException at org.netbeans.modules.git.remote.ui.history.SearchExecutor.appendResults - avoid NPE (transplanted from 3f8e9e3faafbd317611ca60cffba18f11fae3b9a)
Verified in build 20151215.