Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8043610

Sorting columns in JFileChooser fails with AppContext NPE

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • OS:
      windows_7

      Backports

        Description

        When trying to sort columns in JFileChooser in plugin environment the following exception is thrown:

        Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
        at sun.awt.SunToolkit.getSystemEventQueueImpl(Unknown Source)
        at java.awt.Toolkit.getEventQueue(Unknown Source)
        at java.awt.EventQueue.isDispatchThread(Unknown Source)
        at javax.swing.SwingUtilities.isEventDispatchThread(Unknown Source)
        at javax.swing.JComponent.revalidate(Unknown Source)
        at javax.swing.JTable.resizeAndRepaint(Unknown Source)
        at javax.swing.JTable.sortedTableChanged(Unknown Source)
        at javax.swing.JTable.sorterChanged(Unknown Source)
        at javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
        at javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
        at javax.swing.DefaultRowSorter.sort(Unknown Source)
        at sun.swing.FilePane$DetailsTableRowSorter.access$1601(Unknown Source)
        at sun.swing.FilePane$DetailsTableRowSorter$1.call(Unknown Source)
        at sun.swing.FilePane$DetailsTableRowSorter$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pchelko Petr Pchelko (Inactive)
                  Reporter:
                  pchelko Petr Pchelko (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: