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 210084 - Inspect window is always empty
Summary: Inspect window is always empty
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 10:01 UTC by Jiri Prox
Modified: 2012-12-13 12:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2012-03-26 10:01:20 UTC
The result window for Source->Inspect is always empty, even when there is code in the editor which should be reported.

Steps to reproduce:
1) in the editor type
    public void test(int x) {
        x = x + 1;
        System.out.println(x);
    }

2) go to Source-> Inspect
3) run single inspection 'Assignment replaceable with operator-assignment'

-> result is empty window

This is probably Mac specific, on Win 7 it works fine


Product Version         = NetBeans IDE Dev (Build 201203250401) (#f5fcf52d9346)
  Operating System        = Mac OS X version 10.7.3 running on amd64
  Java; VM; Vendor        = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b16; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_04-ea-b15
  Java Home               = /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /Users/tester
  Current Directory       = /Applications/NetBeans/NetBeans Dev 201203250401.app/Contents/MacOS
  User Directory          = /Users/tester/Library/Application Support/NetBeans/dev
  Cache Directory         = /Users/tester/Library/Caches/NetBeans/dev
Comment 1 Jan Lahoda 2012-03-28 06:51:03 UTC
#210084 (partial): must read out the values from the RunAnalysisPanel before disabling the components.
http://hg.netbeans.org/main-silver/rev/fa54cdec08df
#210084 (partial): handling of single warning id in java.hints.
http://hg.netbeans.org/main-silver/rev/0a1f856f30b4
Comment 2 Jiri Prox 2012-03-28 06:58:09 UTC
Ok, there is no need to fill another bug, let's use this.
Thanks for evaluation
Comment 3 Jiri Prox 2012-12-13 12:55:06 UTC
v.