Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8105704

Win: JavaFX 1.1 b01: Many Samples have InvocationTargetException when they are run in NetBeans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • fx1.1
    • fx1.1
    • javafx
    • JavaFX 1.1 b01, NB #25, Windows Vista

      When compile and run samples in NetBeans IDE, many sample have the following execptions (ie, DisplayShelf, PathAnimation, PhotoEffects, PhotoFlip, etc)

      Here are the output from Netbeans IDE:
      ============================================
      private.check:
      init:
      deps-jar:
      C:\javafx_samples\DisplayShelf\src\displayshelf\Main.fx:24: warning: Illegal forward reference: variable dragRect might not have been initialized.
             dragRect,
      1 warning
      compile:
      jar:
      standard-run:
      Error instantiating com.sun.scenario.effect.impl.hw.d3d.D3DRenderer:
      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.scenario.effect.impl.hw.HWRenderer.createRenderer(HWRenderer.java:256)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
             at java.lang.reflect.Method.invoke(Unknown Source)
             at com.sun.scenario.effect.impl.Renderer.createHWRenderer(Renderer.java:216)
             at com.sun.scenario.effect.impl.Renderer.getRenderer(Renderer.java:328)
             at com.sun.scenario.effect.Effect.getCompatibleImage(Effect.java:512)
             at com.sun.scenario.scenegraph.NodeEffectInput.getImageDataForNode(NodeEffectInput.java:141)
             at com.sun.scenario.scenegraph.NodeEffectInput.filter(NodeEffectInput.java:97)
             at com.sun.scenario.effect.PerspectiveTransform.filter(PerspectiveTransform.java:197)
             at com.sun.scenario.effect.Effect.render(Effect.java:219)
             at com.sun.scenario.scenegraph.SGEffect.render(SGEffect.java:137)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:284)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:284)
             at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:122)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:222)
             at com.sun.scenario.scenegraph.JSGPanel.paintComponent(JSGPanel.java:582)
             at javax.swing.JComponent.paint(Unknown Source)
             at javax.swing.JComponent.paintChildren(Unknown Source)
             at javax.swing.JComponent.paint(Unknown Source)
             at javax.swing.JLayeredPane.paint(Unknown Source)
             at javax.swing.JComponent.paintChildren(Unknown Source)
             at javax.swing.JComponent.paint(Unknown Source)
             at javax.swing.JComponent.paintToOffscreen(Unknown Source)
             at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
             at javax.swing.RepaintManager.paint(Unknown Source)
             at javax.swing.JComponent._paintImmediately(Unknown Source)
             at javax.swing.JComponent.paintImmediately(Unknown Source)
             at javax.swing.JComponent.paintImmediately(Unknown Source)
             at com.sun.scenario.scenegraph.JSGPanel.repaintDirtyRegions(JSGPanel.java:634)
             at com.sun.scenario.scenegraph.JSGPanelRepainter.repaintAll(JSGPanelRepainter.java:106)
             at com.sun.scenario.scenegraph.JSGPanelRepainter$FrameDisplay.run(JSGPanelRepainter.java:112)
             at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:365)
             at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:247)
             at com.sun.embeddedswing.EmbeddedEventQueue.doPulse(EmbeddedEventQueue.java:470)
             at com.sun.embeddedswing.EmbeddedEventQueue.access$000(EmbeddedEventQueue.java:72)
             at com.sun.embeddedswing.EmbeddedEventQueue$2.run(EmbeddedEventQueue.java:377)
             at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
             at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
             at java.util.concurrent.FutureTask.run(Unknown Source)
             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.IllegalStateException: Error initializing D3DRenderer
             at com.sun.scenario.effect.impl.hw.d3d.D3DRenderer.<init>(D3DRenderer.java:80)
             ... 64 more
      browser-run:
      jws-run:
      midp-run:
      run:
      BUILD SUCCESSFUL (total time: 7 seconds)

            tdv Dmitri Trembovetski (Inactive)
            mhuangsunw Melinda Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: