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 133093 - [Preview] Frame is shown in a separate windows in Frame have attribute declaration
Summary: [Preview] Frame is shown in a separate windows in Frame have attribute declar...
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Oleg Barbashov
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2008-04-17 12:11 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (32.40 KB, text/plain)
2008-04-17 12:12 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-04-17 12:11:26 UTC
Steps to reproduce:

- Create a JavaFX Script file:
------------------------------------------
import javafx.ui.*;

Frame{
    attribute a: String;
    
    content: Label{ text: "Frame2" }
    visible: true
}


------------------------------------------

- Enable the Preview
  The frame is shown in the separated window

  There is a IllegalAccessException in the IDE log file
java.lang.IllegalAccessException: Class org.netbeans.modules.javafx.preview.CodeManager can not access a member of class
javafxapplication1.Main$1Frame$anon1 with modifiers "public final"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
	at java.lang.reflect.Field.doSecurityCheck(Field.java:960)
	at java.lang.reflect.Field.getFieldAccessor(Field.java:896)
	at java.lang.reflect.Field.get(Field.java:358)
	at org.netbeans.modules.javafx.preview.CodeManager.parseJFrameObj(CodeManager.java:231)
Comment 1 Alexandr Scherbatiy 2008-04-17 12:12:16 UTC
Created attachment 60333 [details]
IDE log file
Comment 2 Oleg Barbashov 2008-04-21 11:59:21 UTC
Can't fix on plugin side. 
Comment 3 Alexandr Scherbatiy 2008-04-24 12:04:23 UTC
verified
Comment 4 David Strupl 2011-10-19 12:02:44 UTC
Cleaning bugzilla categories ....