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: | JavafxAttr$BreakAttr Exception typing | ||
---|---|---|---|
Product: | javafx | Reporter: | Lark Fitzgerald <lfitzgerald> |
Component: | Editor | Assignee: | David Strupl <dstrupl> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 146952 | ||
Attachments: |
exception text
Main.fx IDE log file |
Description
Lark Fitzgerald
2008-09-09 21:50:39 UTC
Created attachment 69457 [details]
exception text
Is it a compiler issue? Yes. I am waiting for Jim Idle from the compiler team ... I will ask you (and Lark) to re-test these after I have an indication that these might be fixed from him. What JIRA number is for the compiler issue? There is no special issue for this particular exception - there are several exception in progress as part of JFXC-1117. I will check and let you know ... This is no longer reproducible. After typing var a: in the editor, the editor does show the red box (top right) but it does not throw an exception. The ! says: Sorry, I was trying to understand a type specification but I got confused when I saw '}' Tested using FX Cont trunk build 178 (Sep 10, 2008 4:20:38 PM) on NB6.5: Product Version: NetBeans IDE Dev (Build 20080916) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Tested using FX Cont trunk build 229 with SDK: Product: javafx-1.0dev Platform: windows-i586 Build-Number: 268 Build-ID: 2008-09-22_08-48-19 on NB6.5: Product Version: NetBeans IDE Dev (Build 20080922) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) JavaFX_NB_Plugin_NB65_daily: #297 2008-10-13_02-01-26.zip Product Version = NetBeans IDE Dev (Build 200809151401) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc. - Copy the attached Main.fx code to the editor - Add new line The exception pops up: com.sun.tools.javafx.comp.JavafxAttr$BreakAttr at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:269) at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:293) at com.sun.tools.javafx.comp.JavafxAttr.visitInstanciate(JavafxAttr.java:1464) at com.sun.tools.javafx.tree.JFXInstanciate.accept(JFXInstanciate.java:60) at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:267) at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:293) at com.sun.tools.javafx.comp.JavafxAttr.visitInstanciate(JavafxAttr.java:1464) at com.sun.tools.javafx.tree.JFXInstanciate.accept(JFXInstanciate.java:60) at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:267) at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:303) at com.sun.tools.javafx.comp.JavafxAttr.visitBlockExpression(JavafxAttr.java:1277) at com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:83) at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:267) at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:293) at com.sun.tools.javafx.comp.JavafxAttr.finishFunctionDefinition(JavafxAttr.java:1713) at com.sun.tools.javafx.comp.JavafxMemberEnter$SymbolCompleter.complete(JavafxMemberEnter.java:645) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:400) at com.sun.tools.javafx.comp.JavafxAttr.visitFunctionDefinition(JavafxAttr.java:1515) at com.sun.tools.javafx.tree.JFXFunctionDefinition.accept(JFXFunctionDefinition.java:93) at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:267) at com.sun.tools.javafx.comp.JavafxAttr.attribDecl(JavafxAttr.java:316) at com.sun.tools.javafx.comp.JavafxAttr.attribClassBody(JavafxAttr.java:3504) at com.sun.tools.javafx.comp.JavafxAttr.attribClass(JavafxAttr.java:2598) at com.sun.tools.javafx.comp.JavafxAttr.attribClass(JavafxAttr.java:2553) at com.sun.tools.javafx.main.JavafxCompiler.attribute(JavafxCompiler.java:929) at com.sun.tools.javafx.main.JavafxCompiler.attribute(JavafxCompiler.java:905) at com.sun.tools.javafx.main.JavafxCompiler.attribute(JavafxCompiler.java:892) at com.sun.tools.javafx.api.JavafxcTaskImpl.analyze(JavafxcTaskImpl.java:244) at org.netbeans.api.javafx.source.JavaFXSource.moveToPhase(JavaFXSource.java:269) at org.netbeans.api.javafx.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:132) at org.netbeans.modules.javafx.source.scheduler.CompilationJob.run(CompilationJob.java:186) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) [catch] at java.lang.Thread.run(Thread.java:595) Created attachment 71640 [details]
Main.fx
Created attachment 71641 [details]
IDE log file
Fixed by the compiler team. Tested using FX Cont trunk build 370 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 742, Build-ID: 2008-10-14_19-32-24 on NB6.5: Product Version: NetBeans IDE Dev (Build 200810130704) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) |