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.
JavaFX_NB_Plugin_Franca_NB_65_fixes_installer: #38 Jan 23, 2009 12:39:08 AM Product Version = NetBeans IDE 6.5 (Build 200901221801) Operating System = Mac OS X version 10.5.6 running on i386 Java; VM; Vendor = 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133; Apple Inc. Steps to reproduce: - Create a JavaFX Script project - Enable the preview for the Main file - Edit the Text content - Press Enter in the file Preview shows nothing Preview output: Jan 23, 2009 9:38:42 PM org.netbeans.modules.javafx.preview.CodeUtils run WARNING: mainClass for preview is null!
Created attachment 76178 [details] IDE log file
It works perfectly on my Windows and I have currently no access to a Mac machine. Could you verify when it happens, what conditions are necessary to reproduce, etc... Thank, you
It is reproduced from time to time. I see the AssertionError when it happens: java.lang.AssertionError: Filling jar:file:/C:/Program%20Files/NetBeans%206.5/javafx2/javafx-sdk/lib/desktop/rt15.jar!/java/lang/Class.class during jar:file:/C:/Program%20Files/NetBeans%206.5/javafx2/javafx-sdk/lib/shared/javafxc.jar!/com/sun/javafx/runtime/InitHelper.class at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1864) at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1807) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:400) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:777) at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1981) at com.sun.tools.javafx.comp.JavafxClassReader.complete(JavafxClassReader.java:432) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:400) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:777) at com.sun.tools.javafx.comp.JavafxClassReader$2.getEnclosingType(JavafxClassReader.java:317) at com.sun.tools.javac.code.Type$ClassType.toString(Type.java:589) at org.netbeans.api.javafx.editor.FXSourceUtils.typeToString(FXSourceUtils.java:141) at org.netbeans.api.javafx.editor.FXSourceUtils.executableElementToString(FXSourceUtils.java:216) at org.netbeans.modules.javafx.navigation.ElementScanningTask.element2description(ElementScanningTask.java:307) at org.netbeans.modules.javafx.navigation.ElementScanningTask.addMembers(ElementScanningTask.java:237) at org.netbeans.modules.javafx.navigation.ElementScanningTask.run(ElementScanningTask.java:126) at org.netbeans.modules.javafx.navigation.ElementScanningTask.run(ElementScanningTask.java:77) [catch] at org.netbeans.modules.javafx.source.scheduler.CompilationJob.run(CompilationJob.java:200) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
It seems to be similar to issue #157623 probably compiler problems again
Compiler issue JFXC-2726 AssertionError: Filling jar:file:/javafxc.jar!/com/sun/javafx/functions/Function0.class during InstantiationException.class http://javafx-jira.kenai.com/browse/JFXC-2726
preview has been removed
verified in JavaFX_NB_651_Plugin: #70 20-Mar-2009 20:36:54