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: | ClassCastException when enable/disable the preview | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Andrey Yamkovoy <kaktus> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexandr Scherbatiy
2007-08-03 15:07:40 UTC
Enable/Disable the preview some times The ClassCastException pops up: java.lang.ClassCastException: org.netbeans.modules.editor.NbEditorDocument cannot be cast to org.netbeans.modules.javafx.editor.JavaFXDocument at org.netbeans.modules.javafx.editor.JavaFXEditorKit$ToggleFXPreviewExecution.actionPerformed(JavaFXEditorKit.java:97) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:266) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) Has to be fixed. Andrey, please check Fixed for Beta1 milestone Verified in Netbeans 6.0 Beta1 with JavaFX plugin version 1.0.2 |