Peter Orolin created FOP-2237:

             Summary: Zoom in "preview screen" should cause NullPointerException
                 Key: FOP-2237
             Project: Fop
          Issue Type: Bug
          Components: awt renderer
    Affects Versions: trunk
         Environment: Operating System: Windows
Platform: PC
            Reporter: Peter Orolin

[PATCH]Zoom in "preview screen" should cause NullPointerException, because of 
incorrect use of synchronized in  class 

Method PreviewPanel.reload() is synchronized, but it creates new Thread, which 
is not under synchronized control. Sometimes, when it is later run method 
PreviewPanel.showPage(), it finishes with NullPointerException (array 
pagePanels is initialized, but objects in the array not -- see statement pagePanels[pg - firstPage].setPage(pg);)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

Reply via email to