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 173843

Summary: NullPointerException at org.netbeans.modules.javafx.refactoring.impl.ui.RenameRefactoringUI.getHelpCtx
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=159595
Issue Type: DEFECT Exception Reporter: 159595
Bug Depends on:    
Bug Blocks: 173077    
Attachments: stacktrace

Description Alexandr Scherbatiy 2009-10-06 10:31:44 UTC
Build: NetBeans IDE Dev (Build 200910030241)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86

User Comments:
sunflower: - Refactor->Rename the Font component in the code:
---------------------------------------------------------------------------------------
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;

/**
 * @author andromeda
 */

Stage {
    title: "Application title"
    width: 250
    height: 80
    scene: Scene {
        content: [
            Text {

                font : Font {
                    size : 16
                }
                x: 10
                y: 30
                content: "Application content"
            }
        ]
    }
}
---------------------------------------------------------------------------------------



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.javafx.refactoring.impl.ui.RenameRefactoringUI.getHelpCtx(RenameRefactoringUI.java:253)
        at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.getHelpCtx(ParametersPanel.java:827)
        at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.<init>(ParametersPanel.java:137)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:568)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:133)
        at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:83)
Comment 1 Alexandr Scherbatiy 2009-10-06 10:31:48 UTC
Created attachment 88889 [details]
stacktrace
Comment 2 J Bachorik 2009-10-07 12:21:38 UTC
Seems to be fixed at the time of http://hg.netbeans.org/javafx/rev/837f9fc199dc
Comment 3 Alexandr Scherbatiy 2009-10-09 10:56:33 UTC
verified in netbeans-trunk-nightly-200910080418-javafx-full.zip