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 232257 - Inspect & Transform: file open warnings & exception in log not found in Inspect only
Summary: Inspect & Transform: file open warnings & exception in log not found in Inspe...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 10:16 UTC by MackSix
Modified: 2013-07-26 07:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (102.05 KB, text/plain)
2013-07-04 10:16 UTC, MackSix
Details
inspect-messages.log (37.07 KB, text/plain)
2013-07-04 10:17 UTC, MackSix
Details
Project (3.34 MB, application/zip)
2013-07-04 10:33 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-04 10:16:50 UTC
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)
Comment 1 MackSix 2013-07-04 10:17:30 UTC
Created attachment 136704 [details]
inspect-messages.log
Comment 2 MackSix 2013-07-04 10:33:05 UTC
Created attachment 136705 [details]
Project
Comment 3 Jan Lahoda 2013-07-08 07:49:25 UTC
I don't think java.hints can do much about this.
Comment 4 Ralph Ruijs 2013-07-24 15:15:19 UTC
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
Comment 5 Quality Engineering 2013-07-26 02:48:23 UTC
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
Comment 6 MackSix 2013-07-26 07:39:38 UTC
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)