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 140423 - [65cat] Project view not correctly refreshing (after Fitness Via Laziness ?)
Summary: [65cat] Project view not correctly refreshing (after Fitness Via Laziness ?)
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/analyt...
Keywords:
: 140119 140619 141963 142007 142080 142313 142340 143555 144068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-16 22:31 UTC by _ theanuradha
Modified: 2009-09-17 14:50 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot (89.78 KB, image/png)
2008-07-16 22:46 UTC, _ theanuradha
Details
after (mouse wheel) scrolling (111.25 KB, image/png)
2008-07-30 15:24 UTC, _ alexlamsl
Details
after simply waiting for a few moments (103.30 KB, image/png)
2008-07-30 15:25 UTC, _ alexlamsl
Details
No Luck :S (69.79 KB, image/png)
2008-07-31 11:21 UTC, _ alexlamsl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ theanuradha 2008-07-16 22:31:48 UTC
[ JDK VERSION : 1.6.0_07 ]

[core] Project view not correctly refreshing (after Fitness Via
Laziness ?)

There are many user cases 

User case 1;
  Steps
    1. Open many projects may be 10 or 12
    2. Now close 5 or 7 projects among them 

   now You see colsed projects still open and missing open once
(refresh error or incorrect render of nodes )

User case 2;
  Steps
    1. delete some resources and add to project/files /favorite views
    incorrect render of nodes 

plesase see screen shot for details
Comment 1 _ theanuradha 2008-07-16 22:46:03 UTC
Created attachment 64776 [details]
screen shot
Comment 2 Jaroslav Tulach 2008-07-17 13:50:26 UTC
I've seen this on my build from 080716 as well.
Comment 3 Jaroslav Tulach 2008-07-17 18:19:19 UTC
Changeset:   90379:8027842efbc0
tag:         tip
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Thu Jul 17 19:18:07 2008 +0200
summary:     #140423: Do not initialize nodes when they are being removed
Comment 4 Jaroslav Tulach 2008-07-17 22:07:13 UTC
*** Issue 140119 has been marked as a duplicate of this issue. ***
Comment 5 Lukas Hasik 2008-07-18 10:08:09 UTC
*** Issue 140619 has been marked as a duplicate of this issue. ***
Comment 6 _ theanuradha 2008-07-24 12:04:01 UTC
Build: NetBeans IDE Dev (Build 080723)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows XP, 5.1, x86

User Comments: 
When I cut class from one package to anther. Paste package was did not expanded when I paste it

I can reproduce this with project that has may packages and classes 
hope this help 

Stacktrace: 
java.lang.NullPointerException
        at com.sun.java.swing.plaf.windows.WindowsTreeUI.ensureRowsAreVisible(WindowsTreeUI.java:74)
        at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2213)
        at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2196)
        at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2154)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3516)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(BasicTreeUI.java:3502)
Comment 7 _ theanuradha 2008-07-24 12:06:12 UTC
Steps :
  1.Open Project with that has may packages and classes 
  2.pick class from package and cut it (move)
  3. paste it on other package that you still not expand 
  4 try open pasted package BOOM
       
Comment 8 _ theanuradha 2008-07-24 12:06:28 UTC
Steps :
  1.Open Project with that has many packages and classes 
  2.pick class from package and cut it (move)
  3. paste it on other package that you still not expand 
  4 try open pasted package BOOM
       
Comment 9 Jaroslav Tulach 2008-07-24 12:09:32 UTC
Not P1 anymore.
Comment 10 Jaroslav Tulach 2008-07-25 09:47:36 UTC
I have written NavigationLazyTreeViewTest to reproduce the problem:
http://hg.netbeans.org/laziness/rev/23ffa2f5042b
Tomáši, as far as I know, you are working on this by not returning VisualizerNode.EMPTY, but some real visualizer, 
aren't you?
Comment 11 t_h 2008-07-25 13:13:05 UTC
Fixed in ffc13d8cea6b.
Comment 12 _ alexlamsl 2008-07-28 14:41:50 UTC
http://statistics.netbeans.org/analytics/detail.do?id=76273 (#140119)

Product Version: NetBeans IDE Dev (Build 200807251401)
Java: 1.6.0_04; Java HotSpot(TM) Server VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Just wondering if I am testing with a version prior to the patch or not...
Comment 13 _ alexlamsl 2008-07-30 15:22:52 UTC
I really start to doubt whether this is fixed yet...

Product Version: NetBeans IDE Dev (Build 200807290201)
Java: 1.6.0_04; Java HotSpot(TM) Server VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Comment 14 _ alexlamsl 2008-07-30 15:24:23 UTC
Created attachment 66069 [details]
after (mouse wheel) scrolling
Comment 15 _ alexlamsl 2008-07-30 15:25:11 UTC
Created attachment 66071 [details]
after simply waiting for a few moments
Comment 16 t_h 2008-07-30 15:32:10 UTC
Can check please if you can reproduce this problem with:
http://deadlock.netbeans.org/hudson/job/laziness/103/artifact/nbbuild/NetBeans-dev-080730.zip
Comment 17 Roman Mostyka 2008-07-31 09:53:20 UTC
*** Issue 142340 has been marked as a duplicate of this issue. ***
Comment 18 t_h 2008-07-31 10:09:43 UTC
I was able to reproduce, still investigating, probably problem with GC
Comment 19 _ alexlamsl 2008-07-31 11:21:44 UTC
Created attachment 66155 [details]
No Luck :S
Comment 20 _ alexlamsl 2008-07-31 11:22:36 UTC
Reproduced.


Product Version: NetBeans IDE Dev (Build 200807310201)
Java: 1.6.0_04; Java HotSpot(TM) Server VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Comment 21 t_h 2008-07-31 13:35:16 UTC
Fixed in ec22e8a226cb
Comment 22 t_h 2008-07-31 13:36:37 UTC
*** Issue 141963 has been marked as a duplicate of this issue. ***
Comment 23 t_h 2008-07-31 13:38:15 UTC
*** Issue 142007 has been marked as a duplicate of this issue. ***
Comment 24 t_h 2008-07-31 13:48:04 UTC
*** Issue 142313 has been marked as a duplicate of this issue. ***
Comment 25 t_h 2008-07-31 13:48:16 UTC
*** Issue 142313 has been marked as a duplicate of this issue. ***
Comment 26 Quality Engineering 2008-08-01 04:10:37 UTC
Integrated into 'main-golden', available in build *200808010201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/ec22e8a226cb
User: Tomas Holy <t_h@netbeans.org>
Log: VisualizerChildren were GCed while still in use. Should resolve painting problems #140423, and also #142370.
Comment 27 rajivderas 2008-08-05 09:24:11 UTC
Tryed to open the server node in the service explorer window
Comment 28 t_h 2008-08-05 10:31:47 UTC
Can you provide more details? Screenshot, steps to reproduce...
Comment 30 Nitya Doraisamy 2008-08-06 23:21:58 UTC
*** Issue 142080 has been marked as a duplicate of this issue. ***
Comment 31 Marian Mirilovic 2008-08-08 13:23:50 UTC
NPE is thrown again and again after expanding Source Packages node in Projects view, reproducible in Beta :

Product Version: NetBeans IDE 6.5 Beta (Build 200808080301)
Java: 1.6.0_10-rc; Java HotSpot(TM) 64-Bit Server VM 11.0-b13
System: Linux version 2.6.24-19-generic running on amd64; UTF-8; en_US (nb)

I have opened one project (:pserver:xyz@beetle.czech.sun.com:/cvs  
dashboards/SatisfactionSurvayCharts )
Comment 32 t_h 2008-08-14 18:10:49 UTC
It was reproduced or it is reproducible?
Comment 33 Vince Kraemer 2008-08-14 18:26:16 UTC
*** Issue 143555 has been marked as a duplicate of this issue. ***
Comment 34 Petr Chytil 2008-08-18 09:15:50 UTC
*** Issue 144068 has been marked as a duplicate of this issue. ***
Comment 35 t_h 2008-09-02 15:48:28 UTC
Possibly fixed by dc5f196bd32f. All reports are from 11.8. or older => closing as fixed. Please reopen if problem occurs
in latest builds.
Comment 36 emiddio 2008-09-03 20:05:22 UTC
this is nb6.5beta -- not Milestone2 -- where i got the error classified as a duplicate.
Comment 37 _ alexlamsl 2008-09-04 23:13:14 UTC
NetBeans 6.5 beta isn't the latest build, or is it?

I have been using the nightly builds for the past week, and I have not encounter the issue thus far.

Would you like to verify this on the latest dev build?
Comment 38 t_h 2008-09-05 09:52:20 UTC
Yes, I meant dev. (nightly) builds not 6.5 beta, please verify.
Comment 39 adam_myatt 2008-10-07 20:18:43 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810031942)
Comment 40 adam_myatt 2008-10-07 20:19:48 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810031942)
Comment 41 adam_myatt 2008-10-07 20:20:19 UTC
Just received this problem in Oct 03 build 200810031942. Marking as 'Reopen Issue' per instructions below if issue 
occurs in new build.
Comment 42 t_h 2008-10-07 20:43:33 UTC
This error was caused by #148168 which you received before.
Comment 43 ulfzibis 2008-10-11 14:35:35 UTC
Not fixed in 200810090201.
Comment 44 t_h 2008-10-11 14:47:40 UTC
Please try newer build where your previous (#148168) was fixed.
Comment 46 Marian Mirilovic 2009-06-05 23:07:30 UTC
*** Issue 166511 has been marked as a duplicate of this issue. ***
Comment 47 Antonin Nebuzelsky 2009-06-10 13:00:32 UTC
As discussed with t_h, this issue is really fixed and the new exception reports can be related to any usage of a tree in
the product. Closing as fixed again and reopening the other issue...