Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-783

contrib:Tree fails with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0
    • 4.0
    • Contrib
    • None
    • 4.0-beta-13

    Description

      Bleh! contrib:Tree is a "dump" component; the original author, TsV, dumped it on Tapestry and took off with no code or external documentation.

      It currently blows up:

      1. org.apache.hivemind.util.Defense.notNull(Defense.java:41)
      2. org.apache.tapestry.asset.PrivateAsset.<init>(PrivateAsset.java:55)
      3. org.apache.tapestry.asset.PrivateAsset.<init>(PrivateAsset.java:47)
      4. org.apache.tapestry.workbench.tree.examples.fsmodel.AssetsHolder.getAssetForCloseNode(AssetsHolder.java:61)
      5. org.apache.tapestry.workbench.tree.examples.fsmodel.NodeRenderFactory$CFileSystemRender.getAsset(NodeRenderFactory.java:104)
      6. org.apache.tapestry.workbench.tree.examples.fsmodel.NodeRenderFactory$CFileSystemRender.render(NodeRenderFactory.java:81)
      7. org.apache.tapestry.components.Delegator.renderComponent(Delegator.java:44)
      8. org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
      9. org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)
      10. org.apache.tapestry.link.DefaultLinkRenderer.renderLink(DefaultLinkRenderer.java:81)
      11. org.apache.tapestry.link.AbstractLinkComponent.renderComponent(AbstractLinkComponent.java:95)
      12. org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
      13. org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)
      14. org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:86)
      15. org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
      16. org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)
      17. org.apache.tapestry.components.Any.renderComponent(Any.java:48)
      18. org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
      19. org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: