0 Replies Latest reply: Jan 16, 2013 2:20 AM by 984305 RSS

    Running Ensemble2 from Eclipse throws exception due to bad server config

    984305
      I know you can run the Ensemble sample via it's HTML file but when trying to launch it from Eclipse the following error occurs.

      This path is served up by Oracle and is not present in the javafx-samples-2.2.4 download.

      Just an FYI really :)
      ---- FetchDocListTask  docsUrl = http://download.oracle.com/javafx/2/api/
      java.io.FileNotFoundException: /BUILD_AREA/HUDSON/builds2/workspace/2.2.4/label/linux-i586-14/apps/ga-samples/Ensemble/src/ensemble/samples/graphics3d/AudioVisualizerSample.java (No such file or directory)
           at java.io.FileInputStream.open(Native Method)
           at java.io.FileInputStream.<init>(FileInputStream.java:138)
           at java.io.FileInputStream.<init>(FileInputStream.java:97)
           at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
           at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
           at java.net.URL.openStream(URL.java:1037)
           at ensemble.pages.SamplePage.<init>(SamplePage.java:96)
           at ensemble.SampleHelper.findAllSamples(SampleHelper.java:180)
           at ensemble.SampleHelper.getSamples(SampleHelper.java:74)
           at ensemble.Pages.parseSamples(Pages.java:66)
           at ensemble.Ensemble2.start(Ensemble2.java:287)
           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.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
           at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
           at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
           at java.lang.Thread.run(Thread.java:722)
      Exception in Application start method
      Exception in thread "main" 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 ensemble.pages.SamplePage.<init>(SamplePage.java:117)
           at ensemble.SampleHelper.findAllSamples(SampleHelper.java:180)
           at ensemble.SampleHelper.getSamples(SampleHelper.java:74)
           at ensemble.Pages.parseSamples(Pages.java:66)
           at ensemble.Ensemble2.start(Ensemble2.java:287)
           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.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
           at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
           at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
           ... 1 more