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 151866

Summary: Preview does not work with Mobile platform
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: Oleg Barbashov <obarbashov>
Status: VERIFIED FIXED    
Severity: blocker Keywords: RELNOTE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexandr Scherbatiy 2008-10-30 14:35:42 UTC
JavaFX_NB_Plugin_NB65_promoted_installer: #21 30-Oct-2008 03:39:53

  Product Version         = NetBeans IDE 6.5 RC2 (Build 200810270001)
  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.

Steps to reproduce:

- Create a JavaFX Script project 
- Go to the project properties
- Select Run->Run in Mobile Emulator
- Enable Preview
  Empty Preview starts

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.javafx.preview.CodeUtils.run(CodeUtils.java:172)
        at org.netbeans.modules.javafx.preview.CodeUtils.run(CodeUtils.java:157)
        at org.netbeans.modules.javafx.preview.CodeUtils.run(CodeUtils.java:105)
        at org.netbeans.modules.javafx.preview.Preview$PreviewSideServer.body(Preview.java:381)
        at org.netbeans.modules.javafx.preview.Preview$PreviewSideServer$5.run(Preview.java:463)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
        at javafxapplication14.Main.javafx$run$(Main.fx:18)
        ... 17 more
Comment 1 Oleg Barbashov 2008-11-07 15:43:21 UTC
Disabled with appropriate message box.
Comment 2 Adam Sotona 2009-01-06 15:00:33 UTC
preview does not support Mobile platform
Comment 3 Alexandr Scherbatiy 2009-01-20 11:31:53 UTC
verified