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

Summary: Editor shows error on valid code
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: David Strupl <dstrupl>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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