SourceForge has been redesigned. Learn more.
Close

#756 (SWT)ChartComposite doesn't check for null charts

1.0.x
closed
General (896)
5
2007-05-19
2007-05-15
zapo
No

When you use a null chart the ChartComposite just shows a grey rectangle. To solve this:

line 481:
++org.eclipse.core.runtime.Assert.isNotNull(p);

Discussion

  • Henry Proudhon

    Henry Proudhon - 2007-05-16
    • assigned_to: nobody --> nenry
     
  • Henry Proudhon

    Henry Proudhon - 2007-05-19
    • status: open --> closed
     
  • Henry Proudhon

    Henry Proudhon - 2007-05-19

    Logged In: YES
    user_id=1379312
    Originator: NO

    For me a NPE is thrown, stopping the program.
    We now check for null charts and just return in that case so we have the same behavior as the ChartPanel class.

     

Log in to post a comment.