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 150667 - Test files in project pane doesn't show error marks thought build fails
Summary: Test files in project pane doesn't show error marks thought build fails
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 121950
  Show dependency tree
 
Reported: 2008-10-19 23:18 UTC by telespalla_filone
Modified: 2009-11-02 10:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test Project (15.68 KB, application/x-compressed)
2008-10-20 20:04 UTC, telespalla_filone
Details
Screenshot (105.77 KB, image/png)
2008-10-20 20:05 UTC, telespalla_filone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description telespalla_filone 2008-10-19 23:18:44 UTC
Hi, in my java application project, test file tree in project explorer pane doesn't show any compilation error mark even
thought files are not correct. I noticed that if I open an incorrect file in java editor, make some changes (like adding
blank spaces) and save it the red mark appears as expected on changed file. Is this a known behaviour?
PS: I have only one project open at a time.
Thanks for help

Filippo Mariotti

OS: Linux Fedora 9 (2.6.26.5-45.fc9.i686.PAE)
Java: build 1.6.0_07-b06
Netbeans: Dev 200810171401
Comment 1 Jaromir Uhrik 2008-10-20 07:45:44 UTC
I cannot reproduce in the following config:
Product Version: NetBeans IDE Dev (Build 200810171401)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)

Could you please provide steps to reproduce (if it is 100% reproducible) and also attach screenshot.
Thanks.
Comment 2 telespalla_filone 2008-10-20 20:02:17 UTC
Sure, I created a simple project. You can find attached here. Open with NB, and compile everything (shift-F11 and F9).
It should be fine. Now replace 

public boolean   MyMethod(String message)
    {
        //  do something
        message.substring(0);

        return true;
    }

in MyClass.java

with

public int   MyMethod(String message)
    {
        //  do something
        message.substring(0);

        return 0;
    }

As expected if you save all and execute F9 to build the tests it should give you an error. After doing that the
situation in my IDE is like the screenshot attached. I should see the red mark on MyClassTest.java in the project
explorer pane. But it appear only after I change and save MyClassTest.java file.
Let me know if you need more info and thanks for your time.
Regards

Filippo Mariotti 
Comment 3 telespalla_filone 2008-10-20 20:04:33 UTC
Created attachment 72302 [details]
Test Project
Comment 4 telespalla_filone 2008-10-20 20:05:33 UTC
Created attachment 72303 [details]
Screenshot
Comment 5 Jiri Prox 2008-10-21 10:21:57 UTC
Maybe duplicate of issue 147000
Comment 6 telespalla_filone 2008-10-21 11:08:02 UTC
May be, but in this case waiting is not a solution. Even after a long time the error mark doesn't appear. It require a
new Save to refresh the file status.

Filippo
Comment 7 telespalla_filone 2008-12-07 11:37:54 UTC
Any news?
regards

Filippo Mariotti
Comment 8 Rastislav Komara 2009-02-03 10:56:41 UTC
Overtake.
Comment 9 Rastislav Komara 2009-03-24 15:21:16 UTC
the problem is not same as issue #147000 but similar. 
Comment 10 Rastislav Komara 2009-03-24 15:24:54 UTC
Adding into umbrella issue.
Comment 11 David Strupl 2009-03-31 15:57:47 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 12 Quality Engineering 2009-11-02 10:59:29 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX