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 235736 - Opening help does not work correctly in refactoring dialog
Summary: Opening help does not work correctly in refactoring dialog
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 235880 236074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-10 07:27 UTC by Jiri Prox
Modified: 2013-09-27 02:10 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (4.29 KB, text/plain)
2013-09-18 09:18 UTC, williambacchi
Details
stacktrace (4.36 KB, text/plain)
2013-09-20 13:00 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-09-10 07:27:33 UTC
Opening help does not work correctly in refactoring dialogs. It opens last opened help page.

Steps to reproduce:
1) open help for Editor (just press F1 in editor)
2) open Rename dialog and press F1
-> help for java editor is opened. 
3) close it and press Help button
-> now the correct page is shown
4) open Copy refactoring dialog and press F1
-> page for Rename is opened



Product Version: NetBeans IDE 7.4 RC1 (Build 201309040918)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4rc1
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4rc1
Comment 1 Ralph Ruijs 2013-09-10 21:26:04 UTC
changeset   : 6a9e4bb08e9b
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Tue Sep 10 23:19:28 PDT 2013
summary     : #235736 - Opening help does not work correctly in refactoring dialog
Comment 2 Marek Fukala 2013-09-12 12:58:13 UTC
Ralph, please consider adding a null check for the getHelpContext() value. See  Bug 235875 - NullPointerException at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog
Comment 3 Ralph Ruijs 2013-09-12 16:15:56 UTC
*** Bug 235880 has been marked as a duplicate of this bug. ***
Comment 4 Ralph Ruijs 2013-09-17 20:29:16 UTC
*** Bug 236074 has been marked as a duplicate of this bug. ***
Comment 5 williambacchi 2013-09-18 09:18:05 UTC
Created attachment 140202 [details]
stacktrace

refactoring: rename a html file
Comment 6 Exceptions Reporter 2013-09-19 20:12:09 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203812
Comment 7 Petr Jiricka 2013-09-20 13:00:11 UTC
Created attachment 140298 [details]
stacktrace

Renaming a HTML file
Comment 8 Ralph Ruijs 2013-09-25 08:30:58 UTC
(In reply to Marek Fukala from comment #2)
> Ralph, please consider adding a null check for the getHelpContext() value.
> See  Bug 235875 - NullPointerException at
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog

Sorry, should be fixed by:

changeset   : fd5abde6e898
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Wed Sep 25 10:28:42 CEST 2013
summary     : #235736 - Opening help does not work correctly in refactoring dialog
Comment 9 Quality Engineering 2013-09-27 02:10:55 UTC
Integrated into 'main-silver', will be available in build *201309270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fd5abde6e898
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #235736 - Opening help does not work correctly in refactoring dialog