Hello,
I installed Netbeans 8.0 a couple of days ago and when I now run a GUI program that checks the tabPane selection model whether it is empty and if yes creates a new tab (own tab class derived from javafx.scene.tab) the GUI creates two tabs at a time and throws the following exception:
java.lang.NullPointerException
at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin.access$302(TabPaneSkin.java:1040)
at com.sun.javafx.scene.control.skin.TabPaneSkin.removeTab(TabPaneSkin.java:386)
at com.sun.javafx.scene.control.skin.TabPaneSkin.handleClosedTab(TabPaneSkin.java:267)
at com.sun.javafx.scene.control.skin.TabPaneSkin.access$400(TabPaneSkin.java:93)
at com.sun.javafx.scene.control.skin.TabPaneSkin$3.handle(TabPaneSkin.java:254)
at com.sun.javafx.scene.control.skin.TabPaneSkin$3.handle(TabPaneSkin.java:252)
at com.sun.scenario.animation.shared.TimelineClipCore.visitKeyFrame(TimelineClipCore.java:231)
at com.sun.scenario.animation.shared.TimelineClipCore.playTo(TimelineClipCore.java:172)
at javafx.animation.Timeline.impl_playTo(Timeline.java:161)
at javafx.animation.AnimationAccessorImpl.playTo(AnimationAccessorImpl.java:39)
at com.sun.scenario.animation.shared.SingleLoopClipEnvelope.timePulse(SingleLoopClipEnvelope.java:99)
at javafx.animation.Animation.impl_timePulse(Animation.java:1104)
at javafx.animation.Animation$1$1.run(Animation.java:187)
at javafx.animation.Animation$1$1.run(Animation.java:185)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.animation.Animation$1.timePulse(Animation.java:185)
at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:346)
at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:269)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:475)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:327)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
at java.lang.Thread.run(Thread.java:744)
Both tabs are marked and the program obviously regards them as one.
Please correct this bug and provide a patch.
Thank you!
Best regards,
Alexander Boesel
I installed Netbeans 8.0 a couple of days ago and when I now run a GUI program that checks the tabPane selection model whether it is empty and if yes creates a new tab (own tab class derived from javafx.scene.tab) the GUI creates two tabs at a time and throws the following exception:
java.lang.NullPointerException
at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin.access$302(TabPaneSkin.java:1040)
at com.sun.javafx.scene.control.skin.TabPaneSkin.removeTab(TabPaneSkin.java:386)
at com.sun.javafx.scene.control.skin.TabPaneSkin.handleClosedTab(TabPaneSkin.java:267)
at com.sun.javafx.scene.control.skin.TabPaneSkin.access$400(TabPaneSkin.java:93)
at com.sun.javafx.scene.control.skin.TabPaneSkin$3.handle(TabPaneSkin.java:254)
at com.sun.javafx.scene.control.skin.TabPaneSkin$3.handle(TabPaneSkin.java:252)
at com.sun.scenario.animation.shared.TimelineClipCore.visitKeyFrame(TimelineClipCore.java:231)
at com.sun.scenario.animation.shared.TimelineClipCore.playTo(TimelineClipCore.java:172)
at javafx.animation.Timeline.impl_playTo(Timeline.java:161)
at javafx.animation.AnimationAccessorImpl.playTo(AnimationAccessorImpl.java:39)
at com.sun.scenario.animation.shared.SingleLoopClipEnvelope.timePulse(SingleLoopClipEnvelope.java:99)
at javafx.animation.Animation.impl_timePulse(Animation.java:1104)
at javafx.animation.Animation$1$1.run(Animation.java:187)
at javafx.animation.Animation$1$1.run(Animation.java:185)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.animation.Animation$1.timePulse(Animation.java:185)
at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:346)
at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:269)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:475)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:327)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
at java.lang.Thread.run(Thread.java:744)
Both tabs are marked and the program obviously regards them as one.
Please correct this bug and provide a patch.
Thank you!
Best regards,
Alexander Boesel