Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      RI Viewer
    • Workaround Description:
      Edit Swing controller and comment out PrintHelper null pointer check in ShowPrintSetupDailog and initializePrinting dialogs.

      Description

      The Swing controller will though a null pointer when opening a second document for printing.

      1. Open a document, print it
      2. Close the first document
      3. Open a second document, print it.
      4. a null pointer will result.

        Activity

        Hide
        Patrick Corless added a comment -

        The SwingController was lazy loading the PrintHelper object and thus only setting up the reference to the pageTree of the first document loaded and not for any subsequent documents. I've updated the SwingController to make sure it creates a new instance of the printHelper when a new document is loaded.

        Show
        Patrick Corless added a comment - The SwingController was lazy loading the PrintHelper object and thus only setting up the reference to the pageTree of the first document loaded and not for any subsequent documents. I've updated the SwingController to make sure it creates a new instance of the printHelper when a new document is loaded.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: