[jira] [Updated] (FOP-2237) [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause NullPointerException

2013-04-17 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Attachment: patch.diff

 [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause 
 NullPointerException
 ---

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 PreviewPanel.ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2237) [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause NullPointerException

2013-04-17 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Attachment: (was: patch.diff)

 [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause 
 NullPointerException
 ---

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 PreviewPanel.ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Created] (FOP-2237) Zoom in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)
Peter Orolin created FOP-2237:
-

 Summary: Zoom in preview screen should cause NullPointerException
 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/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 
org.apache.fop.render.awt.viewer.PreviewPanel. 

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 
ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2237) [PATCH]Zoom in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Description: 
Zoom in preview screen should cause NullPointerException, because of 
incorrect use of synchronized in  class 
org.apache.fop.render.awt.viewer.PreviewPanel. 

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 
ShowPageImage.run statement pagePanels[pg - firstPage].setPage(pg);)

  was:
[PATCH]Zoom in preview screen should cause NullPointerException, because of 
incorrect use of synchronized in  class 
org.apache.fop.render.awt.viewer.PreviewPanel. 

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 
ShowPageImage.run statement pagePanels[pg - firstPage].setPage(pg);)

Summary: [PATCH]Zoom in preview screen should cause 
NullPointerException  (was: Zoom in preview screen should cause 
NullPointerException)

 [PATCH]Zoom in preview screen should cause NullPointerException
 -

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2237) [PATCH]Zoom in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Attachment: patch.diff

Attachment patch.diff has been added

 [PATCH]Zoom in preview screen should cause NullPointerException
 -

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (FOP-2237) [PATCH]Zoom in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13632668#comment-13632668
 ] 

Peter Orolin edited comment on FOP-2237 at 4/16/13 8:54 AM:


Attachment patch.diff has been added. Concurrent problem was fixed

  was (Author: orol):
Attachment patch.diff has been added
  
 [PATCH]Zoom in preview screen should cause NullPointerException
 -

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2237) [PATCH]Zoom in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Description: 
Zoom in preview screen should cause NullPointerException, because of 
incorrect use of synchronized in  class 
org.apache.fop.render.awt.viewer.PreviewPanel. 

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 
PreviewPanel.ShowPageImage.run statement pagePanels[pg - 
firstPage].setPage(pg);)

  was:
Zoom in preview screen should cause NullPointerException, because of 
incorrect use of synchronized in  class 
org.apache.fop.render.awt.viewer.PreviewPanel. 

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 
ShowPageImage.run statement pagePanels[pg - firstPage].setPage(pg);)


 [PATCH]Zoom in preview screen should cause NullPointerException
 -

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 PreviewPanel.ShowPageImage.run 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: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2237) [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause NullPointerException

2013-04-16 Thread Peter Orolin (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Orolin updated FOP-2237:
--

Summary: [PATCH]Clicking zoom-in or zoom-out buttons in preview screen 
should cause NullPointerException  (was: [PATCH]Zoom in preview screen should 
cause NullPointerException)

 [PATCH]Clicking zoom-in or zoom-out buttons in preview screen should cause 
 NullPointerException
 ---

 Key: FOP-2237
 URL: https://issues.apache.org/jira/browse/FOP-2237
 Project: Fop
  Issue Type: Bug
  Components: awt renderer
Affects Versions: trunk
 Environment: Operating System: Windows
 Platform: PC
Reporter: Peter Orolin
  Labels: patch
 Attachments: patch.diff

   Original Estimate: 3h
  Remaining Estimate: 3h

 Zoom in preview screen should cause NullPointerException, because of 
 incorrect use of synchronized in  class 
 org.apache.fop.render.awt.viewer.PreviewPanel. 
 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 
 PreviewPanel.ShowPageImage.run 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: http://www.atlassian.com/software/jira