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 158888 - Navigator view not updated after change from php file to startpage or text editor
Summary: Navigator view not updated after change from php file to startpage or text ed...
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-02-20 12:23 UTC by ingoreinhart
Modified: 2009-12-06 06:12 UTC (History)
2 users (show)

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 ingoreinhart 2009-02-20 12:23:15 UTC
Hello,

get the error:
1. view some php or .phtml file in editor
2. the navigator view show the correct info
3. change to a text file (editor)
4. navigator view shows the info for the previous php file

correct way (with a css file):
1. view some css file in editor
2. the navigator view show the correct info
3. change to a text file (editor) or startpage
4. navigator view shows the info "no view available" => correct!!!
Comment 1 Filip Zamboj 2009-05-04 17:25:17 UTC
reproduced on bertram build 2009-05-04_15-03-52
Comment 2 rmatous 2009-05-20 12:43:24 UTC
Random, I've never run into this problem so far

PhpStructureScanner impl. doesn't cache anything, so if navigator shows the structure of the previous file then
obviously PhpStructureScanner wasn't called.

Probably affects also other scripting languages
Comment 3 David Strupl 2009-06-08 14:08:36 UTC
Marek, these are yours now ...
Comment 4 mslama 2009-07-15 14:15:17 UTC
Are you able to reproduce it? (Favorably with new dev build) If yes please attach thread dump. It might be duplicate of
issue #168610. In such case Navigator view does not update at all and it is necessary to restart IDE.

I cannot reproduce with PHP files opened in editor from PHP sample AirAliance.

  Product Version         = NetBeans IDE Dev (Build 090715) (#f61e8a311f3f)
  Operating System        = Linux version 2.6.28-13-generic running on i386
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_15-b03
  Java Home               = /usr/java/jdk1.6.0_15/jre
  System Locale; Encoding = en_US (nb); UTF-8
Comment 5 ingoreinhart 2009-12-06 06:11:48 UTC
Retest with Build 200912060200 => works now!