ICEpdf
  1. ICEpdf
  2. PDF-1281

NullPointerException in TextSelectionViewHandler

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3.2
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Windows 10
      Java 8

      Description

      - Start the IcePdfViewer Reference Implementation
      - Open a document
      - Select the Text Selection tool
      - Right click-and-hold on the document and move the mouse
      ==> NullPointerException at org.icepdf.ri.common.tools.TextSelectionViewHandler.mouseDragged(Unknown Source)


      It is crucial not to do a left click before the right click!

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52815 Wed Nov 28 20:51:39 MST 2018 patrick.corless PDF-1281 added check to make sure we are actually in a selection state
                               when dragging the mouse in text selection mode. Added check for
                               malformed PDF pagetree.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/PageTree.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/text/WordText.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: