java.lang.NullPointerException

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Errors on BEA XML Editor beta for win os

    Oracle Community | 2 decades ago | 3004
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.bea.xmleditor.core.xml.XMLDocument.getCharAt()
    2. com.bea.xmleditor
      XMLTree.convertValueToText
      1. com.bea.xmleditor.core.xml.XMLDocument.getCharAt(XMLDocument.java:258)
      2. com.bea.xmleditor.core.xml.XMLDocumentQuotedText.hasQuoteAt(XMLDocumentQuotedText.java:120)
      3. com.bea.xmleditor.core.xml.XMLDocumentQuotedText.untranslatedText(XMLDocumentQuotedText.java:44)
      4. com.bea.xmleditor.core.xml.XMLDocumentQuotedText.treeDisplayText(XMLDocumentQuotedText.java:188)
      5. com.bea.xmleditor.application.ui.XMLTree.convertValueToText(XMLTree.java:198)
      5 frames
    3. Java RT
      DefaultTreeCellRenderer.getTreeCellRendererComponent
      1. javax.swing.tree.DefaultTreeCellRenderer.getTreeCellRendererComponent(UnknownSource)
      1 frame
    4. com.bea.xmleditor
      XMLTree$TreeNodeRenderer.getTreeCellRendererComponent
      1. com.bea.xmleditor.application.ui.XMLTree$TreeNodeRenderer.getTreeCellRendererComponent(XMLTree.java:273)
      1 frame
    5. Java RT
      JTree.setSelectionPath
      1. javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(UnknownSource)
      2. javax.swing.tree.AbstractLayoutCache.getNodeDimensions(Unknown Source)
      3. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(UnknownSource)
      4. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
      5. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
      6. javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Unknown Source)
      7. javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Unknown Source)
      8. javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(Unknown Source)
      9. javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(UnknownSource)
      10. javax.swing.JTree.fireTreeExpanded(Unknown Source)
      11. javax.swing.JTree.setExpandedState(Unknown Source)
      12. javax.swing.JTree.expandPath(Unknown Source)
      13. javax.swing.JTree.makeVisible(Unknown Source)
      14. javax.swing.plaf.basic.BasicTreeUI$TreeSelectionHandler.valueChanged(UnknownSource)
      15. javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
      16. javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
      17. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
      18. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
      19. javax.swing.JTree.setSelectionPath(Unknown Source)
      19 frames
    6. com.bea.xmleditor
      XMLEditPane.mousePressed
      1. com.bea.xmleditor.application.ui.XMLTree.selectItem(XMLTree.java:229)
      2. com.bea.xmleditor.core.xml.XMLDocument.selectItemInTree(XMLDocument.java:1455)
      3. com.bea.xmleditor.core.xml.XMLDocumentItem.selectInTree(XMLDocumentItem.java:1364)
      4. com.bea.xmleditor.application.ui.XMLEditPane.mousePressed(XMLEditPane.java:340)
      4 frames
    7. Java RT
      EventDispatchThread.run
      1. java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
      2. java.awt.Component.processMouseEvent(Unknown Source)
      3. java.awt.Component.processEvent(Unknown Source)
      4. java.awt.Container.processEvent(Unknown Source)
      5. java.awt.Component.dispatchEventImpl(Unknown Source)
      6. java.awt.Container.dispatchEventImpl(Unknown Source)
      7. java.awt.Component.dispatchEvent(Unknown Source)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      9. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      10. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Window.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.EventQueue.dispatchEvent(Unknown Source)
      15. java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
      16. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      17. java.awt.EventDispatchThread.run(Unknown Source)
      17 frames