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 179498 - AST for an FX source containing explicit import of java source contains no type info
Summary: AST for an FX source containing explicit import of java source contains no ty...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-01-14 06:11 UTC by Alexandr Scherbatiy
Modified: 2010-02-03 03:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JavaFX project (50.40 KB, application/zip)
2010-01-14 06: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 2010-01-14 06:11:14 UTC
NetBeans-JavaFX-Soma:  #104

  Product Version         = NetBeans IDE Dev (Build 201001131418)
(#4aedc16d0468)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun
Microsystems Inc.


Steps to reproduce:

- Open the attached project
- Go to the model.AttributeModel class
- Refactor->Rename the AttributeModel class to AttributeModel2
- Build the project

C:\Temp\app\JavaFXShell\src\generator\ProjectGenerator.fx:33: cannot find symbol
symbol  : class AttributeModel
location: class generator.ProjectGenerator
        attributes: for(j in [0..M-1]) AttributeModel{
C:\Temp\app\JavaFXShell\src\generator\ProjectGenerator.fx:34: Invalid assignment
            name: "attribute{j}"
2 errors
Comment 1 Alexandr Scherbatiy 2010-01-14 06:12:14 UTC
Created attachment 93285 [details]
JavaFX project
Comment 2 J Bachorik 2010-01-19 05:36:10 UTC
This is caused by ClassNotFoundException deep down in the javafx compiler guts. The compiler needs javax.annotation.processing.ProcessingEnvironment interface to be loaded but it is nowhere to be found since it is imperatively hidden from the javafx.platform module and there is no other active module providing the javax.annotation package.
This is caused by either a change in NB class loading (between 6.8 and trunk) or removing an erroneously published package from some other module.
Comment 3 J Bachorik 2010-01-19 05:41:32 UTC
fixed in http://hg.netbeans.org/javafx/rev/6b71f5af4690
Comment 4 Alexandr Scherbatiy 2010-02-03 03:30:12 UTC
verified in NetBeans-JavaFX-Soma: #141