Donate Share

jVSTwRapper

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

JavaFX JayDLay Example problems

You are viewing a single message from this topic. View all messages.

  1. 2009-05-28 22:43:07 UTC
    Hi Daniel, I'm excited about the JavaFX GUI possibility for jVSTwRapper based plugins, but after building in NetBeans6.5.1 when I try to execute your example for JayDLay, The UI will not open, and I get the following in the jVSTeXamples_java_stdout.txt (copied below):

    Any idea what the problem is?

    Also, BTW to get this to run in VSTHost, in the jVSTeXamples.ini I had to:

    - in ClassPath: add the JavaFXExamples.jar instead of the SystemClassPath as in your jvstwrapper.ini example in the NetBeans project.

    - in PluginUIClass:
    I also changed to use the FXDelayGUIDelegator
    instead of FXDemoGUIDelegator, but JavaFX GUI would still not run.

    -------
    registering native Library 'C:\Program Files\Steinberg\VstPlugins\jVSTeXamples.dll'
    Construktor JayDLay() START!
    Construktor JayDLay() INVOKED!
    getNumPrograms
    getNumParams
    canDo: bypass = -1
    canDo: receiveVstMidiEvent = -1
    resuming...
    canDo: receiveVstMidiEvent = -1
    resuming...
    canDo: receiveVstMidiEvent = -1
    getPlugCategory
    getPlugCategory
    Initializing CLASSLOAD Plugin GUI=jvst.examples.javafx.fxdelay.FXDelayGUIDelegator
    BEFORE Initializing Plugin GUI on AWT-Event Thread CLAZZ=class jvst.examples.javafx.fxdelay.FXDelayGUIDelegator constructor=public jvst.examples.javafx.fxdelay.FXDelayGUIDelegator(jvst.wrapper.gui.VSTPluginGUIRunner,jvst.wrapper.VSTPluginAdapter)

    JAVA GUI Plugin intitialised properly!
    JayDLayFXGUIDelegator <init>
    ** ERROR: Fatal error when loading JavaFX GUI: com.sun.stylesheet.StylesheetException: java.lang.reflect.InvocationTargetException
    com.sun.stylesheet.StylesheetException: java.lang.reflect.InvocationTargetException
    at com.sun.stylesheet.types.TypeManager.getStyleable(TypeManager.java:302)
    at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:253)
    at javafx.scene.Scene.userInit$(Scene.fx:219)
    at jvst.examples.javafx.fxdelay.FXDelayGUI.userInit$(FXDelayGUI.fx:28)
    at jvst.examples.javafx.fxdelay.FXDelayGUI.initialize$(FXDelayGUI.fx:28)
    at jvst.examples.javafx.fxdelay.FXDelayGUI.<init>(FXDelayGUI.fx:28)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at jvst.examples.javafx.fxdelay.FXDelayGUIDelegator.<init>(FXDelayGUIDelegator.java:44)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at jvst.wrapper.gui.VSTPluginGUIRunner$1.run(VSTPluginGUIRunner.java:50)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.sun.stylesheet.types.TypeManager.getStyleable(TypeManager.java:287)
    ... 25 more
    Caused by: com.sun.stylesheet.StylesheetException: java.lang.reflect.InvocationTargetException
    at com.sun.stylesheet.types.TypeManager.getStyleSupport(TypeManager.java:348)
    at com.sun.stylesheet.styleable.DefaultStyleable.getStyleSupport(DefaultStyleable.java:131)
    at com.sun.stylesheet.styleable.DefaultStyleable.<init>(DefaultStyleable.java:74)
    ... 30 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.sun.stylesheet.types.TypeManager.getStyleSupport(TypeManager.java:333)
    ... 32 more
    Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: jvst.examples.javafx.fxdelay.FXDelayGUI
    at javafx.reflect.FXLocal$Context.findClass(FXLocal.java:126)
    at javafx.reflect.FXLocal$Context.findClass(FXLocal.java:105)
    at javafx.reflect.FXLocal$Context.findClass(FXLocal.java:59)
    at com.sun.stylesheet.javafx.FXObjectStyleSupport.<init>(FXObjectStyleSupport.java:163)
    ... 37 more
    Caused by: java.lang.ClassNotFoundException: jvst.examples.javafx.fxdelay.FXDelayGUI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at javafx.reflect.FXLocal$Context.findClass(FXLocal.java:114)
    ... 40 more
    Plugin GUI was initialized on Event Thread! GUI=jvst.examples.javafx.fxdelay.FXDelayGUIDelegator[frame0,0,0,290x100,invalid,hidden,layout=java.awt.BorderLayout,title=JayDLayFXGUI,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    about to run method=4 on AWT event thread
    runAndWait=290 OKAY
    about to run method=5 on AWT event thread
    runAndWait=100 OKAY
    about to run method=4 on AWT event thread
    runAndWait=290 OKAY
    about to run method=5 on AWT event thread
    runAndWait=100 OKAY
    about to run method=3 on AWT event thread
    runAndWait=100 OKAY
    about to run method=4 on AWT event thread
    runAndWait=0 OKAY
    about to run method=5 on AWT event thread
    runAndWait=0 OKAY
    about to run method=0 on AWT event thread
    GUI open
    about to run method=4 on AWT event thread
    runAndWait=0 OKAY
    about to run method=5 on AWT event thread
    runAndWait=0 OKAY
    about to run method=4 on AWT event thread
    runAndWait=0 OKAY
    about to run method=5 on AWT event thread
    runAndWait=0 OKAY
    about to run method=4 on AWT event thread
    runAndWait=0 OKAY
    about to run method=5 on AWT event thread
    runAndWait=0 OKAY
    about to run method=1 on AWT event thread
    GUI close
    about to run method=2 on AWT event thread
    GUI destroy
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.