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

Ensemble throws NullPointerException when trying to display local documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • 8
    • fx2.0
    • javafx
    • None
    • WinXP SP3, JDK7u2b8, JavaFX 2.0 GA

      Open Ensemble
      Use the little toolkit icon to set open a dialog box set a local path to documentation.
      Try to access any documentation link.

      Documentation does not display and the following error trace is shown =>

      ---- FetchDocListTask docsUrl = file:/C:/Program%20Files/Oracle/JavaFX%202.0%20SDK/docs/api/

      java.lang.NullPointerException
      at ensemble.pages.DocPage$DocPane.updateSidebar(DocPage.java:217)
      at ensemble.pages.DocPage$DocPane.access$300(DocPage.java:92)
      at ensemble.pages.DocPage$DocPane$2.invalidated(DocPage.java:184)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyStringWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyStringWrapper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)
      at javafx.beans.property.StringPropertyBase.set(Unknown Source)
      at javafx.scene.web.WebEngine.updateLocation(Unknown Source)
      at javafx.scene.web.WebEngine.access$700(Unknown Source)
      at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(Unknown Source)
      at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(Unknown Source)
      at com.sun.webpane.platform.WebPage.fireLoadEvent(Unknown Source)
      at com.sun.webpane.platform.WebPage.fwkFireLoadEvent(Unknown Source)
      at com.sun.webpane.platform.WebPage.twkOpen(Native Method)
      at com.sun.webpane.platform.WebPage.open(Unknown Source)
      at javafx.scene.web.WebEngine.load(Unknown Source)
      at ensemble.pages.DocPage$DocPane.setDocPage(DocPage.java:200)
      at ensemble.pages.DocPage.createView(DocPage.java:88)
      at ensemble.Ensemble2.goToPage(Ensemble2.java:589)
      at ensemble.Ensemble2.goToPage(Ensemble2.java:571)
      at ensemble.Ensemble2$10.changed(Ensemble2.java:305)
      at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
      at javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
      at javafx.scene.control.SelectionModel.setSelectedItem(Unknown Source)
      at javafx.scene.control.MultipleSelectionModelBase$1.invalidated(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyIntegerWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.IntegerPropertyBase.markInvalid(Unknown Source)
      at javafx.beans.property.IntegerPropertyBase.set(Unknown Source)
      at javafx.scene.control.SelectionModel.setSelectedIndex(Unknown Source)
      at javafx.scene.control.MultipleSelectionModelBase.select(Unknown Source)
      at javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(Unknown Source)
      at com.sun.javafx.scene.control.behavior.TreeCellBehavior.simpleSelect(Unknown Source)
      at com.sun.javafx.scene.control.behavior.TreeCellBehavior.mousePressed(Unknown Source)
      at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
      at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
      at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
      at javafx.event.Event.fireEvent(Unknown Source)
      at javafx.scene.Scene$MouseHandler.process(Unknown Source)
      at javafx.scene.Scene$MouseHandler.process(Unknown Source)
      at javafx.scene.Scene$MouseHandler.access$1200(Unknown Source)
      at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
      at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
      at com.sun.glass.ui.View.notifyMouse(Unknown Source)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
      at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:722)

            dmasada Debra Masada (Inactive)
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: