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 111913 - Exception when System.out is used but it was not imported
Summary: Exception when System.out is used but it was not imported
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexei Mokeev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 15:08 UTC by Alexandr Scherbatiy
Modified: 2007-09-27 11:37 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 Alexandr Scherbatiy 2007-08-03 15:08:25 UTC
build: M0
NB: 6.0

Steps to reproduce:

- Write the application:
        ===================================================
    import javafx.ui.*;

        Frame{
           width: 200
           height: 200
           content: Button { text: "Press Me"
                            action: operation(){
                                    System.out.println("Hello World!");
                                    }
                    }
        }

        ===================================================
  Note that java.lang.System class is not imported
- Enable the preview
- Press the 'Press Me' button on the application
  The exceptions pops up:
  java.lang.Error: unlinked attribute: System.out
Comment 1 Alexey Butenko 2007-08-30 08:56:15 UTC
Fixed in trunk
Comment 2 Alexandr Scherbatiy 2007-09-27 11:37:52 UTC
Verified in Netbeans 6.0 Beta1 with JavaFX plugin version 1.0.2