Ticket #25 (new defect)

Opened 2 years ago

Last modified 2 years ago

BZ20: Exception if doing query with null FuzzyDate

Reported by: harri Owned by: harri
Priority: major Milestone:
Component: fuzzytime Version:
Keywords: Cc:
Test Case Result:

Description

If a null FuzzyDate? is set as a query parameter an exception is thrown:

java.lang.NullPointerException
        at imginfo.QueryFuzzyTimeCriteria.setupQuery(QueryFuzzyTimeCriteria.java:68)
        at imginfo.PhotoQuery.query(PhotoQuery.java:139)
        at imginfo.PhotoQuery.getPhotoCount(PhotoQuery.java:195)
        at
photovault.swingui.PhotoCollectionThumbView.refreshPhotoChangeListeners(PhotoCollectionThumbView.java:114)
        at
photovault.swingui.PhotoCollectionThumbView.photoCollectionChanged(PhotoCollectionThumbView.java:479)
        at imginfo.PhotoQuery.notifyListeners(PhotoQuery.java:245)
        at imginfo.PhotoQuery.modified(PhotoQuery.java:237)
        at imginfo.PhotoQuery.setFuzzyDateCriteria(PhotoQuery.java:84)
        at photovault.swingui.QueryPane.updateQuery(QueryPane.java:135)
        at photovault.swingui.QueryPane.actionPerformed(QueryPane.java:77)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Change History

Changed 2 years ago by harri

  • component changed from imginfo to fuzzytime
Note: See TracTickets for help on using tickets.