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_promoted_SDK_installer: JavaFX SDK Promoted Build b04 Product Version = NetBeans IDE 6.5 (Build 200901261801) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script project - Enable the Preview - Delete the text contente Sometimes AssertionError is thrown: java.lang.AssertionError: Filling jar:file:/C:/Program%20Files/NetBeans%206.5/javafx2/javafx-sdk/lib/shared/javafxc.jar!/com/sun/javafx/functions/Function0.class during jar:file:/C:/Program%20Files/NetBeans%206.5/javafx2/javafx-sdk/lib/desktop/rt15.jar!/java/lang/InstantiationException.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.code.JavafxTypes.isCompoundClass(JavafxTypes.java:228) at com.sun.tools.javafx.code.JavafxTypes.asSuper(JavafxTypes.java:168) at com.sun.tools.javac.code.Types.unboxedType(Types.java:2723) at com.sun.tools.javafx.comp.JavafxToJava.convertTranslated(JavafxToJava.java:446) at com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:543) at com.sun.tools.javafx.comp.JavafxToJava.translateAsValue(JavafxToJava.java:548) at com.sun.tools.javafx.comp.JavafxToJava.translateDefinitionalAssignmentToValueArg(JavafxToJava.java:1277) at com.sun.tools.javafx.comp.JavafxToJava.access$100(JavafxToJava.java:66) at com.sun.tools.javafx.comp.JavafxToJava$NewInstanceTranslator.translateInstanceVariableInit(JavafxT
Created attachment 76346 [details] IDE log file
Created attachment 76347 [details] Preview output
This looks like compiler issue. Anyone knows what does it mean: "java.lang.AssertionError: Filling" ?
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
This is one of the reason to drop preview. It is a side effect of background FX execution to emulate the preview. How frequently this happens?
It happens from time to time. There is one more exception: java.lang.AssertionError: Filling jar:file:/C:/Documents%20and%20Settings/andromeda/.netbeans/6.5/javafx-sdk/lib/desktop/rt15.jar!/java/lang/Class.class during jar:file:/C:/Documents%20and%20Settings/andromeda/.netbeans/6.5/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) 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) [catch] at java.lang.Thread.run(Thread.java:619)
One more issue: java.lang.AssertionError: Filling jar:file:/C:/Documents%20and%20Settings/andromeda/.netbeans/6.5/javafx-sdk/lib/shared/javafxc.jar!/com/sun/javafx/runtime/InitHelper.class during jar:file:/C:/Documents%20and%20Settings/andromeda/.netbeans/6.5/javafx-sdk/lib/desktop/rt15.jar!/java/lang/Class$EnclosingMethodInfo.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.code.JavafxTypes.isCompoundClass(JavafxTypes.java:228) at com.sun.tools.javafx.comp.JavafxTranslationSupport.makeTypeTreeInner(JavafxTranslationSupport.java:277) at com.sun.tools.javafx.comp.JavafxTranslationSupport.makeTypeTree(JavafxTranslationSupport.java:268) at com.sun.tools.javafx.comp.JavafxTranslationSupport.makeTypeTree(JavafxTranslationSupport.java:252) at com.sun.tools.javafx.comp.JavafxInitializationBuilder.makeInitializeMethod(JavafxInitializationBuilder.java:709) at com.sun.tools.javafx.comp.JavafxInitializationBuilder.createJFXClassModel(JavafxInitializationBuilder.java:174) at com.sun.tools.javafx.comp.JavafxToJava.visitClassDeclaration(JavafxToJava.java:800) at com.sun.tools.javafx.tree.JFXClassDeclaration.accept(JFXClassDeclaration.java:121) at com.sun.tools.javafx.comp.JavafxToJava.translateGeneric(JavafxToJava.java:487) at com.sun.tools.javafx.comp.JavafxToJava.translate(JavafxToJava.java:508) at com.sun.tools.javafx.comp.JavafxToJava.visitScript(JavafxToJava.java:679) at com.sun.tools.javafx.tree.JFXScript.accept(JFXScript.java:87) at com.sun.tools.javafx.comp.JavafxToJava.translateGeneric(JavafxToJava.java:487) at com.sun.tools.javafx.comp.JavafxToJava.translate(JavafxToJava.java:504) at com.sun.tools.javafx.comp.JavafxToJava.toJava(JavafxToJava.java:663) at com.sun.tools.javafx.main.JavafxCompiler.jfxToJava(JavafxCompiler.java:721) at com.sun.tools.javafx.main.JavafxCompiler.jfxToJava(JavafxCompiler.java:692) at com.sun.tools.javafx.main.JavafxCompiler.compile2(JavafxCompiler.java:777) at com.sun.tools.javafx.main.JavafxCompiler.generate(JavafxCompiler.java:808) at com.sun.tools.javafx.api.JavafxcTaskImpl.generate(JavafxcTaskImpl.java:266) at org.netbeans.api.javafx.source.JavaFXSource.moveToPhase(JavaFXSource.java:325) at org.netbeans.api.javafx.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:131) at org.netbeans.api.javafx.source.CompilationController.toPhase(CompilationController.java:72) at org.netbeans.modules.javafx.preview.PreviewCodeGenerate$1$1.run(PreviewCodeGenerate.java:98) at org.netbeans.modules.javafx.preview.PreviewCodeGenerate$1$1.run(PreviewCodeGenerate.java:97) at org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:491) at org.netbeans.modules.javafx.preview.PreviewCodeGenerate$1.run(PreviewCodeGenerate.java:95) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
preview has been removed
verified in Release651 JavaFX_NB_651_Plugin: #40