Menu

#187 NPE when creating new account

closed
5
2011-09-06
2011-09-03
No

java.lang.NullPointerException
at jgnash.ui.account.ExpandingAccountTableModel.getValueAt(ExpandingAccountTableModel.java:352)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at jgnash.ui.account.ExpandingAccountTablePane$ExpandingTable.prepareRenderer(ExpandingAccountTablePane.java:276)
at org.pushingpixels.substance.internal.ui.SubstanceTableUI.paintCell(SubstanceTableUI.java:1004)
at org.pushingpixels.substance.internal.ui.SubstanceTableUI.paintCells(SubstanceTableUI.java:892)
at org.pushingpixels.substance.internal.ui.SubstanceTableUI.paint(SubstanceTableUI.java:736)
at org.pushingpixels.substance.internal.ui.SubstanceTableUI.__org__pushingpixels__substance__internal__ui__SubstanceTableUI__update(SubstanceTableUI.java:2485)
at org.pushingpixels.substance.internal.ui.SubstanceTableUI.update(SubstanceTableUI.java)
at org.pushingpixels.substance.swingx.SubstanceTableUI.__org__pushingpixels__substance__swingx__SubstanceTableUI__update(SubstanceTableUI.java)
at org.pushingpixels.substance.swingx.SubstanceTableUI.update(SubstanceTableUI.java)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at org.jdesktop.swingx.JXPanel.paint(JXPanel.java:489)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at org.jdesktop.jxlayer.JXLayer.paint(Unknown Source)
at org.jdesktop.jxlayer.plaf.ext.LockableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at org.jdesktop.jxlayer.JXLayer.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
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.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.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.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at org.jdesktop.swingx.ForwardingRepaintManager.paintDirtyRegions(ForwardingRepaintManager.java:168)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)

Discussion

  • Peter Butkovic

    Peter Butkovic - 2011-09-03

    I get it with 2.5.1 version

     
  • Craig Cavanaugh

    Craig Cavanaugh - 2011-09-04

    Not able to reproduce, but have added some code to detect and prevent a NPE while logging it.

     
  • Craig Cavanaugh

    Craig Cavanaugh - 2011-09-04
    • assigned_to: nobody --> ccavanaugh
    • milestone: --> Affects_only_jGnash_2.x
    • labels: --> User Interface
    • status: open --> pending
     
  • Peter Butkovic

    Peter Butkovic - 2011-09-04
    • status: pending --> open
     
  • Peter Butkovic

    Peter Butkovic - 2011-09-04

    not reproducible with the latest SVN version, should be closed probably

     
  • Peter Butkovic

    Peter Butkovic - 2011-09-06
    • status: open --> closed
     

Log in to post a comment.