Skip to content

card value entry issue when attempting to add card. #25

@eoinzys

Description

@eoinzys

In the swing application in "add cards" option when attempting to enter "card value" into the relevant text field, and while all other text fields contain data, An invalid input warning appears and an exception is created. this occurs in the cardDetailsPanel.java class. and seems to occur regardless of the vale entered into the text field. for example i entered "2" , "2.00" and "$200" with the same result. Part of the stack trace is show below

Nov 25, 2013 9:32:54 PM bbct.swing.gui.AddCardsPanel$1 actionPerformed
INFO: Invalid input
bbct.common.exceptions.InputException: Please enter a card brand.
at bbct.swing.gui.CardDetailsPanel.getBaseballCard(CardDetailsPanel.java:136)
at bbct.swing.gui.AddCardsPanel$1.actionPerformed(AddCardsPanel.java:79)
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$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions