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 228063

Summary: Can't do "Introduce Variable" refactoring - String concatenation
Product: java Reporter: mclaborn <mclaborn>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: REOPENED ---    
Severity: normal CC: markiewb, ssazonov
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot of problem

Description mclaborn 2013-03-28 20:39:10 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.2.0-39-generic running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04

Screen shot of problem coming shortly. I have a string concatenation.  Selected a few parts of it and tried the "Introduce Variable" refactoring, but received error "Invalid Selection."  I'm quite sure the selection is a valid selection for refactoring.
Comment 1 mclaborn 2013-03-28 20:40:05 UTC
Created attachment 133189 [details]
screen shot of problem
Comment 2 Jiri Prox 2013-04-08 09:28:09 UTC
reproducible
Comment 3 Jan Lahoda 2013-06-14 12:33:03 UTC
*** Bug 231157 has been marked as a duplicate of this bug. ***
Comment 4 Martin Balin 2016-07-07 07:15:59 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 markiewb 2016-07-10 17:00:46 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)