JFtp throws runtime exceptions at uploading

Help
2010-10-07
2013-02-24
  • nagakalyan jitta

    hi,
    i using JFtp appl for ftp and smb.its working good.But it throws below run time exceptions at uploading and downloading time

    1.Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    2. Exception in thread "AWT-EventQueue-1" java.util.NoSuchElementException: Vector Enumeration
    3. Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: 3 >= 1
    and also i find exception file  in JFtp source code ,but can't find solution. So please provide me solution

    File name is:UpdateDaemon.java

    Below details are complete exception details
    Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: 3 >= 1
            at java.util.Vector.elementAt(Vector.java:427)
            at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
            at javax.swing.plaf.basic.BasicTableHeaderUI.paint(BasicTableHeaderUI.java:603)
            at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
            at javax.swing.JComponent.paintComponent(JComponent.java:758)
            at javax.swing.JComponent.paint(JComponent.java:1022)
            at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
            at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
            at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
            at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
            at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
            at javax.swing.JComponent._paintImmediately(JComponent.java:5067)
            at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    Exception in thread "AWT-EventQueue-1" java.util.NoSuchElementException: Vector Enumeration
            at java.util.Vector$1.nextElement(Vector.java:305)
            at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTableHeaderUI.java:749)
            at javax.swing.JComponent.getPreferredSize(JComponent.java:1627)
            at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:78)
            at java.awt.Container.preferredSize(Container.java:1616)
            at java.awt.Container.getPreferredSize(Container.java:1601)
            at javax.swing.JComponent.getPreferredSize(JComponent.java:1629)
            at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:702)
            at java.awt.Container.layout(Container.java:1432)
            at java.awt.Container.doLayout(Container.java:1421)
            at java.awt.Container.validateTree(Container.java:1519)
            at java.awt.Container.validate(Container.java:1491)
            at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:639)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:127)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

     
  • Cyberdemon

    Cyberdemon - 2011-08-31

    Should be fixed in 1.54.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks