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.

Bug 186070

Summary: 'at' item has typo at the end
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: Karol Harezlak <kharezlak>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 178578    
Attachments: Editor screenshot

Description Alexandr Scherbatiy 2010-05-13 09:40:32 UTC
Steps to reproduce:

- Drag and drop the 'at' item from the Animation category to the editor:

------------------------------------------------
import javafx.animation.Timeline;
import javafx.animation.Interpolator;

var v = 10.0;

Timeline {
	repeatCount: Timeline.INDEFINITE
	keyFrames: [
		at (5s) { v => 100.0 tween Interpolator.LINEAR }
at (5s) {v => 20.0 tween Interpolator.LINEAR}
a             // <-- Typo
	];
}
------------------------------------------------

The is the 'a' symbol at the end of the template

\Main.fx:18: cannot find symbol
symbol  : variable a
location: class javafxapplication2.Main
a
1 error
Comment 1 Alexandr Scherbatiy 2010-05-13 09:42:51 UTC
build netbeans-trunk-nightly-201005122200-javafx-full-windows.exe
Comment 2 Karol Harezlak 2010-05-13 11:30:19 UTC
Could not reproduce it, I slightly changed snippet. Should be fine now.
Comment 3 Alexandr Scherbatiy 2010-05-13 11:33:22 UTC
The problem is not in the Timeline item.
The problem is in the 'at' item:

--------------------------------------------------
at (5s) {value => 20.0 tween Interpolator.LINEAR}
a
--------------------------------------------------
Comment 4 Alexandr Scherbatiy 2010-05-13 11:36:11 UTC
Created attachment 98927 [details]
Editor screenshot
Comment 5 Karol Harezlak 2010-05-13 12:06:56 UTC
Now I can reproduce it, it looks like in same cases at the end of the snippet random letter is added, anyway should be fine now,

fixed,

http://hg.netbeans.org/javafx/rev/a04e677d3bd8
Comment 6 Alexandr Scherbatiy 2010-05-17 08:25:55 UTC
verified in NetBeans-JavaFX-Soma: #253