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.
Created attachment 136703 [details] messages.log When running Refactor>>Inspect & Transform>>"If-Else Statements Should Use Braces" on the attached Free-Form project, an exception reporter dialog pops up quickly and then goes away. Afterward, the logfile is full of file open warnings and exceptions, due to the encoding, but the user is not made aware of the encoding problem. (See messages.log attachment) When running only Source>>Inspect>>"If-Else Statements Should Use Braces" this does not happen. (See messages-inspect.log attachment) Workaround: Set Project sources encoding to UTF-8 Product Version: NetBeans IDE Dev (Build 201307032300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 136704 [details] inspect-messages.log
Created attachment 136705 [details] Project
I don't think java.hints can do much about this.
changeset : 5307ac118820 author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Wed Jul 24 15:21:40 CEST 2013 summary : #232257 - Inspect & Transform: file open warnings & exception in log not found in Inspect only
Integrated into 'main-silver', will be available in build *201307252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5307ac118820 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #232257 - Inspect & Transform: file open warnings & exception in log not found in Inspect only
Verified fixed in: Product Version: NetBeans IDE Dev (Build 201307252300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)