ICEpdf
  1. ICEpdf
  2. PDF-453

Viewer RI launcher code not executing on AWT thread.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The Viewer RI periodically will show a lock error when launching related to the message and properties bundle setup. After digging a little deeper the error is the result of the Main classes call to Launhcer.main which builds and launches the Viewer UI on the main thread of instead of the AWT thread.


        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30314 Fri Jul 27 09:50:16 MDT 2012 patrick.corless PDF-453 updated Launcher logic to execute on the awt thread.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/Main.java
        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Added SwingUtilities.invokeLater() to the Main class to insure the Viewer RI UI is build on the AWT thread. This resolves the file lock issue mentioned earlier.

        Show
        Patrick Corless added a comment - Added SwingUtilities.invokeLater() to the Main class to insure the Viewer RI UI is build on the AWT thread. This resolves the file lock issue mentioned earlier.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30767 Mon Sep 10 10:40:13 MDT 2012 patrick.corless PDF-453 updated Launcher logic to execute on the awt thread.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf/core/src/org/icepdf/core/util/ContentParser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: