Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#102 Buy Stock Drop Down Blank

open-fixed
yccheok
portfolio (10)
7
2011-07-06
2011-06-23
Anonymous
No

Expected and Previous Behaviour: Starting to type a stock into the 'Buy Stock' on 'Portfolio Management' tab should begin listing available stocks in the drop down.

Actual Experienced Behaviour: Suddenly the expected behaviour no longer functions and the drop down list is blank. This makes it not possible to find and select stocks to buy. I have checked I am 'connected' and Country is set to UK. I attach a screenshot of this issue in which I am trying to add 'buy stocks' in BT GROUP Plc as an example, and nothing is available from the drop down. This is the same no matter which stock I'm looking for.

Discussion


  • Anonymous
    2011-06-23

    Shows blank drop down when trying to buy stocks in portfolio management

     
    Attachments

  • Anonymous
    2011-06-26

    Error Log:

    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at org.yccheok.jstock.gui.Utils.getScrollBarWidth(Utils.java:179)
    at org.yccheok.jstock.gui.Utils.adjustPopupWidth(Utils.java:159)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$1.popupMenuWillBecomeVisible(AutoCompleteJComboBox.java:103)
    at javax.swing.JComboBox.firePopupMenuWillBecomeVisible(Unknown Source)
    at javax.swing.plaf.basic.BasicComboPopup.show(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(Unknown Source)
    at javax.swing.JComboBox.setPopupVisible(Unknown Source)
    at javax.swing.JComboBox.showPopup(Unknown Source)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3._handle(AutoCompleteJComboBox.java:270)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3.access$900(AutoCompleteJComboBox.java:174)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3$1.run(AutoCompleteJComboBox.java:309)
    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(UnknownSource)
    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.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.showNewBuyTransactionJDialog(PortfolioManagementJPanel.java:792)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.jButton1ActionPerformed(PortfolioManagementJPanel.java:276)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.access$600(PortfolioManagementJPanel.java:74)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel$4.actionPerformed(PortfolioManagementJPanel.java:235)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.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)

     

  • Anonymous
    2011-06-26

    • priority: 5 --> 7
    • assigned_to: nobody --> yccheok
     

  • Anonymous
    2011-06-26

    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at org.yccheok.jstock.gui.Utils.getScrollBarWidth(Utils.java:179)
    at org.yccheok.jstock.gui.Utils.adjustPopupWidth(Utils.java:159)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$1.popupMenuWillBecomeVisible(AutoCompleteJComboBox.java:103)
    at javax.swing.JComboBox.firePopupMenuWillBecomeVisible(Unknown Source)
    at javax.swing.plaf.basic.BasicComboPopup.show(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(Unknown Source)
    at javax.swing.JComboBox.setPopupVisible(Unknown Source)
    at javax.swing.JComboBox.showPopup(Unknown Source)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3._handle(AutoCompleteJComboBox.java:270)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3.access$900(AutoCompleteJComboBox.java:174)
    at org.yccheok.jstock.gui.AutoCompleteJComboBox$3$1.run(AutoCompleteJComboBox.java:309)
    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(UnknownSource)
    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.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.showNewBuyTransactionJDialog(PortfolioManagementJPanel.java:792)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.jButton1ActionPerformed(PortfolioManagementJPanel.java:276)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel.access$600(PortfolioManagementJPanel.java:74)
    at org.yccheok.jstock.gui.PortfolioManagementJPanel$4.actionPerformed(PortfolioManagementJPanel.java:235)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.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)

     
  • yccheok
    yccheok
    2011-07-06

    This is being fixed in JStock 1.0.6c

     
  • yccheok
    yccheok
    2011-07-06

    • status: open --> open-fixed