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 238761

Summary: Failing JavaRefactoringActionsProviderTest
Product: java Reporter: Jiri Skrivanek <jskrivanek>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: VERIFIED FIXED    
Severity: normal Keywords: TEST
Priority: P1    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2013-11-25 12:39:42 UTC
Please, fix failing JavaRefactoringActionsProviderTest. It fails since 201311240002 build. To reproduce:

 ant -k -f refactoring.java test test-generate-html -Dtest.includes=**/JavaRefactoringActionsProviderTest.class

java.lang.NullPointerException
	at org.netbeans.modules.refactoring.java.plugins.InstantRefactoringPerformer.getKeyStrokeAsText(InstantRefactoringPerformer.java:267)
	at org.netbeans.modules.refactoring.java.plugins.InstantRefactoringPerformer.<init>(InstantRefactoringPerformer.java:229)
	at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doInstantRename(RefactoringActionsProvider.java:138)
	at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.invokeInstantRename(RefactoringActionsProvider.java:127)
	at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:97)
	at org.netbeans.modules.refactoring.java.ui.JavaRefactoringActionsProviderTest.test211193(JavaRefactoringActionsProviderTest.java:89)

test4u.cz.oracle.com/view/StableBTD/job/StableBTD-trunk/lastCompletedBuild/testReport/
Comment 1 Ralph Ruijs 2013-11-27 10:36:48 UTC
changeset   : 4c3b72168047
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Wed Nov 27 11:34:22 CET 2013
summary     : #238761 - Instant rename needs a keystroke, do full-rename if one is not configured