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.
Summary: | AssertionError at org.netbeans.api.javafx.source.ElementHandle.create | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Unsupported | Assignee: | J Bachorik <yardus> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | lhasik |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 162699 |
Attachments: |
stacktrace
stacktrace |
Description
Alexandr Scherbatiy
2009-11-23 02:42:57 UTC
Created attachment 91506 [details]
stacktrace
Created attachment 91508 [details]
stacktrace
Refactoring the MeadiBox attribute in an object literal throws the same exception: See the exceptio report: http://statistics.netbeans.org/analytics/detail.do?id=162699 Steps to reproduce: - Create New Project ->Samples-> JavaFX -> Media Box sample - Open com.sun.javafx.mediabox.Main file - Go to the 'var mediaBox: MediaBox = MediaBox {' object literal - Refactor -> Rename the mediaSource attaribute to mediaSource2 The xception pops up This is a regression caused by the attempt to fix #176901. It will hit the user whenever trying to rename elements with references in other files. Therefore, I am escalating this issue to P1 and would like to make it 68_HR_FIX_CANDIDATE. Actually, the last provided scenario (renaming mediaSource to mediaSource2) is a different issue. fix delivered http://hg.netbeans.org/javafx/rev/8c0c9d3644fa verified with custom build with the fixes. The issue is not reproduced. However the another issue appeared: java.lang.IllegalArgumentException: fileObject == null at org.netbeans.api.javafx.source.JavaFXSource.forFileObject(JavaFXSource.java:178) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.doProcess(FXErrorAnnotator.java:299) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.access$300(FXErrorAnnotator.java:88) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:301) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:299) at org.netbeans.modules.javafx.source.parsing.LegacyUserTask.run(LegacyUserTask.java:68) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190) Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:192) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99) at org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:247) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.doProcess(FXErrorAnnotator.java:299) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.access$300(FXErrorAnnotator.java:88) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:301) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:299) at org.netbeans.modules.javafx.source.parsing.LegacyUserTask.run(LegacyUserTask.java:68) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) verified with custom build with the fixes Changeset: http://hg.netbeans.org/javafx/rev/8c0c9d3644fa Code reviewed. verified in Product Version: NetBeans IDE 6.8 RC1 (Build 200911252200) |