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 133957 - Editor shows error on valid code
Summary: Editor shows error on valid code
Status: VERIFIED DUPLICATE of bug 133894
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-25 17:44 UTC by Lark Fitzgerald
Modified: 2008-06-03 10:51 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 Lark Fitzgerald 2008-04-25 17:44:15 UTC
Product Version: NetBeans IDE 6.1 RC2 (Build 200804170002)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Plugin & Samples: CB 182 2008-04-24_17-46-37.zip


Steps:
1. Create weather app
2. open weatherfx.AnimatedImage.fx in the editor
Lines 91-92 show as editor errors but the app runs successfully.

-------
    public function loadImages():Void {
        //System.out.println("Loading images: {baseName}");
        var count = imagesCount - 1;
        if (baseURL <> null) {
>>          images =  for (i in [0..count]) {
>>              CachedImage.getCachedImage("{baseURL}/{baseName}{%03d i}.{extension}");
                /*Image {    
                    url: "{baseURL}/{baseName}{%03d i}.{extension}" 
                }*/
            };    
        }
    }
-------
Comment 1 David Strupl 2008-04-28 09:03:23 UTC
This has already been reported by breh.

It is caused by the fact that the editor error underlining does not yet "see" the other files from the same project.

*** This issue has been marked as a duplicate of 133894 ***
Comment 2 Alexandr Scherbatiy 2008-06-03 10:51:34 UTC
verified