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 123014 - Incorrect error shown in import
Summary: Incorrect error shown in import
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 21:46 UTC by tfrysinger
Modified: 2008-07-08 13:58 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 tfrysinger 2007-11-28 21:46:23 UTC
Installed NB 6.0 RC2.

Installed JavaFX and Weather App modules.

Created a new project, chose the weather app.

Opened WeatherApp.fx 
Opened Weather.fx
Enabled the Error Detection toggle button.
Got an error (red squiggle and stop sign) in Weather.fx on this line:

  import javafx.ui.UIElement;

the error was: undefined type weatherfx.service.YahooWeatherService....

There is obviously confusion as to what file is currently open.

I flipped back to the WeatherApp.fx tab, and noticed the red squiggle was *not* there. Then I noticed that you have to
toggle on Error Detection for individual files. I did for that file, and saw the error.

Flipping back and forth eventually reconciled which file showed that particular error.
Comment 1 Alexei Mokeev 2008-04-14 13:15:09 UTC
It is unlikely to be related to NB 6.1.
Has to be tested with M2  
Comment 2 Lark Fitzgerald 2008-07-07 21:28:05 UTC
This is no longer reproducible using build:
Product Version: NetBeans IDE 6.1 (Build 200804211638)
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)
fx NB61 continuous plugin: 313
Comment 3 Alexandr Scherbatiy 2008-07-08 13:58:44 UTC
verified