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 222450 - javafx jdk7 piechart setLabelsVisible
Summary: javafx jdk7 piechart setLabelsVisible
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.3
Hardware: PC All
: P1 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 08:59 UTC by sonictwb
Modified: 2012-11-21 07:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (129.74 KB, text/plain)
2012-11-20 08:59 UTC, sonictwb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sonictwb 2012-11-20 08:59:35 UTC
when I call PieChart.setLabelsVisible(false), throw this exception.
but when I run it in webstart , it's OK.
I have tried with netbeans 7.2 ,7.3 beta2

Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Windows 2003 version 5.2 running on x86
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) Client VM 23.5-b02
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.javafx.main.Main.launchApp(Main.java:642)
	at com.javafx.main.Main.main(Main.java:805)
Caused by: java.lang.RuntimeException: Exception in Application start method
	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:403)
	at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
	at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
	at javafx.scene.chart.PieChart.layoutChartChildren(PieChart.java:548)
	at javafx.scene.chart.Chart$1.layoutChildren(Chart.java:84)
	at javafx.scene.Parent.layout(Parent.java:1018)
	at javafx.scene.Parent.layout(Parent.java:1028)
	at javafx.scene.Parent.layout(Parent.java:1028)
	at javafx.scene.Scene.layoutDirtyRoots(Scene.java:513)
	at javafx.scene.Scene.doLayoutPass(Scene.java:484)
	at javafx.scene.Scene.preferredSize(Scene.java:1485)
	at javafx.scene.Scene.impl_preferredSize(Scene.java:1512)
	at javafx.stage.Window$10.invalidated(Window.java:719)
	at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:127)
	at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
	at javafx.stage.Window.setShowing(Window.java:782)
	at javafx.stage.Window.show(Window.java:797)
	at javafx.stage.Stage.show(Stage.java:229)
	at Javafxpie.start(Javafxpie.java:66)
	at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
	at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:206)
	at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
	at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
	... 1 more
Java Result: 1
Comment 1 sonictwb 2012-11-20 08:59:53 UTC
Created attachment 128115 [details]
IDE log
Comment 2 Marian Mirilovic 2012-11-21 07:26:41 UTC
please report this problem directly against JavaFX, it isn't an issue of support in the IDE